Commit Graph

79926 Commits

Author SHA1 Message Date
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
Serhiy Storchaka b7c057a143 Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.
2016-11-20 16:15:35 +02:00
Donald Stufft bd20530e17 Upgrade pip to 9.0.1 and setuptools to 28.8.0 2016-11-15 21:21:35 -05:00
Serhiy Storchaka d3e6c9e4dc Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers.  Django tests depend on this.
2016-11-14 19:25:44 +02:00
Martin Panter 2167666658 Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
Patch by Matthieu S.
2016-11-14 04:13:55 +00:00
Martin Panter 536d93dbd0 Issue #28016: Skip /dev/tty seekable() test on AIX 2016-11-14 03:35:59 +00:00
Ned Deily 09231e657a Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.
Initial patch by Gareth Rees.
2016-11-12 16:34:25 -05:00
Serhiy Storchaka 58b6b985a0 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.
2016-11-12 22:47:16 +02:00
Terry Jan Reedy fed0883e94 Issue #28615: Backport imaginary/complex number text from 3.x.
Patch by Mariatta Wijaya.
2016-11-11 19:09:50 -05:00
Terry Jan Reedy 30b51c9224 Issue #27854: Include idlelib/help.html in 2.7 Windows installer.
Without this file, clicking Help => IDLE Help did nothing.
2016-11-11 12:03:09 -05:00
Serhiy Storchaka 1e4b73fcf7 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.
2016-11-11 12:11:55 +02:00
Serhiy Storchaka ac33bd7d1d Issue #23839: Various caches now are cleared before running every test file. 2016-11-11 11:42:25 +02:00
Terry Jan Reedy a33deb2d07 Issue #25507: Add back import needed for 2.x encoding warning box.
Add pointer to 'Encoding declaration' in Language Reference.
2016-11-10 18:42:58 -05:00