Nathaniel J. Smith
1f57544784
First draft of PEP 568 (GH-531)
...
As discussed in
https://mail.python.org/pipermail/python-dev/2018-January/151605.html
it seems useful to write down what an extension of PEP 567 to full
"context stack" semantics would look like, even if we aren't planning
to consider it for 3.7. That's what this is.
2018-01-07 10:39:03 -08:00
Benjamin Peterson
2d2ac2d2b6
explain that nonlocal and global assignment shorthands are not going to be implemented
2018-01-06 12:58:02 -08:00
Eric V. Smith
b78c28504e
Make type information on make_dataclass() optional.
2018-01-06 15:13:03 -05:00
5j9
a790b3821c
PEP 517: Fix typo in the word "community" (GH-532)
2018-01-06 10:23:14 -08:00
Eric V. Smith
fc58b77335
Fix markup.
2018-01-06 11:24:52 -05:00
Eric V. Smith
ab1a60f08c
Add is_dataclass().
2018-01-06 11:10:27 -05:00
Julien Palard
3371af975f
PEP 101: dailybuild.py moved to docsbuild-scripts. (GH-523)
2018-01-03 16:36:48 -08:00
Guido van Rossum
b414323bfb
PEP 498: Clarify the prohibition on locals() and globals(). (GH-529)
...
It applies to the implementation, not to end users passing these in to
f-string -- the latter is fine (e.g. print(f"Locals are {locals()}")).
2018-01-03 16:35:52 -08:00
Martin Broadhurst
6905c6ce66
Fix typo: Set -> set ( #528 )
2018-01-01 06:03:24 +11:00
Lukasz Langa
ef80de4d18
[pep-563] Acknowledge Serhiy for his awesome code review
2017-12-31 01:05:04 -08:00
Julien Palard
ec6b836264
Doc is served by nginx, not apache. ( #522 )
2017-12-30 17:29:21 +01:00
Yury Selivanov
59eaf3d574
Make PyContextVar_Get return a new ref ( #525 )
2017-12-28 11:58:12 -05:00
Yury Selivanov
25324f863f
Pep567 v2 ( #524 )
...
* pep-567: Update C API; get_context() -> copy_context()
* pep-567: Add ref implementation; update C API; copy_context()
2017-12-28 01:01:05 -05:00
Eric V. Smith
f7316723e9
Change _MISSING to MISSING and make it part of the public API.
2017-12-26 10:11:44 -05:00
Julien Palard
bcd9c94ddf
FIX: Renamed version_switcher.js ( #521 )
2017-12-26 09:45:09 +01:00
Yury Selivanov
90b01262c0
pep-567: Tweak C API ( #520 )
2017-12-22 17:49:57 -05:00
Jelle Zijlstra
20d684c243
Fix grammar in PEP 557 (GH-519)
...
"No init method", instead of "not init method".
2017-12-20 18:06:59 -08:00
jhertel
8ba5d20a21
Fix typo in PEP 443: resultion-> resolution (GH-518)
2017-12-20 08:02:36 -08:00
James Ray
07b66af4f3
abbreviation -> acronym ( #517 )
2017-12-19 13:05:09 -08:00
Ned Deily
a6d6147f53
Update schedule for 3.6.4 and beyond.
2017-12-19 03:21:52 -05:00
Christopher H.Barker, PhD
eff08db773
tiny bit more clarity about the format specifiers in PEP 498 ( #515 )
2017-12-15 14:07:55 -08:00
Janzert
11c7319b1e
pep-485: Fix function name typo ( #513 )
2017-12-15 11:21:15 -08:00
Larry Hastings
0418440014
Add future release dates for 3.4 and 3.5.
2017-12-14 13:26:39 -08:00
Yury Selivanov
5a43c3b83a
pep-567: Rejected Ideas, Token usability, fixes ( #511 )
2017-12-13 17:06:41 -05:00
Yury Selivanov
75fe7fe8b8
pep-567: More additions ( #510 )
...
* Add Token.MISSING and Token.old_value
* Change the signature of PyContextVar_Reset
2017-12-13 12:25:17 -05:00
Yury Selivanov
3b59266d43
pep-567: Add a Token section to the Specification ( #509 )
2017-12-12 23:42:13 -05:00
Yury Selivanov
29ab20e269
pep-567: Add C API section. ( #508 )
2017-12-12 23:16:51 -05:00
Yury Selivanov
40eb4e992a
pep-567: Additions ( #507 )
...
* Add **kwargs to Context.run()
* Add a concurrent.futures example
* Better clarify the need for Token
* What's N in O(N)
* Context() creates an empty Context
* Mention Context.name in the Specification
* Fix "build upon" as Guido suggests on the ML
* Clarify NO_DEFAULT and NO_VALUE markers
* Rename .__ to ._; drop HAMT from Implemenentation
* Add Implementation Notes
2017-12-12 23:03:05 -05:00
Guido van Rossum
dda6d8b229
More uncontroversial updates to PEP 567 ( #506 )
2017-12-12 22:40:33 -05:00
Yury Selivanov
4a8143fc16
pep-567: More fixes ( #505 )
2017-12-12 21:39:08 -05:00
Yury Selivanov
c1f434c437
pep-567: More fixes ( #504 )
2017-12-12 20:41:25 -05:00
Chris Angelico
036a750513
Copyedit PEP 567 with small and hopefully non-controversial changes ( #503 )
2017-12-12 20:03:42 -05:00
Victor Stinner
355eced94c
PEP 565 has been accepted by Guido van Rossum
2017-12-13 00:51:53 +01:00
Yury Selivanov
08ace1389d
pep 567: Mention Future.add_done_callback() ( #502 )
2017-12-12 18:17:01 -05:00
Yury Selivanov
b0528e63c6
pep 567: Fix markup ( #501 )
2017-12-12 12:29:19 -08:00
Yury Selivanov
d793b139f7
pep-0567: Fix markup ( #500 )
2017-12-12 12:21:33 -05:00
Yury Selivanov
af7f732146
Add PEP 567 -- Context Variables ( #499 )
2017-12-12 12:11:31 -05:00
Guido van Rossum
4a34183775
Mark PEP 560 accepted
2017-12-11 11:36:00 -08:00
Victor Stinner
40a9e6f4b3
PEP 540: truncate to 72 columns
2017-12-11 10:13:43 +01:00
larryhastings
2f52641e11
Clean up / clarify grammar in PEP 540. ( #498 )
...
* Clean up / clarify grammar in PEP 540.
* Fix RST errors, slightly enhance grammar.
2017-12-11 10:02:20 +01:00
Victor Stinner
ddb198d073
PEP 540: Accepted by Naoki
2017-12-10 18:56:20 +01:00
Victor Stinner
08224bf6bd
PEP 540: The UTF-8 Mode
2017-12-10 18:52:56 +01:00
Victor Stinner
71cda51fbb
PEP 540: Fix effects of the PEP 538
2017-12-10 18:18:26 +01:00
Benjamin Peterson
b65d0681d4
all done with PEP 552
2017-12-09 14:09:11 -08:00
Benjamin Peterson
647e1bbe39
not that fast, though
2017-12-09 13:39:01 -08:00
Benjamin Peterson
b6a5e7690a
time advances for 2.7
2017-12-09 13:37:49 -08:00
Victor Stinner
09022d3f72
PEP 540: getpreferredencoding() returns UTF-8
...
* List explicitly effects of the UTF-8 mode, but also "side effects"
* Add a new "Relationship with the locale coercion (PEP 538)" section
* Add a new "Version History" section
2017-12-08 16:13:31 +01:00
Eric V. Smith
b46be0d897
Add a paragraph describing another rational for using InitVar pseudo-fields.
2017-12-08 03:05:16 -05:00
Eric V. Smith
4b33897304
Add an early example of a mutable type inspired by namedtuple.
2017-12-08 02:59:10 -05:00
Victor Stinner
366c82f00c
PEP 540: Remove the strict mode
2017-12-08 01:43:42 +01:00