Commit Graph

4669 Commits

Author SHA1 Message Date
Victor Stinner d064882d16 PEP 433: reformat to 70 columns 2013-01-13 01:30:02 +01:00
Victor Stinner a58a370ff5 PEP 433: cleanup, complete, reorganize 2013-01-13 00:04:29 +01:00
Victor Stinner 81f79a9a15 Add a new PEP: 333: Add cloexec argument to functions creating file descriptors 2013-01-12 21:15:11 +01:00
Nick Coghlan 62c62e8b65 Updates based on implementation progress 2013-01-13 00:48:28 +10:00
Georg Brandl 841f5a673f Closes #16916: clarify "slicing equivalent to extended unpacking" example: the latter always creates a list. 2013-01-11 19:08:14 +01:00
Guido van Rossum 0bc0664520 Specify wait() and as_completed() with less reliance on PEP 3148. 2013-01-09 17:07:40 -08:00
Guido van Rossum ab6fdfc85f Spec out Future better. 2013-01-09 11:58:51 -08:00
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