Commit Graph

80038 Commits

Author SHA1 Message Date
Benjamin Peterson 9c1426de75 2.7.13 final bump 2016-12-17 12:00:35 -08:00
Serhiy Storchaka 30ad6e2c46 Issue #14061: Misc fixes and cleanups in archiving code in shutil.
Improved the documentation and tests for make_archive().
Improved error handling when corresponding compress module is not available.
External zip executable is now used if the zlib module is not available.
2016-12-16 19:04:17 +02:00
Serhiy Storchaka 6560e22c66 Issue #28925: cPickle now correctly propagates errors when unpickle instances
of old-style classes.
2016-12-15 12:51:34 +02:00
Serhiy Storchaka 7117d35dfc Issue #5322: Restored tests for __new__. 2016-12-14 19:48:38 +02:00
Benjamin Peterson 0644d2629e merge 2.7.13 release branch 2016-12-13 23:32:54 -08:00
Benjamin Peterson 4403d501ac revert a37cc3d926ec (#5322) 2016-12-13 23:30:16 -08:00
Benjamin Peterson d1aad3fceb Backed out changeset ea904d4b3634 2016-12-13 23:27:56 -08:00
Martin Panter 3eb92e06df Issue #28916: No special case for leading zeros with %x alternative form 2016-12-11 03:51:44 +00:00
Ned Deily 3797922ad9 Issue #28900: Update documentation sidebar for 3.6.0rc. 2016-12-07 23:34:23 -05:00
Benjamin Peterson 5cc5493c72 remove unused logger from BaseFix 2016-12-05 22:30:26 -08:00
Serhiy Storchaka 8b5528782a Fixed mismatching title overline. 2016-12-04 15:42:13 +02:00
Serhiy Storchaka e7f555b969 Fixed double hyphens that are rendered to literal en-dashes in the documenation. 2016-12-04 10:20:18 +02:00
Benjamin Peterson 1426a99d31 simplify cleanup of test_replace_parent_in_sys_modules (closes #28862) 2016-12-03 23:17:04 -08:00
Benjamin Peterson 2df5adb92e prepare for 2.7.14 dev 2016-12-03 13:12:03 -08:00
Benjamin Peterson 9ea8fafd6a fix function name 2016-12-03 13:07:47 -08:00
Benjamin Peterson e95048e8bb also do not leak the mode string if creating the file fails 2016-12-03 13:05:40 -08:00
Benjamin Peterson d3035d5d3d do not leak the FILE * pointer in error cases of fdopen() 2016-12-03 13:03:18 -08:00
Benjamin Peterson cadd22f2f5 Added tag v2.7.13rc1 for changeset 4d6fd49eeb14 2016-12-03 12:39:10 -08:00
Benjamin Peterson 33b2d786e7 python 2.7.13rc1 2016-12-03 12:38:47 -08:00
Benjamin Peterson ddb9c07db7 update pydoc topics 2016-12-03 12:36:45 -08:00
Benjamin Peterson 5726b6316b inline constant into its single use 2016-12-03 12:32:38 -08:00
Benjamin Peterson f8f2138bd4 fix refleak in reduce_2 error case 2016-12-03 12:08:24 -08:00
Benjamin Peterson 26c985a8aa fix refleak in null-containing error case (#21147) 2016-12-03 12:01:32 -08:00
Benjamin Peterson d7324bcf29 when you enter repr, you must leave, too (#25455) 2016-12-03 11:30:04 -08:00
Benjamin Peterson ada7d92917 fix refleak in file handle creation error case 2016-12-03 11:12:51 -08:00
Benjamin Peterson 445844993b fix refleak in the shift-by-zero case (#27870) 2016-12-03 11:01:50 -08:00
Ned Deily 32b3734866 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.
2016-12-03 02:14:09 -05:00
Serhiy Storchaka 7653c3806c Try to fix test.test_support.rmtree() on Windows for fixing issue28847 tests. 2016-12-03 07:57:54 +02:00
Martin Panter 1d2cfe263c Issue #28847: Fix spelling 2016-12-03 03:44:16 +00:00
Serhiy Storchaka 1ae56fb9ee Issue #21818: Fixed references to classes that have names matching with module
names.
2016-12-02 23:13:42 +02:00
Benjamin Peterson cffc0f4178 declarations to the top of the block 2016-12-02 00:02:24 -08:00
Benjamin Peterson 1122236c89 increase test_smtplib timeouts 2016-12-01 23:58:38 -08:00
Serhiy Storchaka daf82f7539 Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.
2016-12-02 08:42:43 +02:00
Serhiy Storchaka 9bd44d6dab Issue #28847: dubmdbm no longer writes the index file in when it is not
changed and supports reading read-only files.
2016-12-02 07:58:42 +02:00
doko@ubuntu.com 6df26b5f55 - Import latest config.sub config.guess files 2016-12-01 21:42:15 +01:00
Serhiy Storchaka c30f27d1f2 Issue #11145: Fixed miscellaneous issues with C-style formatting of types
with custom __oct__ and __hex__.
2016-12-01 10:27:11 +02:00
Martin Panter b398d2c2bf Issue #28771: Correct documentation of signatures using const 2016-12-01 01:32:16 +00:00
Martin Panter ed82604e3f 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.
2016-11-30 10:32:40 +00:00
Martin Panter a52b567a3f Issue #28820: Fix spelling of “practice” as a noun 2016-11-30 10:18:45 +00:00
Serhiy Storchaka 13cc67946b Issue #24469: Fixed memory leak caused by int subclasses without overridden
tp_free (e.g. C-inherited Cython classes).
2016-11-29 20:49:14 +02:00
Serhiy Storchaka 0092bc7279 Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
2016-11-26 13:43:39 +02:00
Serhiy Storchaka e4a147b1bd Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
2016-11-21 11:37:18 +02:00
Gregory P. Smith 8efc3c9659 replace --with-optimizations references with --enable-optimizations in docs. 2016-11-21 00:13:44 -08:00
Martin Panter 3738ef4294 Change double hyphens (en dashes) to em (longer) dashes 2016-11-21 00:21:39 +00:00
Martin Panter fd08fdc7be Issue #25659: Change assert to TypeError in from_buffer/_copy()
Based on suggestion by Eryk Sun.
2016-11-20 09:35:06 +00:00
Martin Panter f75a2ebbac 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.
2016-11-20 09:31:41 +00:00
Martin Panter 398bc76575 Issue #28666: Fix stat import 2016-11-20 23:06:58 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) b999915854 Rename the new --with-optimiations flag to --enable-optimizations. 2016-11-20 21:19:36 +00:00
Serhiy Storchaka d54d327f1c Issue #28666: Fix removing readonly directories on Windows. 2016-11-20 20:04:54 +02:00
Serhiy Storchaka f0d0306c24 Issue #28666: Now test.test_support.rmtree is able to remove unwritable or
unreadable directories on Windows too.
2016-11-20 17:42:03 +02:00