Commit Graph

4662 Commits

Author SHA1 Message Date
Guido van Rossum b7ec592492 Allow Handlers as callbacks. Add EventLoop.close(). 2013-01-08 19:39:28 -08:00
Guido van Rossum b9c08eaf8f Instead of init_event_loop(), define new_event_loop(). 2013-01-08 15:45:25 -08:00
Guido van Rossum 9dd10fc3c8 Specify signal handling API. 2013-01-08 11:21:53 -08:00
Guido van Rossum 226073c0f3 Merge 2013-01-06 17:28:08 -08:00
Guido van Rossum 9ec99caeb0 Add some references. 2013-01-06 17:27:43 -08:00
Nick Coghlan 9414577c18 Clarify PEP 369 withdrawal notice 2013-01-06 22:29:09 +10:00
Nick Coghlan ddd917a0b9 Correctly mark PEP 369 as Withdrawn (not Rejected) 2013-01-06 22:18:28 +10:00
Nick Coghlan 3cedb64b57 Updates in response to Barry Warsaw's feedback 2013-01-06 17:22:45 +10:00
Guido van Rossum 903ee84c82 Open issues: signals, timeouts. Reminder: factories can be partial funcs. 2013-01-05 15:32:00 -08:00
Guido van Rossum 65c857530b Merge. 2013-01-04 16:06:11 -08:00
Guido van Rossum c8d7d9afd0 Augment section on datagrams a little. 2013-01-04 15:58:48 -08:00
Ezio Melotti b5b2b3f196 #16835: update PEP 399 idiom to make it compatible with unittest test discovery. 2013-01-04 22:23:50 +02:00
Guido van Rossum facc0c00cc Clarify description of wait(). 2013-01-04 10:35:19 -08:00
Nick Coghlan 14a51c65dd Major PEP 432 update
- rename the phases
- switch from a config dict to a struct
- flesh out the full list of config settings
- subinterpreters require full initialisation
- query API to see if __main__ is running
- add a section on open questions
2013-01-02 21:25:24 +10:00
Ezio Melotti 6da2f88af0 Fix grammar, whitespace, and a couple of semantic mistakes (#16818). 2013-01-02 03:30:04 +02:00
Ezio Melotti 924049ca71 Fix typos. 2013-01-02 03:10:54 +02:00
Nick Coghlan 27cfb6131a Claim the packaging PEPs (and strip trailing whitespace) 2013-01-01 01:45:03 +10:00
Nick Coghlan 0a717addf7 Add short example of using the new API 2012-12-31 01:49:02 +10:00
Nick Coghlan 501328b348 Allow future-proof initialisation of Py_CoreConfig 2012-12-31 01:32:51 +10:00
Nick Coghlan 83572a19ee PEP 432 syntax fix 2012-12-31 01:12:03 +10:00
Nick Coghlan 4281048f3b Further PEP 432 updates
- describe all 4 proposed initialisation phases
- more detailed interface for hash seed handling
- move ignore environment flag into core config
- consistently use American spelling of initialize
- preliminary concept for main execution API
- misc notes on status quo
2012-12-30 23:39:20 +10:00
Nick Coghlan 1be4a026ed More PEP 432 updates
- avoid "-m site" when describing how to explore sys.path
- provide example startup times for 2.7, 3.2 and 3.3 on my system
- misc notes on things to be documented about the status quo
2012-12-29 18:55:47 +10:00
Antoine Pitrou 3b72e78196 Amend the collapsing the leading slashes to account for the POSIX special case of two leading slashes.
Thanks to Daniel Colascione for noticing.
2012-12-29 01:46:48 +01:00
Nick Coghlan 2e8f456d88 PEP 432 updates in response to initial comments
- explicitly narrow scope to exclude major changes to config storage
- better articulate the specific settings the API needs to handle
- more details on the status quo
- fix some issues with the random hashing description
2012-12-29 03:40:37 +10:00
Nick Coghlan 6c032178b4 Proofread before posting to python-ideas 2012-12-28 01:10:05 +10:00
Nick Coghlan 575cf00896 Additional header info for PEP 342 2012-12-28 00:54:23 +10:00
Nick Coghlan 9b1c04e85e PEP 432: Proposal for taming the startup sequence 2012-12-28 00:41:16 +10:00
Andrew Svetlov f7688406c6 Fix markup warning 2012-12-24 17:30:27 +02:00
Nick Coghlan a116485401 Eliminate some awkward phrasing (noted by Ezio Melloti) 2012-12-22 21:33:26 +10:00
Nick Coghlan 2af18441e8 Further updates to PEP 1 to better reflect current practice
- identify the current PEP editors and clarify their role
- separate out PEP administrative email from design discussion
- reference implementations typically co-evolve with their PEP
- it's OK to get a PEP number before a PEP is ready for python-dev
- eliminate most of the ambiguous 'we' references

(Initial patch by Chris Jerdonek)
2012-12-22 21:30:14 +10:00
Guido van Rossum 85cdc32db3 Remove some vague issues and the wait_one() proposal. 2012-12-21 22:17:35 -08:00
Guido van Rossum c1e111fd11 Replace par() with wait() and as_completed(), 2012-12-21 22:10:48 -08:00
Guido van Rossum 97a7a2a0cd Mark 3153 as superseded by 3156. 2012-12-21 16:52:41 -08:00
Guido van Rossum aaa5fdfc7f Specify start_serving(). Add Post-History. 2012-12-21 11:34:12 -08:00
Guido van Rossum 9bc98293d7 Specify create_transport() signature. 2012-12-20 14:41:31 -08:00
Guido van Rossum 34a462cfe0 Add run_forever(). 2012-12-20 13:48:24 -08:00
Guido van Rossum 7821b363da Add EventEmitter suggestion (Mark Nottingham). 2012-12-20 13:46:36 -08:00
Guido van Rossum 00c86dc74e Choose cancelled. Add/remove connector. Misc small additions. 2012-12-20 09:26:11 -08:00
Guido van Rossum f1881e8a43 Small tweaks and clarifications. 2012-12-19 19:35:42 -08:00
Guido van Rossum 8edbfcfdf1 Add stop(), run_once(), run_until_complete(), call_repeatedly().
Rename DelayedCall to Handler.
2012-12-19 09:59:50 -08:00
Guido van Rossum 209036b898 Strawman proposal for a flexible primitive to wait for one of a set of Futures. 2012-12-18 21:40:17 -08:00
Guido van Rossum 2377e8f715 Add Thunk to the alternatives for DelayedCall. 2012-12-18 11:11:29 -08:00
Guido van Rossum 9a65b16b45 Tweaks. 2012-12-17 16:46:54 -08:00
Guido van Rossum 4833721914 Rename call_later() arg when to delay. 2012-12-17 09:55:32 -08:00
Guido van Rossum 7a660f8674 Add set_default_executor(). 2012-12-16 20:01:54 -08:00
Guido van Rossum a095c0d53b Various small updates. 2012-12-16 14:26:48 -08:00
Antoine Pitrou 497fb136c0 Issue #16501: record the removal of RISC OS support in PEP 11.
RISC OS support was actually partially removed in 3.0 (whether or not a build still worked is not obvious, but unlikely).
2012-12-15 20:48:37 +01:00
Guido van Rossum 2ff63df79d Add TBD about the (un)desirability of optional APIs. 2012-12-14 21:05:22 -08:00
Guido van Rossum 3ed8b354d7 Add TBD about cancellation. 2012-12-14 20:09:48 -08:00
Guido van Rossum 8f1bf85241 Slight wording change suggested by Steve Dower. 2012-12-14 15:49:29 -08:00