Miss Islington (bot)
b4f5b21253
bpo-37261: Fix support.catch_unraisable_exception() (GH-14052)
...
The __exit__() method of test.support.catch_unraisable_exception
context manager now ignores unraisable exception raised when clearing
self.unraisable attribute.
(cherry picked from commit 6d22cc8e90
)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
2019-06-13 06:25:59 -07:00
Victor Stinner
f9445a391e
[3.8] bpo-37253: Document PyCompilerFlags.cf_feature_version (GH-14019) (GH-14038)
...
* Update PyCompilerFlags structure documentation.
* Document the new cf_feature_version field in the Changes in the C
API section of the What's New in Python 3.8 doc.
(cherry picked from commit 2c9b498759
)
2019-06-13 02:40:41 +02:00
Miss Islington (bot)
c9ca96dd96
bpo-37160: Thread native ID NetBSD support (GH-13835)
...
(cherry picked from commit 5287022eee
)
Co-authored-by: David Carlier <dcarlier@afilias.info>
2019-06-12 09:03:04 -07:00
Miss Islington (bot)
669e07be48
Add some placeholder notes for major 3.8 features (GH-13927) ( #13929 )
...
(cherry picked from commit b9438ceb20
)
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
2019-06-12 13:31:13 +02:00
Miss Islington (bot)
811f84d55d
bpo-32625: Updated documentation for EXTENDED_ARG. (GH-13985)
...
Python 3.6 changed the size of bytecode instruction, while the documentation for `EXTENDED_ARG` was not updated accordingly.
(cherry picked from commit 405f648db7
)
Co-authored-by: Yao Zuo <laike9m@users.noreply.github.com>
2019-06-11 20:53:58 -07:00
Miss Islington (bot)
3ba21070c6
bpo-35766: Change format for feature_version to (major, minor) (GH-13992) (GH-13993)
...
(A single int is still allowed, but undocumented.)
https://bugs.python.org/issue35766
(cherry picked from commit 10b55c1643
)
Co-authored-by: Guido van Rossum <guido@python.org>
2019-06-12 02:55:28 +02:00
Miss Islington (bot)
785688832d
bpo-35766: What's new in the ast and typing modules (GH-13984)
...
(cherry picked from commit 9b33ce48a7
)
Co-authored-by: Guido van Rossum <guido@python.org>
2019-06-11 14:13:25 -07:00
Makdon
fe5f8b9ce2
[3.8] bpo-37216: Fix version and filename in Mac using document (GH-13964)
2019-06-11 01:37:34 -04:00
Miss Islington (bot)
feaceaafe8
bpo-37178: Allow a one argument form of math.perm() (GH-13905) (GH-13919)
...
(cherry picked from commit e119b3d136
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-06-08 09:17:33 -07:00
Zackery Spytz
dd492d9c35
[3.8] bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860) (GH-13891)
...
(cherry picked from commit dc2476500d
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2019-06-07 16:22:58 +02:00
Miss Islington (bot)
dba4448c63
bpo-37134: Add PEP570 notation to the signature of byte{array}.translate (GH-13874)
...
(cherry picked from commit de76c07a8c
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2019-06-06 16:44:50 -07:00
Miss Islington (bot)
23f41a64ea
bpo-37134: Use PEP570 syntax for sum() (GH-13851)
...
(cherry picked from commit c4c421d619
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2019-06-05 16:21:08 -07:00
Miss Islington (bot)
d74438b633
bpo-33725, multiprocessing doc: rephase warning against fork on macOS (GH-13841)
...
Co-Authored-By: Barry Warsaw <barry@python.org>
(cherry picked from commit 1e77ab0a35
)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
2019-06-05 13:07:19 -07:00
Miss Islington (bot)
b496c26721
bpo-26836: Document os.memfd_create() name parameter (GH-13838) (GH-13839)
...
https://bugs.python.org/issue26836
(cherry picked from commit ccf0efbb21
)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
2019-06-05 13:16:00 +02:00
Miss Islington (bot)
f2054d9565
Fix documentation (GH-13721)
...
Based on the source code 4a686504eb/Lib/multiprocessing/pool.pyGH-L755
AsyncResult.successful() raises a ValueError, not an AssertionError.
(cherry picked from commit d4cf099dff
)
Co-authored-by: Benjamin Yeh <bentyeh@users.noreply.github.com>
2019-06-05 02:14:25 -07:00
Miss Islington (bot)
99a5178cd1
Doc: Python 3.9 in sidebar and version switcher. (GH-13824)
...
(cherry picked from commit 59e7bbcaa4
)
Co-authored-by: Julien Palard <julien@palard.fr>
2019-06-04 16:21:19 -07:00
Łukasz Langa
23d7ce7471
Python 3.8.0b1
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAlz2r2cACgkQsmmV4xAl
BWhasQ/9EDLL+KtFUdi3iMr7+C1UN/2u2v3OnOsZQA0WE7TfEebbf5GS4baN/pHk
PslVY6kRqRfQIxjemXFpq52mn9+3SUE4m3avkgnUZMu8XEaUczM4IdcizGMO3qNr
c1iz6BraJo8gZ1g+dNcRbEc89V9e1SzrBZOR9MXGjxxo0HHEPdjW9ptg1BtHq9To
n4iivdQSnnxzP7D7SpItWPL/gFv90GBbXaTRerGUlmj/uwnBhzHB1fi4r+WDn8yR
4AiFVSlUFpTXYOiH5A3MYQtLq8kH9AAmo6Bmj/73NvChxv7GV5v968+tlEWEK+/h
UtTUEw8L/oSH74m8wd0q0tQdTe8VJgtwKyR6h5GLL8TLa73nN/jK4Koqirpc8mpK
DcHVLpxHQ/yhPtAcQXp81qqJSbhnPOvbRjNQP5bHcNIl8p+OsF7N9z/tu6gmMorO
k+f2OCOC0ZsG/EL7DPz6kG6+Cy5NhA+/IJ9I3Ayk6AsSjbzqtgai3bKKVF3s27r8
OIZprMAVKsmsPpEfuSG8rshKxmLH5/n7YuwSuMmWXv06QspfG43zxp1VYq94zBoI
wpBy8QxBwef7oDpMI+WgE/g8Prj1NmQuIy7co/pZDsOHeQWr96z90BcpSX8XKHKT
9W829jFKoQEnGnuFgoUxacR8a4bQKVla5mVFvjUtGjb9GS9kJkk=
=V2hy
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iQJEBAABCAAuFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAlz2zD8QHGx1a2FzekBs
YW5nYS5wbAAKCRCyaZXjECUFaIw/EACXkzdCOq5D/itTvFElnNWjlon8ot4toVEf
zw4isSYiYS4B3dBI6+VyCZWNxR5F6fwfyhPLHf7CzPn+7Yp5+dX9//x0HqhNLQCY
PmwuYG/4nWcww8UhUweGVI1u8Fjrw+LzLJPVyhLQia/TXUBfCFcggS2xo9S6mSsA
isJr9RaCDaoit6ZjFIuo+sOn2YTx2eYBe6LlhlSx9zz0ayyy+ADqPeUq/hoEFDPD
EXUOwsLJPo/vu7sFqKOhHBWtMCcnvkkbiBLrAmHS2vhKjl22zVez0lUiVxLUlhZT
WcmfRkCtoBKu2rYbm85pt08fgF/CnHq9oO57yDBZ4j/Lv0HqQkp+/yZRzWqSSThw
vw4z4Ur3l06ZMxsTH+Dd/xjqc41AlpedJNhuAgOf0URrbl4H48y5U6AG1vZWrpAk
wUsTF1QGXL1SAam2pjI2cTpjRaCh3RK2wf0KPewxUpcvcRcGtGAbq+EFHHOFg2Lm
AcxAuAEUXKcyJQnLtFiIOWJFttaRzAB6zq8sEL0kS1BfAEspqTk+ZdnDY1ajppqu
7sb3/TGrxa+38Th5iVvUehHGQqrQYLORVn0w8PKUXunbUbv6AYoDJHKxiOUO4JsX
L5jZEPjTeG0BjntTnvVYdgqPXAVbJr76LmlCPkPcmSruvXrfZP1OOi+ybepwbTpD
8pw88nSTuA==
=zOCJ
-----END PGP SIGNATURE-----
Merge tag 'v3.8.0b1'
Python 3.8.0b1
2019-06-04 21:53:26 +02:00
Petter Strandmark
001d63cefa
bpo-35047: Update whatsnew/3.8 for better mock error message (GH-13746)
2019-06-04 21:34:48 +02:00
Łukasz Langa
3b5deb0116
Python 3.8.0b1
2019-06-04 19:44:34 +02:00
Abhilash Raj
46d88a1131
bpo-35805: Add parser for Message-ID email header. (GH-13397)
...
* bpo-35805: Add parser for Message-ID header.
This parser is based on the definition of Identification Fields from RFC 5322
Sec 3.6.4.
This should also prevent folding of Message-ID header using RFC 2047 encoded
words and hence fix bpo-35805.
* Prevent folding of non-ascii message-id headers.
* Add fold method to MsgID token to prevent folding.
2019-06-04 10:41:34 -07:00
Mario Corchero
f0b5ae4567
bpo-30699: Improve example on datetime tzinfo instances (GH-4290)
...
* Improve example on tzinfo instances
Move from GMTX to TZX when naming the classes, as GMT1 might be rather
confusing as seen in the reported issue.
In addition, move to UTC over GMT and improve the tzname implementation.
* Simplify datetime with tzinfo example
Move the example in the documentation to just use timezone.utc and a
user defined Kabul timezone rather than having two user defined
timezones with DST.
Kabul timezone is still interesting as it changes its offset but not
based on DST. This is more accurate as the previous example was missing
information about the fold attribute. Additionally, implementing the fold
attribute was rather complex and probably not relevant enough for the
section "datetime with tzinfo".
2019-06-04 17:18:10 +02:00
Łukasz Langa
7f9a2ae780
Revert "bpo-34037, asyncio: add BaseEventLoop.wait_executor_on_close (GH-13786)" ( #13802 )
...
This reverts commit 0f0a30f4da
.
2019-06-04 13:03:20 +02:00
Raymond Hettinger
8f4bbb5d62
Fix grammar (GH-13801)
2019-06-04 03:40:23 -07:00
Ivan Levkivskyi
8bcf2629a2
More updates to the annotated assignments docs (GH-13794)
2019-06-04 11:37:46 +01:00
Raymond Hettinger
963eb0f473
bpo-35431: Drop the k <= n requirement (GH-13798)
2019-06-04 01:23:06 -07:00
Victor Stinner
0f0a30f4da
bpo-34037, asyncio: add BaseEventLoop.wait_executor_on_close (GH-13786)
...
Add BaseEventLoop.wait_executor_on_close attribute: true by default.
loop.close() now waits for the default executor to finish by default.
Set loop.wait_executor_on_close attribute to False to not wait for
the executor.
2019-06-03 23:31:04 +02:00
Christian Heimes
78c7d52779
bpo-37120: Add SSLContext.num_tickets (GH-13719)
...
Signed-off-by: Christian Heimes <christian@python.org>
2019-06-03 21:00:10 +02:00
Christian Heimes
47eb223406
bpo-36868: Fix what's new for SSLContext.hostname_checks_common_name (GH-13248)
...
What's new now mentions SSLContext.hostname_checks_common_name instead of SSLContext.host_flags.
https://bugs.python.org/issue36868
2019-06-03 11:51:27 -07:00
David Carlier
0b9956e916
bpo-37087: Adding native ID support for OpenBSD (GH-13654)
2019-06-03 17:43:33 +02:00
Julien Palard
141da44bb4
Doc fix: duplicate object description of email.message (GH-13742)
2019-06-03 17:17:03 +02:00
Victor Stinner
01ae897efd
Add credits to What's New in Python 3.8 (GH-13776)
...
* Credit myself and others.
* Complete asyncio changes.
2019-06-03 16:28:01 +02:00
Inada Naoki
91234a1636
bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)
...
This patch implements per opcode cache mechanism, and use it in
only LOAD_GLOBAL opcode.
Based on Yury's opcache3.patch in bpo-26219.
2019-06-03 21:30:58 +09:00
Matthias Bussonnier
13136e83a6
bpo-36896: Clarify that some types constructors are unstable (GH-13271)
2019-06-03 02:43:21 +02:00
Jeroen Demeyer
9e3e06e582
bpo-36974: document PEP 590 (GH-13450)
2019-06-03 01:43:13 +02:00
Ivan Levkivskyi
82eac26a73
Update the annotated assignment docs (GH-13757)
2019-06-03 00:41:00 +01:00
Xtreak
0d70227e41
Fix typos in docs and docstrings (GH-13745)
2019-06-03 01:12:33 +02:00
Michele Angrisano
e1179a5096
bpo-19184: Update the documentation of dis module. (GH-13652)
...
* bpo-19184: Update the documentation of dis module
* Explain the behavior of the number of arguments of RAISE_VARGARGS
opcode.
* bpo-19184: Update blurb.
* bpo-19184: Fix typo in the dis Documentation.
* bpo-19184: Address review comments and improve the doc
* bpo-19184: Remove news file.
2019-06-02 23:34:12 +02:00
Michele Angrisano
aca273e240
bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545)
...
* bpo-37014: Update docstring and Documentation of fileinput.FileInput()
* Explain the behavior of fileinput.FileInput() when reading stdin.
* Update blurb.
* bpo-37014: Fix typo in the docstring and documentation.
2019-06-02 23:01:49 +02:00
Mark Dickinson
c52996785a
bpo-36027: Extend three-argument pow to negative second argument (GH-13266)
2019-06-02 10:24:06 +01:00
Serhiy Storchaka
5ae299ac78
bpo-37128: Add math.perm(). (GH-13731)
2019-06-02 11:16:49 +03:00
Anthony Sottile
b7daabd711
Improve version added references in `typing` module docs (GH-13457)
2019-06-02 01:13:25 +01:00
Raymond Hettinger
b7fade4f87
Put math.comb() docs is correct place alphabetically (GH-13734)
2019-06-01 15:01:46 -07:00
Marco Buttu
218e47b618
bpo-29414: Change 'the for statement is such an iterator' in Tutorial (GH-273)
2019-06-01 14:11:47 -07:00
Serhiy Storchaka
bdbad71b9d
bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108)
2019-06-02 00:05:48 +03:00
Pablo Galindo
3b57f50efc
bpo-36842: Pass positional only parameters to code_new audit hook (GH-13707)
2019-06-01 21:18:48 +01:00
Evan
56624a99a9
bpo-28595: Allow shlex whitespace_split with punctuation_chars (GH-2071)
2019-06-01 20:09:22 +01:00
Serhiy Storchaka
2b843ac0ae
bpo-35431: Refactor math.comb() implementation. (GH-13725)
...
* Fixed some bugs.
* Added support for index-likes objects.
* Improved error messages.
* Cleaned up and optimized the code.
* Added more tests.
2019-06-01 22:09:02 +03:00
Pablo Galindo
cd74e66a8c
bpo-37122: Make co->co_argcount represent the total number of positonal arguments in the code object (GH-13726)
2019-06-01 18:08:04 +01:00
Anthony Shaw
059b9ea5ac
bpo-31968: Documentation -- add clarification on the globals dict for exec() (GH-13140)
2019-06-01 08:51:58 -07:00
Stéphane Wirtel
66501058fe
Doc: Correct the creation year and the credits of the Logo Programming language (GH-13520)
2019-06-01 07:41:33 -04:00