]> granicus.if.org Git - python/log
python
9 years agoFix typo in test.rst
Berker Peksag [Mon, 25 Jan 2016 06:24:57 +0000 (08:24 +0200)]
Fix typo in test.rst

Reported by Mike Scalora on docs@p.o.

9 years agodoc: i18n HTML templates
Victor Stinner [Sat, 23 Jan 2016 11:55:11 +0000 (12:55 +0100)]
doc: i18n HTML templates

Issue #25907: Use {% trans %} tags in HTML templates to ease the translation of
the documentation. The tag comes from Jinja templating system, used by Sphinx.

Patch written by Julien Palard.

9 years agoPer issue21949 and issue1629: Document the Py_SIZE, Py_TYPE, Py_REFCNT macros.
Gregory P. Smith [Fri, 22 Jan 2016 21:17:41 +0000 (13:17 -0800)]
Per issue21949 and issue1629: Document the Py_SIZE, Py_TYPE, Py_REFCNT macros.
This was already done in the 3.5 branch; this just does the same in the 2.7
branch.

9 years agocode_richcompare() now uses the constants types
Victor Stinner [Fri, 22 Jan 2016 11:33:12 +0000 (12:33 +0100)]
code_richcompare() now uses the constants types

Issue #25843: When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.

Add a new _PyCode_ConstantKey() private function.

9 years agoreject negative data_size
Benjamin Peterson [Fri, 22 Jan 2016 06:02:46 +0000 (22:02 -0800)]
reject negative data_size

9 years agoUpgrade pip to 8.0.2
Donald Stufft [Fri, 22 Jan 2016 02:57:17 +0000 (21:57 -0500)]
Upgrade pip to 8.0.2

9 years agoIssue #18620: Improve Pool examples in multiprocessing documentation
Berker Peksag [Thu, 21 Jan 2016 22:07:00 +0000 (00:07 +0200)]
Issue #18620: Improve Pool examples in multiprocessing documentation

A single call to Pool.apply_async() will create only one process. To use all
of the pool's processes, it should be invoked multiple times:

    with Pool(processes=4) as pool:
        results = [pool.apply_async(func, ()) for i in range(4)]

Patch by Davin Potts.

9 years agoIssue #26106: doc: Move text of licenses to parsed literal block
Victor Stinner [Thu, 21 Jan 2016 07:56:00 +0000 (08:56 +0100)]
Issue #26106: doc: Move text of licenses to parsed literal block

This change helps to ignore text of PSF, BEOPEN.com and CNRI licenses when
translating the documentation. Patch written by Julien Palard who is
translating Python 3.5 doc to french. Text of other licenses already used
preformatted format.

9 years agoprevent buffer overflow in get_data (closes #26171)
Benjamin Peterson [Thu, 21 Jan 2016 06:23:44 +0000 (22:23 -0800)]
prevent buffer overflow in get_data (closes #26171)

9 years agofix refleak in error condition
Benjamin Peterson [Thu, 21 Jan 2016 06:06:43 +0000 (22:06 -0800)]
fix refleak in error condition

9 years agoReplace fpgetmask() with fedisableexcept()
Victor Stinner [Wed, 20 Jan 2016 21:30:58 +0000 (22:30 +0100)]
Replace fpgetmask() with fedisableexcept()

Issue #24520: On FreeBSD, fpgetmask() was deprecated long time ago.
fedisableexcept() is now preferred.

9 years agoissue25982 - Add a class definition for managers.Namespace in the multiprocessing...
Senthil Kumaran [Wed, 20 Jan 2016 11:18:48 +0000 (03:18 -0800)]
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.

9 years agoIssue #26147: xmlrpclib now works with unicode not encodable with used
Serhiy Storchaka [Wed, 20 Jan 2016 08:33:51 +0000 (10:33 +0200)]
Issue #26147: xmlrpclib now works with unicode not encodable with used
non-UTF-8 encoding.

9 years agoIssue #25925: Backport C coverage reporting Makefile targets
Zachary Ware [Wed, 20 Jan 2016 06:11:52 +0000 (00:11 -0600)]
Issue #25925: Backport C coverage reporting Makefile targets

Originally added by Christian Heimes in 85ec2b5bfcd2.

Initial patch for the backport by Alecsandru Patrascu.

9 years agoUpgrade pip to 8.0.0 and setuptools to 19.4
Donald Stufft [Wed, 20 Jan 2016 01:17:03 +0000 (20:17 -0500)]
Upgrade pip to 8.0.0 and setuptools to 19.4

9 years agoIssue #16620: Fixed AttributeError in msilib.Directory.glob().
Serhiy Storchaka [Tue, 19 Jan 2016 11:55:36 +0000 (13:55 +0200)]
Issue #16620: Fixed AttributeError in msilib.Directory.glob().

9 years agoadd space
Benjamin Peterson [Tue, 19 Jan 2016 05:18:49 +0000 (21:18 -0800)]
add space

9 years agoset tp_new from the class in the hierarchy that actually owns the descriptor (closes...
Benjamin Peterson [Tue, 19 Jan 2016 05:17:54 +0000 (21:17 -0800)]
set tp_new from the class in the hierarchy that actually owns the descriptor (closes #25731)

Debugging by Eryk Sun.

9 years agoIssue #9006: Added tests for XML RPC with non-UTF-8 encoding.
Serhiy Storchaka [Mon, 18 Jan 2016 17:38:53 +0000 (19:38 +0200)]
Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.

9 years agoIssue #21847: Fixed xmlrpclib and tests on Unicode-disabled builds.
Serhiy Storchaka [Mon, 18 Jan 2016 17:35:23 +0000 (19:35 +0200)]
Issue #21847: Fixed xmlrpclib and tests on Unicode-disabled builds.

9 years agoIssue #6500: Fixed infinite recursion in urllib2.Request.__getattr__().
Serhiy Storchaka [Mon, 18 Jan 2016 08:35:40 +0000 (10:35 +0200)]
Issue #6500: Fixed infinite recursion in urllib2.Request.__getattr__().

9 years agoIssue26017 - Suggest enclosing command args in double quotes when using characters...
Senthil Kumaran [Mon, 18 Jan 2016 02:45:11 +0000 (18:45 -0800)]
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.

9 years agoIssue26142 - Fix a formatting bug in c-api intro doc.
Senthil Kumaran [Mon, 18 Jan 2016 01:05:14 +0000 (17:05 -0800)]
Issue26142 - Fix a formatting bug in c-api intro doc.

9 years agoIssue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Terry Jan Reedy [Sun, 17 Jan 2016 04:43:58 +0000 (23:43 -0500)]
Issue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.

9 years agoIssue #25824: Fixes sys.winver to not include any architecture suffix.
Steve Dower [Sat, 16 Jan 2016 21:41:48 +0000 (13:41 -0800)]
Issue #25824: Fixes sys.winver to not include any architecture suffix.

9 years agoIssue26035 - Correct the argument names used in the docs of the traceback module...
Senthil Kumaran [Sat, 16 Jan 2016 06:13:16 +0000 (22:13 -0800)]
Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args.

9 years agoIssue #14771: Redirect GDB's stdin to avoid messing the terminal settings
Martin Panter [Sat, 16 Jan 2016 05:07:35 +0000 (05:07 +0000)]
Issue #14771: Redirect GDB's stdin to avoid messing the terminal settings

Otherwise, GDB seems to affect the terminal's foreground process group,
interfering with test_ioctl, which does not expect the foreground process to
change during the test. This change also solves the problem of the tests
being stopped in the shell if test_gdb is run twice in parallel.

9 years agoIssue #26127: Fix links in tokenize documentation
Martin Panter [Sat, 16 Jan 2016 04:32:52 +0000 (04:32 +0000)]
Issue #26127: Fix links in tokenize documentation

9 years agoIssue #26114: Remove mention of 'Numerical Recipes'.
Brett Cannon [Fri, 15 Jan 2016 17:41:49 +0000 (09:41 -0800)]
Issue #26114: Remove mention of 'Numerical Recipes'.

9 years agoIssue26097 - Fix the TextTestRunner documentation, mention all the arguments of the...
Senthil Kumaran [Fri, 15 Jan 2016 05:57:57 +0000 (21:57 -0800)]
Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the class.

Patch contributed by Nicolas Évrard.

9 years agoIssue #25940: Use self-signed.pythontest.net in SSL tests
Martin Panter [Fri, 15 Jan 2016 00:25:29 +0000 (00:25 +0000)]
Issue #25940: Use self-signed.pythontest.net in SSL tests

This is instead of svn.python.org, whose certificate recently expired, and
whose new certificate uses a different root certificate.

The certificate used at the pythontest server was modifed to set the "basic
constraints" CA flag. This flag seems to be required for test_get_ca_certs_
capath() to work.

Added the new self-signed certificate to capath with the following commands:

cp Lib/test/{selfsigned_pythontestdotnet.pem,capath/}
c_rehash -v Lib/test/capath/
c_rehash -v -old Lib/test/capath/
# Note the generated file names
cp Lib/test/capath/{selfsigned_pythontestdotnet.pem,0e4015b9.0}
mv Lib/test/capath/{selfsigned_pythontestdotnet.pem,ce7b8643.0}

When attempting to connect to port 444 on the new server, the resulting error
code is EHOSTUNREACH on Linux, and ETIMEDOUT on Windows.

9 years ago#7944: close files explicitly in test_tarfile (backport d560eece0857).
Ezio Melotti [Wed, 13 Jan 2016 20:21:21 +0000 (22:21 +0200)]
#7944: close files explicitly in test_tarfile (backport d560eece0857).

9 years agoConvert test_tarfile to ASCII (backport c1ed490bd266).
Ezio Melotti [Wed, 13 Jan 2016 17:36:49 +0000 (19:36 +0200)]
Convert test_tarfile to ASCII (backport c1ed490bd266).

9 years ago#25574: backport glossary doc fix about hash and id of user-defined classes.
Ezio Melotti [Tue, 12 Jan 2016 09:36:25 +0000 (11:36 +0200)]
#25574: backport glossary doc fix about hash and id of user-defined classes.

9 years ago#19006: fix wording in unittest docs.
Ezio Melotti [Tue, 12 Jan 2016 09:03:10 +0000 (11:03 +0200)]
#19006: fix wording in unittest docs.

9 years agoIssue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat
Zachary Ware [Tue, 12 Jan 2016 07:20:33 +0000 (01:20 -0600)]
Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat

9 years agoMerge heads.
Ezio Melotti [Mon, 11 Jan 2016 22:11:24 +0000 (00:11 +0200)]
Merge heads.

9 years ago#25517: fix regex in the regex howto. Patch by Elena Oat.
Ezio Melotti [Mon, 11 Jan 2016 22:07:23 +0000 (00:07 +0200)]
#25517: fix regex in the regex howto.  Patch by Elena Oat.

9 years agoFixes issue #26083: Workaround a subprocess bug that raised an incorrect
Gregory P. Smith [Mon, 11 Jan 2016 21:56:42 +0000 (13:56 -0800)]
Fixes issue #26083: Workaround a subprocess bug that raised an incorrect
"ValueError: insecure string pickle" exception instead of the actual exception
on some platforms such as Mac OS X when an exception raised in the forked child
process prior to the exec() was large enough that it overflowed the internal
errpipe_read pipe buffer.

9 years ago#25991: fix readline example to limit history size. Patch by Daniel Dye.
Ezio Melotti [Mon, 11 Jan 2016 21:30:15 +0000 (23:30 +0200)]
#25991: fix readline example to limit history size.  Patch by Daniel Dye.

9 years agoComment out another test that won't pass after reverting the picklability
Barry Warsaw [Mon, 11 Jan 2016 19:49:34 +0000 (14:49 -0500)]
Comment out another test that won't pass after reverting the picklability
regression.

9 years agoComment out two tests that won't pass now after reverting the typeobject.c
Barry Warsaw [Mon, 11 Jan 2016 19:44:59 +0000 (14:44 -0500)]
Comment out two tests that won't pass now after reverting the typeobject.c
change.  Also, as per further discussion, we'll just remove the regressing
code in typeobject.c

9 years agoIssue #22995: [UPDATE] Comment out the one of the pickleability tests in
Barry Warsaw [Mon, 11 Jan 2016 18:52:23 +0000 (13:52 -0500)]
Issue #22995: [UPDATE] Comment out the one of the pickleability tests in
_PyObject_GetState() due to regressions observed in Cython-based projects.

9 years agodelete old crypto prose (closes #26066)
Benjamin Peterson [Sun, 10 Jan 2016 07:55:47 +0000 (23:55 -0800)]
delete old crypto prose (closes #26066)

9 years agoIssue23675 - A tiny clarification in the MRO glossary term.
Senthil Kumaran [Sun, 10 Jan 2016 06:36:13 +0000 (22:36 -0800)]
Issue23675 - A tiny clarification in the MRO glossary term.

9 years agoIssue20969 - Set the Epub Author and Epub Publisher in Python docs.
Senthil Kumaran [Fri, 8 Jan 2016 09:05:57 +0000 (01:05 -0800)]
Issue20969 - Set the Epub Author and Epub Publisher in Python docs.

9 years agofix typo in unittest docs (closes #26046)
Benjamin Peterson [Fri, 8 Jan 2016 06:01:26 +0000 (22:01 -0800)]
fix typo in unittest docs (closes #26046)

Patch from Upendra Kumar.

9 years agoIssue #5501: Clarify that invoking freeze_support() on non-Windows platforms has...
Berker Peksag [Thu, 7 Jan 2016 16:49:53 +0000 (18:49 +0200)]
Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms has no effect

Patch by Davin Potts and Camilla Montonen.

9 years agoFix issue18918 : Attach the pydoc documentation for 'FILES' topic.
Senthil Kumaran [Wed, 6 Jan 2016 11:54:18 +0000 (03:54 -0800)]
Fix issue18918 : Attach the pydoc documentation for 'FILES' topic.

Also rebuilt the pydoc_data with this change.

9 years agoIssue #6500: Reverting fbea8ff8db5e since it broke tests
Berker Peksag [Wed, 6 Jan 2016 01:08:12 +0000 (03:08 +0200)]
Issue #6500: Reverting fbea8ff8db5e since it broke tests

9 years agoIssue #6500: Fix "maximum recursion depth exceeded" error caused by Request.__getattr__()
Berker Peksag [Wed, 6 Jan 2016 00:04:52 +0000 (02:04 +0200)]
Issue #6500: Fix "maximum recursion depth exceeded" error caused by Request.__getattr__()

9 years agoIssue24733 - Remove unreachable code in traceback.c
Senthil Kumaran [Tue, 5 Jan 2016 06:40:39 +0000 (22:40 -0800)]
Issue24733 - Remove unreachable code in traceback.c

9 years agoBackport documentation improvement.
Senthil Kumaran [Mon, 4 Jan 2016 02:07:06 +0000 (18:07 -0800)]
Backport documentation improvement.

Issue24898 - Improve str.find documentation.

Simplify str.find explaination as per Georg Brandl's suggestion.

9 years agoBackport doc improvements for Issue21221 - Explain the usage of tm_isdst
Senthil Kumaran [Sun, 3 Jan 2016 09:03:40 +0000 (01:03 -0800)]
Backport doc improvements for Issue21221 - Explain the usage of tm_isdst
attribute of mktime, with valid values and meaning.

Patch contributed by Andrew Scheller.

9 years agoUpdate copyrights for 2016.
Ned Deily [Fri, 1 Jan 2016 22:45:31 +0000 (17:45 -0500)]
Update copyrights for 2016.

9 years agoFix grammar.
Zachary Ware [Fri, 1 Jan 2016 18:22:16 +0000 (12:22 -0600)]
Fix grammar.

Reported by Anatoly Techtonik on docs@

9 years agoremove some copyright notices supserseded by the toplevel ones
Benjamin Peterson [Fri, 1 Jan 2016 17:53:47 +0000 (11:53 -0600)]
remove some copyright notices supserseded by the toplevel ones

9 years agoreflow
Benjamin Peterson [Fri, 1 Jan 2016 17:12:44 +0000 (11:12 -0600)]
reflow

9 years ago2016 will be another year of writing copyrighted code
Benjamin Peterson [Fri, 1 Jan 2016 16:23:45 +0000 (10:23 -0600)]
2016 will be another year of writing copyrighted code

9 years agoIssue #25961: Fixed compilation error and a leak in type constructor.
Serhiy Storchaka [Thu, 31 Dec 2015 10:03:14 +0000 (12:03 +0200)]
Issue #25961: Fixed compilation error and a leak in type constructor.

9 years agoIssue #25961: Disallowed null characters in the type name.
Serhiy Storchaka [Wed, 30 Dec 2015 19:39:21 +0000 (21:39 +0200)]
Issue #25961: Disallowed null characters in the type name.

9 years agoMake catched exceptions more specific and correct a comment.
Serhiy Storchaka [Wed, 30 Dec 2015 18:59:32 +0000 (20:59 +0200)]
Make catched exceptions more specific and correct a comment.

9 years agoIssue #22995: Instances of extension types with a state that aren't
Serhiy Storchaka [Wed, 30 Dec 2015 18:43:29 +0000 (20:43 +0200)]
Issue #22995: Instances of extension types with a state that aren't
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled.  Including memoryview.

9 years agoIssue #20440: More use of Py_SETREF.
Serhiy Storchaka [Sun, 27 Dec 2015 13:41:58 +0000 (15:41 +0200)]
Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.

9 years agoIssue #20440: Applied yet one patch for using Py_SETREF.
Serhiy Storchaka [Sun, 27 Dec 2015 10:38:48 +0000 (12:38 +0200)]
Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.

9 years agoCloses #25664: handled logger names in Unicode.
Vinay Sajip [Sat, 26 Dec 2015 12:21:47 +0000 (12:21 +0000)]
Closes #25664: handled logger names in Unicode.

9 years agoIssue #24103: Fixed possible use after free in ElementTree.iterparse().
Serhiy Storchaka [Thu, 24 Dec 2015 09:51:24 +0000 (11:51 +0200)]
Issue #24103: Fixed possible use after free in ElementTree.iterparse().

9 years agoIssue #20440: Massive replacing unsafe attribute setting code with special
Serhiy Storchaka [Thu, 24 Dec 2015 08:35:35 +0000 (10:35 +0200)]
Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.

9 years agoIssue #25827: Add support for ICC to configure
Zachary Ware [Mon, 21 Dec 2015 17:43:03 +0000 (11:43 -0600)]
Issue #25827: Add support for ICC to configure

9 years agoFixed sizeof tests for dict and type (they were passed by accident).
Serhiy Storchaka [Sun, 20 Dec 2015 09:40:00 +0000 (11:40 +0200)]
Fixed sizeof tests for dict and type (they were passed by accident).
Added tests for dict views.

9 years agoCreate a file in SizeofTest only if needed.
Serhiy Storchaka [Sun, 20 Dec 2015 07:36:55 +0000 (09:36 +0200)]
Create a file in SizeofTest only if needed.

9 years agoUse correct PyGC_Head size in tests for issue #25421.
Serhiy Storchaka [Sat, 19 Dec 2015 20:49:29 +0000 (22:49 +0200)]
Use correct PyGC_Head size in tests for issue #25421.

9 years agoIssue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
Serhiy Storchaka [Sat, 19 Dec 2015 18:07:48 +0000 (20:07 +0200)]
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.

9 years agoIssue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK.
Terry Jan Reedy [Fri, 18 Dec 2015 20:46:52 +0000 (15:46 -0500)]
Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK.

9 years agoIssue #25899: Fixed typo in .bzrignore.
Serhiy Storchaka [Fri, 18 Dec 2015 11:12:33 +0000 (13:12 +0200)]
Issue #25899: Fixed typo in .bzrignore.

9 years agoIssue #22088: Port base64 character ignoring doc and test from 857d9fe60169
Martin Panter [Mon, 14 Dec 2015 03:41:59 +0000 (03:41 +0000)]
Issue #22088: Port base64 character ignoring doc and test from 857d9fe60169

9 years agoIssue #20837: Base-64 alphabet clarification from revision 1853679c6f71
Martin Panter [Mon, 14 Dec 2015 02:54:40 +0000 (02:54 +0000)]
Issue #20837: Base-64 alphabet clarification from revision 1853679c6f71

9 years ago#25495: Clarify b2a_base64 documentation vis 57 bytes.
R David Murray [Sun, 13 Dec 2015 23:04:14 +0000 (18:04 -0500)]
#25495: Clarify b2a_base64 documentation vis 57 bytes.

9 years agoFixes issue #20954: _args_from_interpreter_flags used by multiprocessing
Gregory P. Smith [Sun, 13 Dec 2015 21:57:50 +0000 (13:57 -0800)]
Fixes issue #20954: _args_from_interpreter_flags used by multiprocessing
and some tests no longer behaves incorrectly in the presence of the
PYTHONHASHSEED environment variable.

9 years agoIssue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory
Victor Stinner [Sun, 13 Dec 2015 20:25:42 +0000 (21:25 +0100)]
Issue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory

9 years agoIssue #25696: Fix installation of Python on UNIX with make -j9.
Victor Stinner [Sun, 13 Dec 2015 20:19:28 +0000 (21:19 +0100)]
Issue #25696: Fix installation of Python on UNIX with make -j9.

9 years agoIssue #25809: Skip testing platform-dependent French thousands separator
Martin Panter [Sat, 12 Dec 2015 06:53:34 +0000 (06:53 +0000)]
Issue #25809: Skip testing platform-dependent French thousands separator

9 years agoFixed possible leaks in ElementTree parser.
Serhiy Storchaka [Wed, 9 Dec 2015 17:44:30 +0000 (19:44 +0200)]
Fixed possible leaks in ElementTree parser.

9 years agoClarify that only *documentation* bugs should go to docs@python.org
Zachary Ware [Wed, 9 Dec 2015 07:53:44 +0000 (01:53 -0600)]
Clarify that only *documentation* bugs should go to docs@python.org

9 years agoIssue25814: Propagate all errors from custom XML parser handlers
Serhiy Storchaka [Sun, 6 Dec 2015 21:51:53 +0000 (23:51 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().

9 years agomerge heads
Ned Deily [Sun, 6 Dec 2015 05:00:57 +0000 (00:00 -0500)]
merge heads

9 years agoremove pointless keys() call
Benjamin Peterson [Sun, 6 Dec 2015 04:52:43 +0000 (20:52 -0800)]
remove pointless keys() call

9 years agoIssue #25798: Update OS X 10.5+ 32-bit-only installer to build
Ned Deily [Sun, 6 Dec 2015 04:47:34 +0000 (23:47 -0500)]
Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.

9 years agooff to 2.7.12 we go
Benjamin Peterson [Sat, 5 Dec 2015 19:46:21 +0000 (11:46 -0800)]
off to 2.7.12 we go

9 years agomerge 2.7.11 branch
Benjamin Peterson [Sat, 5 Dec 2015 19:45:48 +0000 (11:45 -0800)]
merge 2.7.11 branch

9 years agoAdded tag v2.7.11 for changeset 6d1b6a68f775
Benjamin Peterson [Sat, 5 Dec 2015 19:45:22 +0000 (11:45 -0800)]
Added tag v2.7.11 for changeset 6d1b6a68f775

9 years ago2.7.11 final v2.7.11
Benjamin Peterson [Sat, 5 Dec 2015 19:45:17 +0000 (11:45 -0800)]
2.7.11 final

9 years agomake consulting save_modules O(1) rather than O(n)
Benjamin Peterson [Sat, 5 Dec 2015 08:29:56 +0000 (00:29 -0800)]
make consulting save_modules O(1) rather than O(n)

9 years agomerge 2.7.11 branch
Benjamin Peterson [Sat, 5 Dec 2015 08:18:11 +0000 (00:18 -0800)]
merge 2.7.11 branch

9 years agoadd CVE and issue number
Benjamin Peterson [Sat, 5 Dec 2015 08:17:57 +0000 (00:17 -0800)]
add CVE and issue number

9 years agoIssue #14285: Do not catch ImportError from __init__.py in runpy
Martin Panter [Thu, 3 Dec 2015 01:23:10 +0000 (01:23 +0000)]
Issue #14285: Do not catch ImportError from __init__.py in runpy

Initialize package before calling get_loader() for __main__, so that we do
not incorrectly handle ImportError from __init__.py. When runpy is used from
the Python CLI, use an internal exception rather than ImportError, to avoid
catching an unexpected ImportError.

Also simplify message formatting: str() is redundant with %s.

Also fix test_dash_m_error_code_is_one() in test_cmd_line_script, which was
failing because the test package was not in the current directlry, rather
the desired ValueError.

9 years agoIssue #6478: _strptime's regexp cache now is reset after changing timezone
Serhiy Storchaka [Thu, 3 Dec 2015 20:20:45 +0000 (22:20 +0200)]
Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().

9 years agoIssue #19543: Added Py3k warning for decoding unicode.
Serhiy Storchaka [Thu, 3 Dec 2015 18:47:48 +0000 (20:47 +0200)]
Issue #19543: Added Py3k warning for decoding unicode.

9 years agoFix test_doctest in verbose mode
Victor Stinner [Wed, 2 Dec 2015 13:39:37 +0000 (14:39 +0100)]
Fix test_doctest in verbose mode

9 years agoFixed reference leak when read truncated pickle.
Serhiy Storchaka [Mon, 30 Nov 2015 22:32:49 +0000 (00:32 +0200)]
Fixed reference leak when read truncated pickle.