]>
granicus.if.org Git - python/log
Benjamin Peterson [Sat, 3 Dec 2016 21:05:40 +0000 (13:05 -0800)]
also do not leak the mode string if creating the file fails
Benjamin Peterson [Sat, 3 Dec 2016 21:03:18 +0000 (13:03 -0800)]
do not leak the FILE * pointer in error cases of fdopen()
Benjamin Peterson [Sat, 3 Dec 2016 20:39:10 +0000 (12:39 -0800)]
Added tag v2.7.13rc1 for changeset
4d6fd49eeb14
Benjamin Peterson [Sat, 3 Dec 2016 20:38:47 +0000 (12:38 -0800)]
python 2.7.13rc1
Benjamin Peterson [Sat, 3 Dec 2016 20:36:45 +0000 (12:36 -0800)]
update pydoc topics
Benjamin Peterson [Sat, 3 Dec 2016 20:32:38 +0000 (12:32 -0800)]
inline constant into its single use
Benjamin Peterson [Sat, 3 Dec 2016 20:08:24 +0000 (12:08 -0800)]
fix refleak in reduce_2 error case
Benjamin Peterson [Sat, 3 Dec 2016 20:01:32 +0000 (12:01 -0800)]
fix refleak in null-containing error case (#21147)
Benjamin Peterson [Sat, 3 Dec 2016 19:30:04 +0000 (11:30 -0800)]
when you enter repr, you must leave, too (#25455)
Benjamin Peterson [Sat, 3 Dec 2016 19:12:51 +0000 (11:12 -0800)]
fix refleak in file handle creation error case
Benjamin Peterson [Sat, 3 Dec 2016 19:01:50 +0000 (11:01 -0800)]
fix refleak in the shift-by-zero case (#27870)
Ned Deily [Sat, 3 Dec 2016 07:14:09 +0000 (02:14 -0500)]
Issue #28440: No longer add /Library/Python/site-packages, the Apple-supplied
system Python site-packages directory, to sys.path for macOS framework builds.
The coupling between the two Python instances often caused confusion and, as
of macOS 10.12, changes to the site-packages layout can cause pip component
installations to fail. This change reverts the effects introduced in 2.7.0
by Issue #4865. If you are using a package with both the Apple system Python
2.7 and a user-installed Python 2.7, you will need to ensure that copies of
the package are installed with both Python instances.
Serhiy Storchaka [Sat, 3 Dec 2016 05:57:54 +0000 (07:57 +0200)]
Try to fix test.test_support.rmtree() on Windows for fixing issue28847 tests.
Martin Panter [Sat, 3 Dec 2016 03:44:16 +0000 (03:44 +0000)]
Issue #28847: Fix spelling
Serhiy Storchaka [Fri, 2 Dec 2016 21:13:42 +0000 (23:13 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.
Benjamin Peterson [Fri, 2 Dec 2016 08:02:24 +0000 (00:02 -0800)]
declarations to the top of the block
Benjamin Peterson [Fri, 2 Dec 2016 07:58:38 +0000 (23:58 -0800)]
increase test_smtplib timeouts
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 [Fri, 2 Dec 2016 05:58:42 +0000 (07:58 +0200)]
Issue #28847: dubmdbm no longer writes the index file in when it is not
changed and supports reading read-only files.
doko@ubuntu.com [Thu, 1 Dec 2016 20:42:15 +0000 (21:42 +0100)]
- Import latest config.sub config.guess files
Serhiy Storchaka [Thu, 1 Dec 2016 08:27:11 +0000 (10:27 +0200)]
Issue #11145: Fixed miscellaneous issues with C-style formatting of types
with custom __oct__ and __hex__.
Martin Panter [Thu, 1 Dec 2016 01:32:16 +0000 (01:32 +0000)]
Issue #28771: Correct documentation of signatures using const
Martin Panter [Wed, 30 Nov 2016 10:32:40 +0000 (10:32 +0000)]
Issue #25701: Document that some C APIs can both set and delete items
Also document that using the dedicated functions to delete items is
preferred. Using PyObject_SetAttr/String() and PySequence_SetItem/Slice() for
deletion is deprecated.
Martin Panter [Wed, 30 Nov 2016 10:18:45 +0000 (10:18 +0000)]
Issue #28820: Fix spelling of “practice” as a noun
Serhiy Storchaka [Tue, 29 Nov 2016 18:49:14 +0000 (20:49 +0200)]
Issue #24469: Fixed memory leak caused by int subclasses without overridden
tp_free (e.g. C-inherited Cython classes).
Serhiy Storchaka [Sat, 26 Nov 2016 11:43:39 +0000 (13:43 +0200)]
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
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:13:44 +0000 (00:13 -0800)]
replace --with-optimizations references with --enable-optimizations in docs.
Martin Panter [Mon, 21 Nov 2016 00:21:39 +0000 (00:21 +0000)]
Change double hyphens (en dashes) to em (longer) dashes
Martin Panter [Sun, 20 Nov 2016 09:35:06 +0000 (09:35 +0000)]
Issue #25659: Change assert to TypeError in from_buffer/_copy()
Based on suggestion by Eryk Sun.
Martin Panter [Sun, 20 Nov 2016 09:31:41 +0000 (09:31 +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.
Martin Panter [Sun, 20 Nov 2016 23:06:58 +0000 (23:06 +0000)]
Issue #28666: Fix stat import
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:19:36 +0000 (21:19 +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:03 +0000 (17:42 +0200)]
Issue #28666: Now test.test_support.rmtree is able to remove unwritable or
unreadable directories on Windows too.
Serhiy Storchaka [Sun, 20 Nov 2016 14:15:35 +0000 (16:15 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.
Donald Stufft [Wed, 16 Nov 2016 02:21:35 +0000 (21:21 -0500)]
Upgrade pip to 9.0.1 and setuptools to 28.8.0
Serhiy Storchaka [Mon, 14 Nov 2016 17:25:44 +0000 (19:25 +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:13:55 +0000 (04:13 +0000)]
Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
Patch by Matthieu S.
Martin Panter [Mon, 14 Nov 2016 03:35:59 +0000 (03:35 +0000)]
Issue #28016: Skip /dev/tty seekable() test on AIX
Ned Deily [Sat, 12 Nov 2016 21:34:25 +0000 (16:34 -0500)]
Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.
Initial 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.
Terry Jan Reedy [Sat, 12 Nov 2016 00:09:50 +0000 (19:09 -0500)]
Issue #28615: Backport imaginary/complex number text from 3.x.
Patch by Mariatta Wijaya.
Terry Jan Reedy [Fri, 11 Nov 2016 17:03:09 +0000 (12:03 -0500)]
Issue #27854: Include idlelib/help.html in 2.7 Windows installer.
Without this file, clicking Help => IDLE Help did nothing.
Serhiy Storchaka [Fri, 11 Nov 2016 10:11:55 +0000 (12:11 +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:25 +0000 (11:42 +0200)]
Issue #23839: Various caches now are cleared before running every test file.
Terry Jan Reedy [Thu, 10 Nov 2016 23:42:58 +0000 (18:42 -0500)]
Issue #25507: Add back import needed for 2.x encoding warning box.
Add pointer to 'Encoding declaration' in Language Reference.
Yury Selivanov [Wed, 9 Nov 2016 14:41:15 +0000 (09:41 -0500)]
Issue #27942: Fix memory leak in codeobject.c
Serhiy Storchaka [Tue, 8 Nov 2016 19:15:55 +0000 (21:15 +0200)]
Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module. The expression parser now
supports exact syntax supported by GNU gettext.
Zachary Ware [Mon, 7 Nov 2016 19:29:07 +0000 (13:29 -0600)]
Fix PC/VS9.0/build_ssl.py for recent OpenSSL
Martin Panter [Sat, 5 Nov 2016 03:15:20 +0000 (03:15 +0000)]
Fix spacing after C++ in documentation
Ned Deily [Fri, 4 Nov 2016 21:05:59 +0000 (17:05 -0400)]
Issue #28616: Correct help for sys.version_info releaselevel component.
Patch by Anish Tambe.
Serhiy Storchaka [Thu, 3 Nov 2016 13:36:50 +0000 (15:36 +0200)]
Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
Donald Stufft [Wed, 2 Nov 2016 20:20:20 +0000 (16:20 -0400)]
pip 9.0 works fine without the ssl module
Donald Stufft [Wed, 2 Nov 2016 20:01:17 +0000 (16:01 -0400)]
Update pip to 9.0.0 and setuptools to 28.7.1
Serhiy Storchaka [Wed, 2 Nov 2016 10:05:54 +0000 (12:05 +0200)]
Issue #28513: Documented command-line interface of zipfile.
Zachary Ware [Tue, 1 Nov 2016 06:44:04 +0000 (01:44 -0500)]
Closes #28568: Fix VS9.0 build files to use sqlite 3.8.11.0
Ned Deily [Mon, 31 Oct 2016 23:48:38 +0000 (19:48 -0400)]
Issue #28248: Update macOS installer build to use OpenSSL 1.0.2j.
Original patch by Mariatta Wijaya.
Serhiy Storchaka [Sun, 30 Oct 2016 18:52:55 +0000 (20:52 +0200)]
Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar
file with compression before trying to open it without compression. Otherwise
it had 50% chance failed with ignore_zeros=True.
Martin Panter [Sun, 30 Oct 2016 05:41:04 +0000 (05:41 +0000)]
Issue #26638: Cannot directly link to main option from the “timeit” module
This seems to be because the “timeit” module defines its own set of options
Martin Panter [Sun, 30 Oct 2016 05:19:02 +0000 (05:19 +0000)]
Issue #26638: Mask undefined CLI options to defeat new Sphinx warnings
Martin Panter [Sun, 30 Oct 2016 05:24:45 +0000 (05:24 +0000)]
Issue #26638: Disable inappropriate links to Python interpreter options
Serhiy Storchaka [Fri, 28 Oct 2016 09:14:34 +0000 (12:14 +0300)]
Fixed possible NULL decrefing.
Serhiy Storchaka [Thu, 27 Oct 2016 19:47:08 +0000 (22:47 +0300)]
Issue #22949: Documented that fnmatch.translate() is for use with re.match().
Serhiy Storchaka [Thu, 27 Oct 2016 18:41:04 +0000 (21:41 +0300)]
Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.
Martin Panter [Wed, 26 Oct 2016 00:44:31 +0000 (00:44 +0000)]
Issue #26240: Clean up the subprocess module doc string
Patch by Tim Mitchell.
Serhiy Storchaka [Tue, 25 Oct 2016 06:51:38 +0000 (09:51 +0300)]
Issue #28515: Fixed py3k warnings.
Serhiy Storchaka [Mon, 24 Oct 2016 20:47:08 +0000 (23:47 +0300)]
Issue #25464: Fixed HList.header_exists() in Tix module by adding
a workaround to Tix library bug.
Serhiy Storchaka [Sun, 23 Oct 2016 19:54:43 +0000 (22:54 +0300)]
Some distutils tests require zlib for creating tar.gz source distribution.
Serhiy Storchaka [Sun, 23 Oct 2016 19:32:18 +0000 (22:32 +0300)]
Issue #28115: ZIP creation test requires zlib.
Serhiy Storchaka [Sun, 23 Oct 2016 12:52:01 +0000 (15:52 +0300)]
Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
Serhiy Storchaka [Sun, 23 Oct 2016 10:07:48 +0000 (13:07 +0300)]
Issue #28115: Added tests for CLI of the zipfile module.
Martin Panter [Sat, 22 Oct 2016 03:00:32 +0000 (03:00 +0000)]
Issue #28435: Avoid no_proxy environment variable interfering with tests
Patch by Piotr Szczepaniak.
Ned Deily [Thu, 20 Oct 2016 19:41:11 +0000 (15:41 -0400)]
Issue #24381: Avoid unused function warning when building bundled macOS libffi.
Patch by Vajrasky Kok.
Martin Panter [Thu, 20 Oct 2016 03:56:48 +0000 (03:56 +0000)]
Issue #28480: Avoid label at end of compound statement --without-threads
Serhiy Storchaka [Wed, 19 Oct 2016 16:37:20 +0000 (19:37 +0300)]
Issue #19795: Fixed formatting a table.
Serhiy Storchaka [Wed, 19 Oct 2016 15:30:16 +0000 (18:30 +0300)]
Issue #19795: Improved more markups of True/False.
Serhiy Storchaka [Wed, 19 Oct 2016 13:43:18 +0000 (16:43 +0300)]
Issue #19795: Mark up True and False as literal text instead of bold.
Serhiy Storchaka [Wed, 19 Oct 2016 13:29:10 +0000 (16:29 +0300)]
Issue #19795: Mark up None as literal text.
Victor Stinner [Sun, 16 Oct 2016 17:14:23 +0000 (19:14 +0200)]
Issue #27896: Allow passing sphinx options to Doc/Makefile
Patch written by Julien Palard.
Berker Peksag [Sun, 16 Oct 2016 22:05:04 +0000 (01:05 +0300)]
Issue #21720: Improve exception message when the type of fromlist is unicode
Martin Panter [Sat, 15 Oct 2016 01:18:16 +0000 (01:18 +0000)]
Issue #27800: Document limitation and workaround for multiple RE repetitions
Guido van Rossum [Thu, 13 Oct 2016 21:34:20 +0000 (14:34 -0700)]
Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. (backport to 2.7)
Guido van Rossum [Thu, 13 Oct 2016 20:29:55 +0000 (13:29 -0700)]
Issue #24452: Make webbrowser support Chrome on Mac OS X (backport to 2.7)
Zachary Ware [Tue, 11 Oct 2016 02:57:04 +0000 (21:57 -0500)]
Issue #28248: Update Windows build to use OpenSSL 1.0.2j
Martin Panter [Mon, 10 Oct 2016 01:00:00 +0000 (01:00 +0000)]
Issue #28394: Typo fixes in code comments and changelog
Includes patch by Ville Skyttä.
Serhiy Storchaka [Sat, 8 Oct 2016 09:24:09 +0000 (12:24 +0300)]
Issue #26906: Resolving special methods of uninitialized type now causes
implicit initialization of the type instead of a fail.
Serhiy Storchaka [Sat, 8 Oct 2016 06:58:08 +0000 (09:58 +0300)]
Silenced compiler warnings.
Serhiy Storchaka [Fri, 7 Oct 2016 20:24:35 +0000 (23:24 +0300)]
Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.
Serhiy Storchaka [Fri, 7 Oct 2016 20:12:53 +0000 (23:12 +0300)]
Issue #26293: Fixed writing ZIP files that starts not from the start of the
file. Offsets in ZIP file now are relative to the start of the archive in
conforming to the specification.
Serhiy Storchaka [Fri, 7 Oct 2016 18:51:09 +0000 (21:51 +0300)]
Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.
Benjamin Peterson [Thu, 6 Oct 2016 06:26:24 +0000 (23:26 -0700)]
make 'where' Py_ssize_t
Benjamin Peterson [Thu, 6 Oct 2016 05:09:31 +0000 (22:09 -0700)]
skip test on windows
Benjamin Peterson [Thu, 6 Oct 2016 05:00:24 +0000 (22:00 -0700)]
Benjamin Peterson [Thu, 6 Oct 2016 05:00:05 +0000 (22:00 -0700)]
skip test if resizing is not supported
Benjamin Peterson [Thu, 6 Oct 2016 04:45:48 +0000 (21:45 -0700)]
mmap: do all internal arithmetic with Py_ssize_t while being very careful about overflow
Serhiy Storchaka [Tue, 4 Oct 2016 15:17:08 +0000 (18:17 +0300)]
Issue #28350: String constants with null character no longer interned.
Serhiy Storchaka [Sun, 2 Oct 2016 18:16:28 +0000 (21:16 +0300)]
Moved Unicode C API related tests to separate test class.
Serhiy Storchaka [Sun, 2 Oct 2016 08:10:18 +0000 (11:10 +0300)]
Issue #27358: Backported tests.
Serhiy Storchaka [Sun, 2 Oct 2016 07:36:33 +0000 (10:36 +0300)]
Issue #28257: Backported a test.