]>
granicus.if.org Git - python/log
Martin Panter [Sun, 18 Dec 2016 01:23:09 +0000 (01:23 +0000)]
Fix spelling and grammar in code comments and documentation
R David Murray [Sun, 18 Dec 2016 03:03:44 +0000 (22:03 -0500)]
#28407 Improve test coverage of make_msgid.
Patch by Dillon Brock.
Brett Cannon [Sat, 17 Dec 2016 20:37:20 +0000 (12:37 -0800)]
Update porting HOWTO to drop unicode_literals and mention static type checking
Serhiy Storchaka [Sat, 17 Dec 2016 19:48:03 +0000 (21:48 +0200)]
Issue #29000: Fixed bytes formatting of octals with zero padding in alternate
form.
Raymond Hettinger [Fri, 16 Dec 2016 21:57:40 +0000 (13:57 -0800)]
Issue #28991: Fix obscure reentrancy bug in functools.lru_cache().
Xavier de Gaye [Fri, 16 Dec 2016 19:49:10 +0000 (20:49 +0100)]
Issue #28971: Temporarily skip test_over until a permanent solution is found
for issue #28971.
Serhiy Storchaka [Fri, 16 Dec 2016 17:05:33 +0000 (19:05 +0200)]
Merge heads
Serhiy Storchaka [Fri, 16 Dec 2016 16:58:33 +0000 (18:58 +0200)]
Issue #14061: Misc fixes and cleanups in archiving code in shutil.
Imporoved the documentation and tests for make_archive() and unpack_archive().
Improved error handling when corresponding compress module is not available.
Brake circular dependency between shutil and tarfile modules.
Yury Selivanov [Fri, 16 Dec 2016 16:50:41 +0000 (11:50 -0500)]
Issue #28990: Fix SSL hanging if connection is closed before handshake completed.
Victor Stinner [Fri, 16 Dec 2016 09:00:39 +0000 (10:00 +0100)]
python-gdb.py: catch gdb.error on gdb.selected_frame()
Berker Peksag [Thu, 15 Dec 2016 02:37:56 +0000 (05:37 +0300)]
Issue #28944: Fix footnote numbering
Serhiy Storchaka [Wed, 14 Dec 2016 17:52:17 +0000 (19:52 +0200)]
Revert changeset
1f31bf3f76f5 (issue5322) except tests.
Steve Dower [Tue, 13 Dec 2016 17:06:24 +0000 (09:06 -0800)]
Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
Steve Dower [Sun, 11 Dec 2016 22:35:07 +0000 (14:35 -0800)]
Issue #28783: Replaces bdist_wininst in nuget packages with stub
Serhiy Storchaka [Sun, 11 Dec 2016 12:39:01 +0000 (14:39 +0200)]
Issue #28512: Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
Martin Panter [Sun, 11 Dec 2016 01:08:25 +0000 (01:08 +0000)]
Issue #26483: Clarify str.isdecimal() and isdigit()
Patch by Julien Palard.
Martin Panter [Sun, 11 Dec 2016 01:07:29 +0000 (01:07 +0000)]
Issue #28916: Correct description of %o and %x alternative forms
* In Python 3, the specifier is 0o
* There is no special case for leading zeros
* Remove duplicate tests
* Clarify other existing tests and comments
Brett Cannon [Sat, 10 Dec 2016 22:13:38 +0000 (14:13 -0800)]
Issue #28424: Document pkgutil.get_data() doesn't work with namespace packages.
Thanks to Douglas Greiman for the patch.
Antoine Pitrou [Sat, 10 Dec 2016 16:13:16 +0000 (17:13 +0100)]
Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.
Martin Panter [Sat, 10 Dec 2016 05:56:13 +0000 (05:56 +0000)]
Issue #28771: Update tp_get/setattr signature documentation
Martin Panter [Sat, 10 Dec 2016 05:12:56 +0000 (05:12 +0000)]
Issue #28820: Fix spelling of “practice” as a noun
Martin Panter [Sat, 10 Dec 2016 04:10:45 +0000 (04:10 +0000)]
Issue #28755: Improve syntax highlighting in Arg Clinic howto
Martin Panter [Sat, 10 Dec 2016 03:49:12 +0000 (03:49 +0000)]
Issue 28753: Argument Clinic howto docfix, courtesy Julien Palard.
Ned Deily [Thu, 8 Dec 2016 04:34:49 +0000 (23:34 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.
Serhiy Storchaka [Wed, 7 Dec 2016 11:31:20 +0000 (13:31 +0200)]
Change order of io.UnsupportedOperation base classes.
This makes tests passing after changes by issue #5322.
Serhiy Storchaka [Fri, 2 Dec 2016 06:42:43 +0000 (08:42 +0200)]
Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.
Serhiy Storchaka [Wed, 7 Dec 2016 08:56:39 +0000 (10:56 +0200)]
Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.
Serhiy Storchaka [Tue, 6 Dec 2016 11:43:46 +0000 (13:43 +0200)]
Fixed misplaced comment.
Benjamin Peterson [Tue, 6 Dec 2016 06:30:55 +0000 (22:30 -0800)]
rm unused import
Serhiy Storchaka [Mon, 5 Dec 2016 22:13:34 +0000 (00:13 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Sun, 4 Dec 2016 13:42:13 +0000 (15:42 +0200)]
Fixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 08:20:55 +0000 (10:20 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
Steve Dower [Sat, 3 Dec 2016 19:56:20 +0000 (11:56 -0800)]
Ensures intermediate directory is created before accessing it.
Steve Dower [Sat, 3 Dec 2016 19:18:53 +0000 (11:18 -0800)]
Issue #28846: Various installer fixes
Serhiy Storchaka [Fri, 2 Dec 2016 21:34:24 +0000 (23:34 +0200)]
Merge heads
Serhiy Storchaka [Fri, 2 Dec 2016 21:13:53 +0000 (23:13 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.
doko@ubuntu.com [Thu, 1 Dec 2016 20:42:56 +0000 (21:42 +0100)]
- Import latest config.sub config.guess files
Guido van Rossum [Tue, 29 Nov 2016 17:46:21 +0000 (09:46 -0800)]
Issue #28790: Fix error when using Generic and __slots__ (Ivan L)
Łukasz Langa [Sat, 26 Nov 2016 22:00:39 +0000 (14:00 -0800)]
Fixes #24142: [configparser] always join multiline values to not leave the parser in an invalid state
Serhiy Storchaka [Sat, 26 Nov 2016 11:43:28 +0000 (13:43 +0200)]
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
Berker Peksag [Fri, 25 Nov 2016 17:10:07 +0000 (20:10 +0300)]
Add missing square bracket in typing.get_type_hints()
Berker Peksag [Fri, 25 Nov 2016 16:46:57 +0000 (19:46 +0300)]
Issue #28738: Document SIGBREAK as an acceptable value on Windows
Patch by Wojtek Ruszczewski.
Guido van Rossum [Thu, 24 Nov 2016 19:56:00 +0000 (11:56 -0800)]
Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber)
Steve Dower [Wed, 23 Nov 2016 18:23:47 +0000 (10:23 -0800)]
Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command.
Yury Selivanov [Mon, 21 Nov 2016 22:47:27 +0000 (17:47 -0500)]
Issue #28652: Partially rollback previous changes
Allow AF_UNIX in create_server & create_connection
Victor Stinner [Mon, 21 Nov 2016 15:44:01 +0000 (16:44 +0100)]
Issue #28688: Remove warnings.filters check from regrtest
Reloading the warnings module duplicates filters in warnings.filters. Fixing
the issue is tricky. It was decided to simply remove the check from Python 3.5,
since the bug only impacts Python unit tests, not real applications.
The check is kept in Python 3.6 and newer.
Martin Panter [Mon, 21 Nov 2016 13:36:36 +0000 (13:36 +0000)]
Fix indentation
Serhiy Storchaka [Mon, 21 Nov 2016 09:37:18 +0000 (11:37 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
Gregory P. Smith [Mon, 21 Nov 2016 08:11:47 +0000 (00:11 -0800)]
replace --with-optimizations references with --enable-optimizations in docs.
Martin Panter [Mon, 21 Nov 2016 00:15:20 +0000 (00:15 +0000)]
Change double hyphens (en dashes) to em (longer) dashes
Guido van Rossum [Mon, 21 Nov 2016 02:01:29 +0000 (18:01 -0800)]
Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331)
Martin Panter [Sun, 20 Nov 2016 07:58:35 +0000 (07:58 +0000)]
Issue #25659: Change assert to TypeError in from_buffer/_copy()
Based on suggestion by Eryk Sun.
Martin Panter [Sun, 20 Nov 2016 07:56:37 +0000 (07:56 +0000)]
Issue #10656: Fix out-of-tree building on AIX
The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:07:42 +0000 (21:07 +0000)]
Rename the new --with-optimiations flag to --enable-optimizations.
Serhiy Storchaka [Sun, 20 Nov 2016 18:04:54 +0000 (20:04 +0200)]
Issue #28666: Fix removing readonly directories on Windows.
Serhiy Storchaka [Sun, 20 Nov 2016 15:42:32 +0000 (17:42 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories on Windows too.
Serhiy Storchaka [Sun, 20 Nov 2016 15:20:19 +0000 (17:20 +0200)]
Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Patch by Xiang Zhang.
Serhiy Storchaka [Sun, 20 Nov 2016 14:16:06 +0000 (16:16 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.
Serhiy Storchaka [Sun, 20 Nov 2016 10:13:44 +0000 (12:13 +0200)]
Issue #19569: Suggested more appropriate replacements for deprecated Unicode
C API functions.
Serhiy Storchaka [Sun, 20 Nov 2016 06:47:21 +0000 (08:47 +0200)]
Issue #28715: Added error checks for PyUnicode_AsUTF8().
Steve Dower [Sun, 20 Nov 2016 03:03:54 +0000 (19:03 -0800)]
Issue #28732: Raise ValueError when argv[0] is empty.
Steve Dower [Sun, 20 Nov 2016 02:33:39 +0000 (18:33 -0800)]
Issue #28732: Fix crash in os.spawnv() with no elements in args
Prevents crashes in some other posixmodule.c functions
Guido van Rossum [Sat, 19 Nov 2016 18:32:41 +0000 (10:32 -0800)]
Issue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330)
Steve Dower [Thu, 17 Nov 2016 00:32:22 +0000 (16:32 -0800)]
Fixes incorrect path in nuget package build.
Serhiy Storchaka [Wed, 16 Nov 2016 14:12:34 +0000 (16:12 +0200)]
Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).
Serhiy Storchaka [Wed, 16 Nov 2016 13:40:39 +0000 (15:40 +0200)]
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
The latter function is more readable, faster and doesn't raise exceptions.
Based on patch by Xiang Zhang.
Serhiy Storchaka [Wed, 16 Nov 2016 08:17:58 +0000 (10:17 +0200)]
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
Donald Stufft [Wed, 16 Nov 2016 02:18:20 +0000 (21:18 -0500)]
Merge - upgrade pip/setuptools
Donald Stufft [Wed, 16 Nov 2016 02:17:43 +0000 (21:17 -0500)]
Upgrade pip to 9.0.1 and setuptools to 28.8.0
Yury Selivanov [Tue, 15 Nov 2016 20:26:34 +0000 (15:26 -0500)]
Issue #28704: Fix create_unix_server to support Path-like objects
Yury Selivanov [Tue, 15 Nov 2016 20:20:34 +0000 (15:20 -0500)]
Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects.
Guido van Rossum [Tue, 15 Nov 2016 17:48:06 +0000 (09:48 -0800)]
Issue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321)
Xavier de Gaye [Tue, 15 Nov 2016 15:57:52 +0000 (16:57 +0100)]
Issue 28668: Skip tests where instanciation of multiprocessing.Queue
would raise ImportError
Serhiy Storchaka [Mon, 14 Nov 2016 17:29:59 +0000 (19:29 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Serhiy Storchaka [Mon, 14 Nov 2016 17:25:56 +0000 (19:25 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Serhiy Storchaka [Mon, 14 Nov 2016 17:22:12 +0000 (19:22 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers. Django tests depend on this.
Martin Panter [Mon, 14 Nov 2016 04:26:36 +0000 (04:26 +0000)]
Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
Patch by Matthieu S.
Martin Panter [Mon, 14 Nov 2016 01:58:57 +0000 (01:58 +0000)]
Issue #28016: Skip /dev/tty seekable() test on AIX
Martin Panter [Sun, 13 Nov 2016 23:25:06 +0000 (23:25 +0000)]
Issue #28678: Fix references to numeric_owner parameter
Xavier de Gaye [Sun, 13 Nov 2016 18:39:48 +0000 (19:39 +0100)]
Fix temporary file not deleted in test_socket
Ned Deily [Sat, 12 Nov 2016 21:35:48 +0000 (16:35 -0500)]
Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.
Patch by Gareth Rees.
Serhiy Storchaka [Sat, 12 Nov 2016 20:47:16 +0000 (22:47 +0200)]
Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
Serhiy Storchaka [Sat, 12 Nov 2016 12:35:46 +0000 (14:35 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Serhiy Storchaka [Sat, 12 Nov 2016 12:29:48 +0000 (14:29 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Serhiy Storchaka [Sat, 12 Nov 2016 12:28:06 +0000 (14:28 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Guido van Rossum [Fri, 11 Nov 2016 23:54:04 +0000 (15:54 -0800)]
Issue 28644: Document recent changes in typing.py (Ivan L)
Serhiy Storchaka [Fri, 11 Nov 2016 15:10:24 +0000 (17:10 +0200)]
Issue #28664: test_bz2 now works on non-Windows platforms without bunzip2
(e.g. on Android).
Serhiy Storchaka [Fri, 11 Nov 2016 10:05:01 +0000 (12:05 +0200)]
Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
Serhiy Storchaka [Fri, 11 Nov 2016 09:42:47 +0000 (11:42 +0200)]
Issue #23839: Various caches now are cleared before running every test file.
Guido van Rossum [Thu, 10 Nov 2016 16:29:18 +0000 (08:29 -0800)]
Issue #28649: fix second issue with _ForwardRef (#328)
Guido van Rossum [Thu, 10 Nov 2016 16:24:06 +0000 (08:24 -0800)]
Issue #28649: fix first issue with _ForwardRef (#327)
Yury Selivanov [Wed, 9 Nov 2016 23:55:45 +0000 (18:55 -0500)]
Issue #28653: Fix a refleak in functools.lru_cache.
Serhiy Storchaka [Wed, 9 Nov 2016 21:49:02 +0000 (23:49 +0200)]
Issue #28649: Clear the typing module caches when search for reference leaks.
Guido van Rossum [Wed, 9 Nov 2016 21:23:04 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch
Guido van Rossum [Wed, 9 Nov 2016 21:18:59 +0000 (13:18 -0800)]
Issue #28649: fix-typing-test-v2.diff
Guido van Rossum [Wed, 9 Nov 2016 21:12:51 +0000 (13:12 -0800)]
Issue #28556: More typing.py updates from upstream.
Yury Selivanov [Wed, 9 Nov 2016 20:47:00 +0000 (15:47 -0500)]
Issue #28652: Make loop methods reject socket kinds they do not support.
Yury Selivanov [Wed, 9 Nov 2016 14:42:14 +0000 (09:42 -0500)]
ssue #27942: Fix memory leak in codeobject.c
Andrew Kuchling [Wed, 9 Nov 2016 03:33:31 +0000 (22:33 -0500)]
Use http instead of https, due to certificate error
Andrew Kuchling [Wed, 9 Nov 2016 03:07:43 +0000 (22:07 -0500)]
Update URL for requests documentation after IRC request