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
Yury Selivanov
48aa605337
Issue #27942 : Fix memory leak in codeobject.c
2016-11-09 09:41:15 -05:00
Serhiy Storchaka
a8760275bd
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.
2016-11-08 21:15:55 +02:00
Zachary Ware
14269d91d1
Fix PC/VS9.0/build_ssl.py for recent OpenSSL
2016-11-07 13:29:07 -06:00
Martin Panter
b26a7d18ef
Fix spacing after C++ in documentation
2016-11-05 03:15:20 +00:00
Ned Deily
0caaa6c94d
Issue #28616 : Correct help for sys.version_info releaselevel component.
...
Patch by Anish Tambe.
2016-11-04 17:05:59 -04:00
Serhiy Storchaka
52b0888dbd
Issue #28387 : Fixed possible crash in _io.TextIOWrapper deallocator when
...
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
2016-11-03 15:36:50 +02:00
Donald Stufft
d01b516e9f
pip 9.0 works fine without the ssl module
2016-11-02 16:20:20 -04:00
Donald Stufft
c6c0aa4a3b
Update pip to 9.0.0 and setuptools to 28.7.1
2016-11-02 16:01:17 -04:00
Serhiy Storchaka
b858d7f074
Issue #28513 : Documented command-line interface of zipfile.
2016-11-02 12:05:54 +02:00
Zachary Ware
333b6177a4
Closes #28568 : Fix VS9.0 build files to use sqlite 3.8.11.0
2016-11-01 01:44:04 -05:00
Ned Deily
38db34abab
Issue #28248 : Update macOS installer build to use OpenSSL 1.0.2j.
...
Original patch by Mariatta Wijaya.
2016-10-31 19:48:38 -04:00
Serhiy Storchaka
5396257be2
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.
2016-10-30 20:52:55 +02:00
Martin Panter
39d74a9108
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
2016-10-30 05:41:04 +00:00
Martin Panter
e3e362e398
Issue #26638 : Mask undefined CLI options to defeat new Sphinx warnings
2016-10-30 05:19:02 +00:00