Paul Ganssle
a049f5790e
Test that new_timezone can return the UTC singleton (gh-5318)
2018-02-22 15:15:32 -05:00
Steve Dower
48e8c82fc6
bpo-32457: Improves handling of denormalized executable path when launching Python (GH-5756)
2018-02-22 10:39:26 -08:00
Steve Dower
23ad6d0d1a
bpo-32556: nt._getfinalpathname, nt._getvolumepathname and nt._getdiskusage now correctly convert from bytes. (GH-5761)
2018-02-22 10:39:10 -08:00
Terry Jan Reedy
451d1edaf4
bpo-32905: IDLE - remove unused code in pyparse module (GH-5807)
...
dump is similar to print but less flexible. lastopenbracketpos is now always initialized in _study2, as was stmt_bracketing, so the class settings are not needed. get_last_open_bracket_pos is never called.
2018-02-22 01:19:02 -05:00
Eddie Elizondo
745dc65b17
closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800)
2018-02-21 20:55:18 -08:00
Cheryl Sabella
c84cf6c03f
bpo-32874: IDLE: add tests for pyparse (GH-5755)
...
There are no code changes other than comments and docstrings.
2018-02-21 22:48:36 -05:00
Paul Price
ba518804bf
bpo-32889: update valgrind suppressions (GH-5779)
...
Py_ADDRESS_IN_RANGE was renamed address_in_range in 3.6
(commit 3924f93794
).
2018-02-20 22:00:01 -08:00
Benjamin Peterson
e9edee0b65
bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789)
...
It's bad form to pin to an old version of TLS. ssl.SSLContext has the right
protocol default, so let's not pass anyway.
2018-02-20 21:55:01 -08:00
Harshul jain
52c6b89796
bpo-28886: doc: Move deprecated abc decorators to separate section (GH-176)
2018-02-21 13:30:01 +09:00
Eric Snow
f53d9f2778
bpo-32604: Swap threads only if the interpreter is different. (gh-5778)
...
The CPython runtime assumes that there is a one-to-one relationship (for a given interpreter) between PyThreadState and OS threads. Sending and receiving on a channel in the same interpreter was causing crashes because of this (specifically due to a check in PyThreadState_Swap()). The solution is to not switch threads if the interpreter is the same.
2018-02-20 16:30:17 -07:00
Zackery Spytz
80d20b918b
bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found ( #5240 )
...
Initialize self._ssnd_chunk so that aifc.Error is raised as intended,
not AttributeError.
2018-02-20 23:06:11 +02:00
Zackery Spytz
7a1e1786f9
bpo-32500: Correct the documentation for PySequence_Size() and PySequence_Length() (GH-5767)
...
Dropped the part that says: "For objects that do not provide sequence protocol".
2018-02-20 09:24:29 -08:00
Alexey Izbyshev
b3caf388a0
closes bpo-32859: Don't retry dup3() if it is not available at runtime (GH-5708)
...
os.dup2() tests for dup3() system call availability at runtime,
but doesn't remember the result across calls, repeating
the test on each call with inheritable=False.
Since the caller of os.dup2() is expected to hold the GIL,
fix this by making the variable holding the test result static.
2018-02-19 23:25:46 -08:00
Steve Dower
6240917b77
bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5757)
2018-02-19 17:25:24 -08:00
Zachary Ware
5537646bfa
bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758)
2018-02-19 14:02:38 -06:00
pmp-p
4c7108a771
bpo-32682: Improve libz version parsing in test_zilb (GH-5347)
2018-02-18 21:45:11 -06:00
chason
dfa015cf77
bpo-31972: Improve docstrings for pathlib classes ( #5310 )
2018-02-18 18:36:32 -05:00
Éric Araujo
08a6926b25
Improve error message for "setup.py upload" without dist files ( #21060 )
2018-02-18 18:14:54 -05:00
Terry Jan Reedy
3fb813d2c6
bpo-31333: Fix typo in whatsnew/3.7.rst (GH-5744)
2018-02-18 21:46:49 +00:00
Alexey Izbyshev
b3b4a9d300
bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar ( #5739 )
...
This function expects the destination buffer size to be given
in wide characters, not bytes.
2018-02-18 19:57:24 +02:00
TROUVERIE Joachim
e8eb972514
Correct venv doc ( fix #32540 ) ( #5736 )
2018-02-18 11:52:36 -05:00
Zachary Ware
7eb3f8226e
Clean up Travis config (GH-5727)
2018-02-18 10:19:37 -06:00
Ivan Levkivskyi
03e3c340a0
bpo-31333: Re-implement ABCMeta in C ( #5273 )
...
This adds C versions of methods used by ABCMeta that
improve performance of various ABC operations.
2018-02-18 12:41:58 +00:00
Steve Dower
667b91a5e2
Add missing backslashes to get_externals.bat (GH-5731)
2018-02-17 19:58:57 -08:00
Steve Dower
01423cb53b
Improves the ability to build in CI (GH-5728)
2018-02-17 18:59:03 -08:00
Zachary Ware
d6ff8a7037
bpo-30638: Add clinic to `make regen-all` (GH-5671)
...
Also, use PYTHON_FOR_REGEN for clinic and blake2s_impl.c rather than PYTHON_FOR_BUILD, and update .travis.yml to make use of the change.
2018-02-17 17:58:57 -06:00
Andrew Svetlov
17ab8f0e8e
Fix a typo in asyncio docs ( #5721 )
2018-02-17 19:44:35 +02:00
Kyle Altendorf
9f4223261f
bpo-32852: Fix trace changing sys.argv to tuple. (GH-5692)
2018-02-17 08:32:37 +02:00
Gerrit Holl
243d6d7126
DOC: fix documentation for copyright and credits (GH-5706)
...
Adapt documentation for `copyright` and `credits` to reality. Previously, the documentation implied that all each of `copyright`,
`credits`, and `license`, would print a message to call the object in order to see the full text. In reality, only `license` exhibits this
behaviour, and `copyright` and `credit` print their full text either when printed, displayed, or called.
2018-02-16 19:48:57 -08:00
Zackery Spytz
6887d86e9a
bpo-32860: Fix a missing asterisk in the documentation for glob.iglob() (GH-5712)
2018-02-16 19:39:51 -08:00
Eric Snow
4c6955e2b0
bpo-32604: Clean up created subinterpreters before runtime finalization. (gh-5709)
2018-02-16 18:53:40 -07:00
Yury Selivanov
bd093355a6
bpo-32436: Add docs for contextvars ( #5685 )
2018-02-16 11:47:54 -05:00
xpvpc
b65cb163d6
Correct the code example in Python 3.7's What's New (GH-5696)
...
There was an extra dash in the example for re.sub().
2018-02-16 08:46:39 -08:00
Barry Warsaw
997b8c140e
Update and sync importlib.resources documentation ( #5694 )
2018-02-16 10:45:39 -05:00
ngie-eign
7745ec4e35
Update comment in posixmodule.c (GH-5681)
...
A closing parentheses was missing.
Signed-off-by: Ngie Cooper <yaneurabeya@gmail.com>
2018-02-14 11:54:28 -08:00
Bar Harel
5746510b7a
bpo-32841: Fix cancellation in awaiting asyncio.Condition ( #5665 )
2018-02-14 11:18:11 +02:00
Eitan Adler
3384d38d51
Fix installation instructions for *nix (GH-5605)
...
Remove pkg_add -r python from FreeBSD installation section.
Moved to OpenBSD.
2018-02-13 18:44:01 -08:00
Benjamin Peterson
2b86f4cb2c
remove mercurial dot files (GH-5558)
2018-02-13 18:11:34 -08:00
Zackery Spytz
88c38a4049
bpo-27846: Delete incorrect note in base64 docs (GH-5666)
...
This note incorrectly stated that "Base64 has an expansion factor of 6
to 4" (it is actually 4 to 3). It was decided to remove the note.
2018-02-14 03:08:54 +03:00
INADA Naoki
f0bc645dfe
bpo-31787: Skip refleak check when _hashlib is not available (GH-5660)
2018-02-13 23:41:19 +09:00
Xiang Zhang
2b77a921e6
bpo-29803: remove a redandunt op and fix a comment in unicodeobject.c ( #660 )
2018-02-13 18:33:32 +08:00
Oren Milman
d019bc8319
bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995)
2018-02-13 19:28:33 +09:00
Nick Coghlan
aec7532ed3
bpo-30579: Docs for dynamic traceback creation (GH-5653)
2018-02-13 18:10:58 +10:00
Segev Finer
da6c3da6c3
bpo-32370: Use the correct encoding for ipconfig output in the uuid module. (GH-5608)
2018-02-13 08:29:54 +02:00
Serhiy Storchaka
b7e2d67f7c
bpo-32827: Fix usage of _PyUnicodeWriter_Prepare() in decoding errors handler. (GH-5636)
2018-02-13 08:27:33 +02:00
Terry Jan Reedy
688722cedd
bpo-32837: IDLE - require encoding argument for textview.view_file. (GH-5646)
...
Using the system and place-dependent default encoding for open()
is a bad idea for IDLE's system and location-independent files.
2018-02-12 17:42:41 -05:00
Terry Jan Reedy
f34e03ec0e
bpo-32826: Add "encoding=utf-8" to open() in idle_test/test_help_about. (GH-5639)
...
GUI test test_file_buttons() only looks at initial ascii-only lines,
but failed on systems where open() defaults to 'ascii' because
readline() internally reads and decodes far enough ahead to encounter
a non-ascii character in CREDITS.txt.
2018-02-12 14:58:26 -05:00
Коренберг Марк
7766b96ab8
bpo-32221: makeipaddr(): remove interface part + speedup (GH-5449) ( #5449 )
2018-02-12 14:47:42 -05:00
SSE4
3c34aad4e7
bpo-29248: Fix os.readlink() on Windows (GH-5577)
...
The PrintNameOffset field of the reparse data buffer
was treated as a number of characters instead of bytes.
2018-02-12 20:10:35 +03:00
Zachary Ware
6ea20fc719
Fix AppVeyor doc short-circuit (GH-5632)
2018-02-11 15:35:09 -06:00