Commit Graph

5922 Commits

Author SHA1 Message Date
Yury Selivanov c087f9657f pep-0478: Mention PEP 488 2015-05-21 12:25:38 -04:00
Berker Peksag e597818e47 PEP 489: Tweak code formatting. 2015-05-21 17:10:14 +03:00
Berker Peksag 0751f33dab PEP 489: Improve markup. 2015-05-21 15:58:29 +03:00
Berker Peksag b6eac8846e PEP 489 updates from Petr Viktorin.
- Don't allow execution slots for non-module subclasses
- Remove misleading reason for PyModuleDef_Init
- Clarify that sys.modules is not checked between execution steps
- Add a Backwards Compatibility summary
- Heading level fix, Typo fix
2015-05-21 15:48:38 +03:00
Eric Snow ac7c29c0a1 Set the BDFL-Delegate. 2015-05-20 15:27:54 -06:00
Berker Peksag 5b952e1713 PEP 489 updates from Petr Viktorin.
- Clarify that not all problems with PEP 3121 are solved
- Add a pseudo-code overview
- Clarify that PyModuleDef_Init does very little
- Say that the execution phase isn't done for non-module objects
- Link to docs on support for multiple interpreters
- Reword text about lack of finder for multi-module extensions
- Mention changes in imp and _imp modules
- Remove stale footnote
2015-05-20 14:27:55 +03:00
Benjamin Peterson 9456a3b7c6 move historic schedule to the bottom 2015-05-19 23:29:57 -05:00
Nick Coghlan cf5b1dd94e PEP 493: default to platform default in examples 2015-05-19 23:30:08 +10:00
Nick Coghlan c5e713f2d7 PEP 493: fix typo 2015-05-19 23:17:09 +10:00
Nick Coghlan 4caa876719 PEP 493: Incorporate feedback from Tomas Hoger
Changes based primarily on design feedback received in
https://bugzilla.redhat.com/show_bug.cgi?id=1173041#c21

Some minor issues were pointed out in private email.
2015-05-19 23:02:00 +10:00
Benjamin Peterson aa98275676 update since 2.7.0 was long ago 2015-05-18 21:43:44 -04:00
Yury Selivanov 2caab858f1 pep-492: Few minor fixes. 2015-05-18 13:32:41 -04:00
Berker Peksag fef77a92e3 PEP 489 changes
Summary by Petr Viktorin:

- Reuse the PyInit_* hook, instead of adding PyModuleExport_*;
  add the PyModuleDef_Init helper
- Per-module state is allocated at the beginning of the execute step
- Docstrings & methods from the def are added unconditionally
- Rename PEP to better reflect what it ended up doing
- Mention built-in modules, which get the same changes
- Several rewordings and clarifications
2015-05-18 17:27:02 +03:00
Guido van Rossum cb3a92f81f Properly terminate Emacs variable list at end of PEP 485. 2015-05-17 09:21:53 -07:00
Chris Angelico 95a79e766d Add Resolution header to now-accepted PEP 485 2015-05-18 01:14:55 +10:00
Yury Selivanov 27e9469760 pep-492: Fix 'async with' equivalent code 2015-05-17 11:07:25 -04:00
Benjamin Peterson 9fd81459d0 http -> https 2015-05-17 00:14:10 -04:00
Chris Angelico 2f9f0e42b5 Apply Chris's changes, including an acceptance mark 2015-05-17 12:12:19 +10:00
Raymond Hettinger a87f56f4fb Add a link to an earlier partial review. 2015-05-15 10:25:04 -07:00
Yury Selivanov 017d224b32 pep-0455: Update status. 2015-05-14 22:36:30 -04:00
Yury Selivanov 7f5989e99b pep-492: Mention AsyncIterator and AsyncIterable ABCs. 2015-05-14 22:05:24 -04:00
Yury Selivanov 7396e82840 pep-0492: Add an empty line. 2015-05-13 18:46:07 -04:00
Yury Selivanov a102d98921 pep-0492: Mention new ABC classes. 2015-05-13 18:44:41 -04:00
Yury Selivanov 1afe7c75fc pep-0478: Mention PEP 484 2015-05-13 16:07:26 -04:00
Yury Selivanov a58b01c2e9 pep-0478: Fix markup 2015-05-13 11:38:31 -04:00
Yury Selivanov 20c42ed498 pep-0478: Add PEP 468 2015-05-13 11:04:11 -04:00
Yury Selivanov d49bf3eee4 pep-0478: Add PEP 489 2015-05-13 10:35:47 -04:00
Nick Coghlan 52973f08f9 PEP 493: formatting & wording tweaks 2015-05-13 00:08:31 +10:00
Nick Coghlan 14466c2300 Update PEP 493 based on python-dev discussion 2015-05-12 22:14:44 +10:00
Yury Selivanov dda4b60269 pep-0492: Fix differences from what was committed. 2015-05-11 23:47:11 -04:00
Yury Selivanov cec5cff1c9 pep-0492: Add "Implementation" section. 2015-05-11 23:36:23 -04:00
Yury Selivanov 63afe34273 Update pep-0492 (status: final) & pep-0478. 2015-05-11 23:34:24 -04:00
Yury Selivanov b10d7c650e pep-0475: Mark as Final. 2015-05-11 19:35:14 -04:00
Nick Coghlan f2399fc422 Redistributor recommendations for PEP 476 2015-05-10 15:25:07 +10:00
Yury Selivanov 0a061a8694 Update pep-478. 2015-05-09 12:07:27 -04:00
Yury Selivanov ff8f094454 Update pep-478 and pep-479. 2015-05-09 11:48:43 -04:00
Benjamin Peterson 62971a8dd0 2.7.10 dates 2015-05-08 12:39:35 -04:00
Berker Peksag 9891f4843b PEP 489: Updates from Petr Viktorin.
Summary:

- PyModuleExport -> PyModuleDef (which brings us down to two slot types,
  create & exec)
- Removed "singleton modules"
- Stated that PyModule_Create, PyState_FindModule, PyState_AddModule,
  PyState_RemoveModule will not work on slots-based modules.
- Added a section on C-level callbacks
- Clarified that if PyModuleExport_* returns NULL, it's as if it wasn't
  defined (i.e. falls back to PyInit)
- Added API functions: PyModule_FromDefAndSpec, PyModule_ExecDef
- Added PyModule_AddMethods and PyModule_AddDocstring helpers
- Added PyMODEXPORT_FUNC macro for x-platform declarations of the export
  function
- Added summary of API changes
- Added example code for a backwards-compatible module
- Changed modules ported in the initial implementation to "array" and "xx*"
- Changed ImportErrors to SystemErrors in cases where the module is
  badly written (and to mirror what PyInit does now)
- Several typo fixes and clarifications
2015-05-08 04:58:19 +03:00
Guido van Rossum 532c8f3c4c Discuss issue #105 and a solution. 2015-05-07 08:22:27 -07:00
Berker Peksag 45ba62bd5a PEP 492: Sort headers 2015-05-06 04:51:00 +03:00
Yury Selivanov a67ffe133b pep-0492: Fix "unexpected indentation" error 2015-05-05 20:57:03 -04:00
Yury Selivanov fd385fa647 pep-0492: Update Acknowledgments section. 2015-05-05 20:39:22 -04:00
Yury Selivanov f67dee2882 pep-0478: Mention PEP 0492 in "Accepted PEPs" 2015-05-05 20:25:12 -04:00
Yury Selivanov 0a5d32a4f9 pep-0492: Mark the PEP as Accepted. 2015-05-05 20:23:31 -04:00
Benjamin Peterson dc67a90c11 448 is done 2015-05-05 20:17:53 -04:00
Yury Selivanov 939682f92c pep-0492: Add a clarification on event loop requirement. By Jim J. Jewett. 2015-05-05 18:31:49 -04:00
Yury Selivanov 19e51828c6 pep-0492: Add Discussions-To header field 2015-05-05 12:43:13 -04:00
Yury Selivanov 40aacc6d06 pep-0492: Fix terminology around coroutine object 2015-05-05 12:41:20 -04:00
Yury Selivanov b2658c3f8a pep-0492: Update Post-History 2015-05-05 12:22:54 -04:00
Yury Selivanov 7c481b6e79 pep-0492: We always raise RuntimeWarning for non-awaited coroutines 2015-05-04 23:27:16 -04:00