Commit Graph

8017 Commits

Author SHA1 Message Date
Łukasz Langa 17f5a2a20f
[pep-596] Python 3.9 Release Schedule 2019-06-04 23:39:16 +02:00
Łukasz Langa 6e40a18f46
[pep-569] It's no longer a draft if we are at Beta 1 2019-06-04 23:05:24 +02:00
Łukasz Langa 206ff7e375
[pep-569] Add missing vertical identation 2019-06-04 20:32:44 +02:00
Łukasz Langa f501ed82e0
[pep-569] Update Beta 1, Beta 2 schedule 2019-06-04 20:27:13 +02:00
Ned Deily f2ada91bbe Update pep 101 for creating new branches 2019-06-04 08:13:10 -04:00
Julien Palard 1f7272f7e7
Fix: Typo 2019-06-04 11:19:03 +02:00
Mark Mendoza e0a2affe5d Remove additional error from error example (#1097)
The example with `Concrete` and `Template` is supposed to highlight that adding properties to a protocol in the implementation of a method is not supported, and does not add to the required signature of the protocol.
However, this also has the problem of `Concrete` not being a `Template` anyway because it is missing that `method`.
2019-06-03 22:19:48 +01:00
Hugo 5a3ff934c5 PEP 594: Typos, formatting and consistency (#1082)
* Typos, formatting and consistency

* Fix typo and use "nine" instead of "9"

Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>
2019-06-03 03:29:54 -07:00
Ivan Levkivskyi 66f4c95d8e
PEP 526: Add another example of tuple packing (#1096) 2019-06-03 00:39:19 +01:00
Victor Stinner 48499b5ff4 PEP 587: Minor fixes 2019-06-03 00:23:46 +02:00
Victor Stinner a26411994d PEP 587: Accepted 2019-06-03 00:23:17 +02:00
Petr Viktorin 2c0b938124
PEP 534: Postpone to 3.9 (GH-1095)
Alas, we couldn't prioritize this enough for 3.8. It is still on the table, though.
2019-06-02 23:12:06 +02:00
Benjamin Peterson e823d72b2e Use raw string to fix illegal escape SyntaxError. 2019-05-31 12:05:02 -07:00
Benjamin Peterson eb160b69d3 Fix a small grammar problem. 2019-05-31 10:06:10 -07:00
Ezio Melotti b3f4c8eb09
PEP 595: add python-dev feedback and expand the "migration considerations" section. (#1093)
* PEP 595: add feedback from python-dev.

* PEP 595: expand and rewrite the "Migration considerations" section.
2019-05-28 15:22:03 +02:00
Petr Viktorin 744b3518bf
PEP 590: Mark as accepted (GH-1092)
See https://mail.python.org/pipermail/python-dev/2019-May/157753.html
2019-05-28 14:43:53 +02:00
Christian Heimes bc43afa076
PEP-594: add legacycrypt (#1091) 2019-05-28 12:05:00 +02:00
Petr Viktorin 2d9833abd8
PEP 590: Use size_t for "number of arguments + flag" (GH-1066)
Bitwise operations are not well defined on signed values in C.
2019-05-28 11:34:02 +02:00
Petr Viktorin 8363d1f06c
PEP 590: Mark the main API as private to allow changes in Python 3.9 (GH-1064) 2019-05-28 11:11:03 +02:00
Christian Heimes 8470f2039f
PEP 594: Update 2 (#1090)
* PEP 594: deprecate telnetlib
* PEP 594: Deprecate email compat32 APIs
* Add 'added in' years to table
* Reference other PEPs, update sections for cgi and audio mods
* Fix typo and table entries (thanks Jelle and Brett)
2019-05-28 07:51:25 +02:00
Antoine Pitrou a9e0d3cbd1
PEP 574: Mark final (GH-1089) 2019-05-27 20:37:14 +02:00
Ivan Levkivskyi a6c96caf46
Mark PEPs 544, 586, 589, and 591 as accepted for Python 3.8 (#1088) 2019-05-26 10:58:57 +01:00
jjbankert 8329a34cb1 PEP 594: miswording fix (#1074)
* changed refrained to referred

* changed cooperate to corporate
2019-05-26 09:19:05 +02:00
Stéphane Wirtel 7958a1cfa6 PEP 594: Fix typos (#1081) 2019-05-26 09:17:46 +02:00
Nightblade b3b34a2e3a PEP 594: Fix a couple of typos. (#1075) 2019-05-26 09:16:48 +02:00
Victor Stinner 7e4e28483f
PEP 587: Fix a few minor issues (#1087)
* Fix _init_main=0 example: set config._init_main to 0!
* Document special builds needed by some speficic options like
  show_alloc_count.
* Specify that preconfiguration only requires command line arguments
  for the "Python Configuration" (not for "Isolated Configuration").
2019-05-25 11:45:42 +02:00
Victor Stinner fcdd72d719
PEP 587 version 5 (#1086)
* Add "Experimental Multi-Phase Initialization API" section
* Add PyPreConfig._config_init private field.
* Rename PyInitError to PyStatus.
* Rename PyInitError_Failed() to PyStatus_Exception()
* Rename Py_ExitInitError() to Py_ExitStatusException()
* Fix Python Configuration default values: isolated=0
  and use_environment=1, instead of -1.
* Document isolated field and #ifdef MS_WINDOWS
* Define path conf function
2019-05-24 21:21:05 +02:00
Ivan Levkivskyi 74f0fb256d PEP 544: Couple final edits (#1084)
Co-Authored-By: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2019-05-23 22:16:04 -07:00
Ezio Melotti 17b1fc57fb
PEP 595: Improving bugs.python.org (#1083)
* Add my initial draft

* PEP 593: update PEP structure and add content.

* PEP 593: Push updates

* PEP 593: expand the "Improving Roundup" section and move it to the top.

* PEP 593: expand the "Roundup advantages" and "Migration considerations" sections.

* PEP 595 (was 593): expand and reword some sections.

* PEP 595: rename file

* PEP 595: remove Discussion-To header, fix formatting of Author header.
2019-05-23 21:42:06 +02:00
Jelle Zijlstra eb6282b4a7 Change specification for `# type: ignore` (#1072)
As discussed on the typing-sig mailing list, the currently specified behavior for `# type: ignore` on a line by itself has remained mostly unimplemented and doesn't seem useful. Instead, the PEP now mandates a syntax for ignoring all errors in a specific file, which is more obviously useful.

I considered adding a sentence like "Individual type checkers may add additional syntax for silencing errors", but it didn't seem particularly useful since type checkers in general are free to add extensions to what PEP 484 specifies.

While I was at it I added a reference to PEP 526 to an out-of-date sentence adjacent to the modified paragraph.
2019-05-22 08:22:39 -07:00
Petr Viktorin cd524fad56
PEP 590: Record BDFL delegate (GH-1079)
In the Steering Council discussions leading up to the
[2019-04-26 update], I was appointed BDFL delegate for PEPs
576, 579, 580, and 590.
PEP 590 was still just a draft on the mailing list when the
SC updated the PEPs themselves, so it wasn't updated then.

[2019-04-26 update]: https://github.com/python/steering-council/blob/master/updates/2019-04-26_steering-council-update.md#peps
2019-05-22 14:30:22 +02:00
Christian Heimes dbb8cfcadb
PEP 594: discussion to discuss.python.org (#1078) 2019-05-22 13:32:12 +02:00
Christian Heimes 2feb1d4004
PEP 594: track experts (#1077) 2019-05-22 12:57:25 +02:00
Christian Heimes d6146f5d72
PEP 594: asyncore and asynchat are deprecated since 3.6 (#1071) 2019-05-21 22:44:51 +02:00
Christian Heimes fdfece520c
Keep colorsys (#1070) 2019-05-21 17:44:03 +02:00
Christian Heimes 2d536899f0
PEP 594: Update 1.5 (#1068)
* Fix markup for wave section

* Add estimated EOL for 3.9

* mention pynntp and why getopt and wave stay

* Add Ned's suggestion
2019-05-21 16:00:46 +02:00
Nick Coghlan 933fbf8626
PEP 558: Note compatibility constraints on locals(), other updates (#1069)
- new design discussion section to cover the requirement that the
  semantics of locals() itself at function scope be left alone
- propose a C level API that exactly matches Python level
  frame.f_locals semantics
- other minor text formatting and wording updates
2019-05-21 23:43:15 +10:00
Nick Coghlan 44f2986f8d
PEP 558: Remove dynamic frame semantics proposal (#1051)
Changing the frame API semantics based on whether or not a
tracing function is active is tricky to implement and hard
to document clearly, so this simplifies the proposal by
instead having the frame API always expose a write-through
proxy at function scope, and restricting the dynamic
snapshot behaviour to the locals() builtin.
2019-05-21 22:41:34 +10:00
Christian Heimes b8b55f631e
PEP 594: Update with discussion items (#1063)
* Deprecate parser module
* Keep fileinput module
* Elaborate why crypt and spwd are dangerous and bad
* Improve sections for cgitb, colorsys, nntplib, and smtpd modules
* The colorsys, crypt, imghdr, sndhdr, and spwd sections now list suitable substitutions.
* Mention that socketserver is going to stay for http.server and xmlrpc.server
2019-05-21 13:05:45 +02:00
Stéphane Wirtel c46d4f300f PEP 594: Add argparse as substitute of getopt (#1065) 2019-05-21 12:13:38 +02:00
Christian Heimes 7a0b2cd1be
PEP 594: Fix header (status and type) (#1062) 2019-05-21 00:07:23 +02:00
Christian Heimes 7799178afd
PE 594: Removing dead batteries from stdlib (#1061)
Signed-off-by: Christian Heimes <christian@python.org>
2019-05-20 22:15:35 +02:00
Jukka Lehtosalo 92c6ff0d9b PEP 589: Small updates based on feedback from @gvanrossum (#1060)
These are the updates I promised in https://github.com/python/peps/pull/991.
2019-05-20 10:50:00 -07:00
Victor Stinner 9d2abd5db3 PEP 587: fix typo 2019-05-20 14:05:52 +02:00
Victor Stinner 6062d2a6f3
PEP 587: version 4 (#1056)
The main change is the introduction of "Python Configuration" and
"Isolated Configuration" default configuration which are well better
defined. Replace all macros with functions.

Changes:

* PyPreConfig: no longer uses dynamically memory allocation,
  allocator type becomes an enum, add parse_argv and configure_locale
  field.
* PyConfig: Remove program field, rename module_search_path_env to
  pythonpath_env
* New functions:

  * PyPreConfig_InitIsolatedConfig()
  * PyPreConfig_InitPythonConfig()
  * PyConfig_InitIsolatedConfig()
  * PyConfig_InitPythonConfig()

* parse_argv default becomes 0
* Replace Py_INIT_xxx() macros with functions
* Document default values
* Remove PyConfig.dll_path
* Explain how PyConfig preinitializes Python and the relationship
  between command line arguments and the pre-initialization.
* Rename use_module_search_paths to module_search_paths_set
* Rename PyInitError_Err() to PyInitError_Error()
* "Pre-initialization" => "Preinitialization"
* Reject preconfig=NULL and config=NULL
* Replace "wchar_t**" with "wchar_t * const *", same for "char**".
2019-05-20 13:11:42 +02:00
till c100af6d10 Initial import of PEP 593: Flexible function and variable annotations (#1014) 2019-05-19 22:09:35 +01:00
Jeroen Demeyer 502c87cde8 PEP 590: remove new METH_VECTORCALL flag (#1048) 2019-05-18 13:20:29 +01:00
T. Wouters 4e0a7443f4 Minor textual edits of PEP 587. (#1055) 2019-05-16 15:12:46 +02:00
Ethan Smith b5a4f071d5 PEP 518: Clarify any tool can use the tool table (#1054)
Context: https://discuss.python.org/t/pep-518-clarify-scope-of-tool-section/1682
2019-05-15 23:33:02 -07:00
Victor Stinner aceed0d7c0 PEP 587: fix typos in Version History 2019-05-16 00:28:16 +02:00