summaryrefslogtreecommitdiffstats
path: root/python/t/400-events.py
Commit message (Collapse)AuthorAgeFilesLines
* python: Remove 'del g' from the docs, replace with 'g.close ()'.Richard W.M. Jones2012-04-171-1/+1
| | | | | | | | | 'del g' is a trap for the unwary. If the handle has any other references, it does nothing (in fact, it can be actively dangerous if the user was expecting the appliance to go away). In non-CPython it can be delayed arbitrarily long. Using 'g.close()' on the other hand is always safe.
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* python: Implement new event API.Richard W.M. Jones2011-04-221-0/+58
This implements set_event_callback and delete_event_callback so that Python programs can use the new event mechanism.