Message199116
This patch allows the pool initializer function to return the initialized values. The returned values will be passed to the called function as first positional argument.
Previously the common pattern was to store the initialized objects into global variables making the code more difficult to manage.
The patch is not breaking any backward compatibility as the previous initializers were not supposed to return any value, if the initializer does not return anything the behavior is the same as usual. |
|
Date |
User |
Action |
Args |
2013-10-06 20:14:30 | noxdafox | set | recipients:
+ noxdafox |
2013-10-06 20:14:30 | noxdafox | set | messageid: <1381090470.56.0.579888919868.issue19185@psf.upfronthosting.co.za> |
2013-10-06 20:14:30 | noxdafox | link | issue19185 messages |
2013-10-06 20:14:30 | noxdafox | create | |
|