]> granicus.if.org Git - python/log
python
9 years agoremove unused import
Benjamin Peterson [Wed, 25 Feb 2015 21:47:14 +0000 (16:47 -0500)]
remove unused import

9 years agoIssue #23511: Port email-simple.py to Python 3.
Berker Peksag [Wed, 25 Feb 2015 16:14:09 +0000 (18:14 +0200)]
Issue #23511: Port email-simple.py to Python 3.

Also, update email examples to use the context manager version of open().

Patch by Baptiste Mispelon.

9 years agofix merge_collapse to actually maintain the invariant it purports to (closes #23515)
Benjamin Peterson [Wed, 25 Feb 2015 15:12:26 +0000 (10:12 -0500)]
fix merge_collapse to actually maintain the invariant it purports to (closes #23515)

See
de Gouw, Stijn and Rot, Jurriaan and de Boer, Frank S and Bubel, Richard and Hähnle, Reiner
"OpenJDK’s java.utils.Collection.sort() is broken: The good, the bad and the worst case"

9 years agoasyncio: add a note about (non) thread safety in each class
Victor Stinner [Wed, 25 Feb 2015 13:24:15 +0000 (14:24 +0100)]
asyncio: add a note about (non) thread safety in each class

9 years agoasyncio doc: begin with warnings on asyncio traps
Victor Stinner [Wed, 25 Feb 2015 13:23:51 +0000 (14:23 +0100)]
asyncio doc: begin with warnings on asyncio traps

9 years agoasyncio doc: move queues to a new page
Victor Stinner [Wed, 25 Feb 2015 12:55:43 +0000 (13:55 +0100)]
asyncio doc: move queues to a new page

9 years agoRemove unsupported (in latex) character from the source.
Georg Brandl [Wed, 25 Feb 2015 12:05:53 +0000 (13:05 +0100)]
Remove unsupported (in latex) character from the source.

9 years agoasyncio doc: close explicitly event loops
Victor Stinner [Mon, 23 Feb 2015 10:41:56 +0000 (11:41 +0100)]
asyncio doc: close explicitly event loops

9 years agoIssue #23499: Fix grammar error noticed by SilentGhost
Ned Deily [Mon, 23 Feb 2015 00:14:32 +0000 (16:14 -0800)]
Issue #23499: Fix grammar error noticed by SilentGhost

9 years agoBroke reference loops in tests added in issue #5700.
Serhiy Storchaka [Sun, 22 Feb 2015 22:28:38 +0000 (00:28 +0200)]
Broke reference loops in tests added in issue #5700.

9 years agoIssue #6639: Module-level turtle functions no longer raise TclError after
Serhiy Storchaka [Sun, 22 Feb 2015 15:25:33 +0000 (17:25 +0200)]
Issue #6639: Module-level turtle functions no longer raise TclError after
closing the window.

9 years agoIssues #814253, #9179: Warnings now are raised when group references and
Serhiy Storchaka [Sat, 21 Feb 2015 10:08:52 +0000 (12:08 +0200)]
Issues #814253, #9179: Warnings now are raised when group references and
conditional group references are used in lookbehind assertions in regular
expressions.

9 years agoIssue #23215: Multibyte codecs with custom error handlers that ignores errors
Serhiy Storchaka [Fri, 20 Feb 2015 23:19:58 +0000 (01:19 +0200)]
Issue #23215: Multibyte codecs with custom error handlers that ignores errors
consumed too much memory and raised SystemError or MemoryError.
Original patch by Aleksi Torhamo.

9 years agoIssue #5700: io.FileIO() called flush() after closing the file.
Serhiy Storchaka [Fri, 20 Feb 2015 22:35:09 +0000 (00:35 +0200)]
Issue #5700: io.FileIO() called flush() after closing the file.
flush() was not called in close() if closefd=False.

9 years agoIssue #23374: Fixed pydoc failure with non-ASCII files when stdout encoding
Serhiy Storchaka [Fri, 20 Feb 2015 21:46:06 +0000 (23:46 +0200)]
Issue #23374: Fixed pydoc failure with non-ASCII files when stdout encoding
differs from file system encoding (e.g. on Mac OS).

9 years agoIssue #23490: Fixed possible crashes related to interoperability between
Serhiy Storchaka [Fri, 20 Feb 2015 19:34:06 +0000 (21:34 +0200)]
Issue #23490: Fixed possible crashes related to interoperability between
old-style and new API for string with 2**30-1 characters.

9 years agoIssue #23439: Add missing entries to http.client.__all__.
Berker Peksag [Fri, 20 Feb 2015 07:39:38 +0000 (09:39 +0200)]
Issue #23439: Add missing entries to http.client.__all__.

Also, document the LineTooLong exception since it can be raised by
the members of public API (e.g. http.client.HTTPResponse).

Patch by Martin Panter.

9 years agoFix typo pointed out on docs@ by Yaniv Sayeh
Zachary Ware [Fri, 20 Feb 2015 04:30:15 +0000 (22:30 -0600)]
Fix typo pointed out on docs@ by Yaniv Sayeh

9 years agoFix a typo pointed out on docs@
Zachary Ware [Fri, 20 Feb 2015 04:15:36 +0000 (22:15 -0600)]
Fix a typo pointed out on docs@

9 years agoremove rc4 from the default client ciphers (closes #23481)
Benjamin Peterson [Thu, 19 Feb 2015 22:57:08 +0000 (17:57 -0500)]
remove rc4 from the default client ciphers (closes #23481)

9 years agomerge heads
Benjamin Peterson [Wed, 18 Feb 2015 13:56:33 +0000 (08:56 -0500)]
merge heads

9 years agomerge 3.3
Benjamin Peterson [Wed, 18 Feb 2015 13:55:38 +0000 (08:55 -0500)]
merge 3.3

9 years agomerge 3.2
Benjamin Peterson [Wed, 18 Feb 2015 13:54:22 +0000 (08:54 -0500)]
merge 3.2

9 years agoremove RPM, since it's unused and unmaintained
Benjamin Peterson [Wed, 18 Feb 2015 13:52:46 +0000 (08:52 -0500)]
remove RPM, since it's unused and unmaintained

9 years agoIssue #23474: Enhanced locale testing.
Serhiy Storchaka [Wed, 18 Feb 2015 06:04:37 +0000 (08:04 +0200)]
Issue #23474: Enhanced locale testing.

9 years agodocument the requestline and close_connection attributes, use real booleans, and...
Benjamin Peterson [Wed, 18 Feb 2015 02:11:10 +0000 (21:11 -0500)]
document the requestline and close_connection attributes, use real booleans, and add tests (closes #23410)

Patch by Martin Panter.

9 years agoasyncio: Fix warning in test_close_kill_running()
Victor Stinner [Tue, 17 Feb 2015 22:36:02 +0000 (23:36 +0100)]
asyncio: Fix warning in test_close_kill_running()

Read process exit status to avoid the "Caught subprocess termination from
unknown pid" message.

9 years agoasyncio, Tulip issue 220: Update doc of asyncio.Queue, add join and task_done
Victor Stinner [Tue, 17 Feb 2015 22:09:52 +0000 (23:09 +0100)]
asyncio, Tulip issue 220: Update doc of asyncio.Queue, add join and task_done
methods

9 years agoasyncio doc: fix the sphinx extension for coroutine commands
Victor Stinner [Tue, 17 Feb 2015 22:08:35 +0000 (23:08 +0100)]
asyncio doc: fix the sphinx extension for coroutine commands

9 years agoIssue #23475, asyncio: Fix test_close_kill_running()
Victor Stinner [Tue, 17 Feb 2015 21:54:11 +0000 (22:54 +0100)]
Issue #23475, asyncio: Fix test_close_kill_running()

Really kill the child process, don't mock completly the Popen.kill() method.

This change fix memory leaks and reference leaks.

9 years agoasyncio, Tulip issue 220: Merge JoinableQueue with Queue.
Victor Stinner [Tue, 17 Feb 2015 21:53:28 +0000 (22:53 +0100)]
asyncio, Tulip issue 220: Merge JoinableQueue with Queue.

Merge JoinableQueue with Queue. To more closely match the standard Queue,
asyncio.Queue has "join" and "task_done". JoinableQueue is deleted.

Docstring for Queue.join shouldn't mention threads.

Restore JoinableQueue as a deprecated alias for Queue. To more closely match
the standard Queue, asyncio.Queue has "join" and "task_done".  JoinableQueue
remains as a deprecated alias for Queue to avoid needlessly breaking too much
code that depended on it.

Patch written by A. Jesse Jiryu Davis <jesse@mongodb.com>.

9 years agoasyncio: BaseSubprocessTransport: repr() mentions when the child process is
Victor Stinner [Tue, 17 Feb 2015 21:50:33 +0000 (22:50 +0100)]
asyncio: BaseSubprocessTransport: repr() mentions when the child process is
running

9 years agoIssue #22883: Update PyInt to PyLong in C API example.
Serhiy Storchaka [Tue, 17 Feb 2015 08:18:44 +0000 (10:18 +0200)]
Issue #22883: Update PyInt to PyLong in C API example.

9 years agofix pydoc.apropos and pydoc.synopsis on modules with empty docstrings (#21548)
Benjamin Peterson [Tue, 17 Feb 2015 00:45:01 +0000 (19:45 -0500)]
fix pydoc.apropos and pydoc.synopsis on modules with empty docstrings (#21548)

Patch by Yuyang Guo and Berker Peksag.

9 years agoShoould be Py_MIN, not Py_MAX.
Serhiy Storchaka [Mon, 16 Feb 2015 18:54:03 +0000 (20:54 +0200)]
Shoould be Py_MIN, not Py_MAX.

9 years agoIssue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
Serhiy Storchaka [Mon, 16 Feb 2015 11:28:22 +0000 (13:28 +0200)]
Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
overflows.  Added few missed PyErr_NoMemory().

9 years agoIssue #17753: effective_ids unavailable on Windows.
Berker Peksag [Mon, 16 Feb 2015 02:36:18 +0000 (04:36 +0200)]
Issue #17753: effective_ids unavailable on Windows.

9 years agoFix typo in os.supports_effective_ids documentation.
Berker Peksag [Mon, 16 Feb 2015 01:36:10 +0000 (03:36 +0200)]
Fix typo in os.supports_effective_ids documentation.

9 years agoIssue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb
Serhiy Storchaka [Sun, 15 Feb 2015 22:30:43 +0000 (00:30 +0200)]
Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb
module.  Original patch by Claudiu Popa.

9 years agoIssue #23146: Fix mishandling of absolute Windows paths with forward slashes in pathlib.
Antoine Pitrou [Sun, 15 Feb 2015 17:03:59 +0000 (18:03 +0100)]
Issue #23146: Fix mishandling of absolute Windows paths with forward slashes in pathlib.

Detected and fixed by Serhiy.

9 years agoIssue #19681: Test the repr of partial with more than one keyword argument.
Serhiy Storchaka [Sun, 15 Feb 2015 14:20:47 +0000 (16:20 +0200)]
Issue #19681: Test the repr of partial with more than one keyword argument.

9 years agoUse pickled data compatible with Python 2 for testing protocols 0-2.
Serhiy Storchaka [Sun, 15 Feb 2015 12:10:03 +0000 (14:10 +0200)]
Use pickled data compatible with Python 2 for testing protocols 0-2.

9 years agoMerge heads
Serhiy Storchaka [Sun, 15 Feb 2015 12:02:15 +0000 (14:02 +0200)]
Merge heads

9 years agoUse os.devnull instead of hardcoded '/dev/null'.
Serhiy Storchaka [Sun, 15 Feb 2015 11:58:23 +0000 (13:58 +0200)]
Use os.devnull instead of hardcoded '/dev/null'.

9 years agoIssue #13637: Improve exception message of a2b_* functions.
Berker Peksag [Sat, 14 Feb 2015 22:31:00 +0000 (00:31 +0200)]
Issue #13637: Improve exception message of a2b_* functions.

Patch by Vajrasky Kok.

9 years agoIssue #13637: Remove outdated versionchanged directives.
Berker Peksag [Sat, 14 Feb 2015 22:05:42 +0000 (00:05 +0200)]
Issue #13637: Remove outdated versionchanged directives.

Patch by Martin Panter.

9 years agoIssue #17753: Skip test_zipfile tests which require write access to test
Serhiy Storchaka [Sat, 14 Feb 2015 21:04:35 +0000 (23:04 +0200)]
Issue #17753: Skip test_zipfile tests which require write access to test
and email.test.

9 years agoIssue #22844: Fized test_gdb failure on Debian Wheezy for Z.
Serhiy Storchaka [Sat, 14 Feb 2015 20:44:35 +0000 (22:44 +0200)]
Issue #22844: Fized test_gdb failure on Debian Wheezy for Z.
Patch by David Edelsohn.

9 years agoavoid reading unallocated memory when argc == 0 (closes #22633)
Benjamin Peterson [Sat, 14 Feb 2015 20:16:32 +0000 (15:16 -0500)]
avoid reading unallocated memory when argc == 0 (closes #22633)

9 years agoIssue #23418: Add missing entries to http.server.__all__.
Berker Peksag [Fri, 13 Feb 2015 18:48:15 +0000 (20:48 +0200)]
Issue #23418: Add missing entries to http.server.__all__.

Patch by Martin Panter.

9 years agoIssue #21849: Ported from 2.7 tests for non-ASCII data.
Serhiy Storchaka [Fri, 13 Feb 2015 13:13:33 +0000 (15:13 +0200)]
Issue #21849: Ported from 2.7 tests for non-ASCII data.

9 years agoasyncio doc: annotate coroutine on coroutine functions and methods
Victor Stinner [Thu, 12 Feb 2015 21:49:18 +0000 (22:49 +0100)]
asyncio doc: annotate coroutine on coroutine functions and methods

9 years agoIssue #23445: pydebug builds now use "gcc -Og" where possible, to make the resulting...
Antoine Pitrou [Wed, 11 Feb 2015 18:39:16 +0000 (19:39 +0100)]
Issue #23445: pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster.

9 years agoFix typo: PyMem_Alloc => PyMem_Malloc
Victor Stinner [Wed, 11 Feb 2015 17:17:56 +0000 (18:17 +0100)]
Fix typo: PyMem_Alloc => PyMem_Malloc

9 years agoIssue #23433: Fix faulthandler._stack_overflow()
Victor Stinner [Wed, 11 Feb 2015 13:23:35 +0000 (14:23 +0100)]
Issue #23433: Fix faulthandler._stack_overflow()

Fix undefined behaviour: don't compare pointers. Use Py_uintptr_t type instead
of void*. It fixes test_faulthandler on Fedora 22 which now uses GCC 5.

9 years agoasyncio: BaseSubprocessTransport.close() doesn't try to kill the process if it
Victor Stinner [Tue, 10 Feb 2015 13:49:32 +0000 (14:49 +0100)]
asyncio: BaseSubprocessTransport.close() doesn't try to kill the process if it
already finished

9 years agoIssue #23421: Fixed compression in tarfile CLI. Patch by wdv4758h.
Serhiy Storchaka [Tue, 10 Feb 2015 06:45:53 +0000 (08:45 +0200)]
Issue #23421: Fixed compression in tarfile CLI.  Patch by wdv4758h.

9 years agomerge 3.3 (#23361)
Benjamin Peterson [Tue, 10 Feb 2015 01:58:52 +0000 (20:58 -0500)]
merge 3.3 (#23361)

9 years agoadd overflow checking (closes #23361)
Benjamin Peterson [Tue, 10 Feb 2015 01:58:12 +0000 (20:58 -0500)]
add overflow checking (closes #23361)

9 years agoAmend b8ebf381390f: find patchlevel.py in extensions.
Martin v. Löwis [Mon, 9 Feb 2015 07:07:12 +0000 (08:07 +0100)]
Amend b8ebf381390f: find patchlevel.py in extensions.

9 years agoIssue #17896: Update msi.py to new externals dir.
Martin v. Löwis [Mon, 9 Feb 2015 06:51:32 +0000 (07:51 +0100)]
Issue #17896: Update msi.py to new externals dir.

9 years agoPost-release updates for Python 3.4.3rc1.
Larry Hastings [Sun, 8 Feb 2015 22:04:36 +0000 (14:04 -0800)]
Post-release updates for Python 3.4.3rc1.

9 years agoAdded tag v3.4.3rc1 for changeset 69dd528ca625
Larry Hastings [Sun, 8 Feb 2015 00:04:55 +0000 (16:04 -0800)]
Added tag v3.4.3rc1 for changeset 69dd528ca625

9 years agoFix a copyright notice that still said 2014. v3.4.3rc1
Larry Hastings [Sun, 8 Feb 2015 00:04:22 +0000 (16:04 -0800)]
Fix a copyright notice that still said 2014.

9 years agoVersion bump for 3.4.3rc1.
Larry Hastings [Sun, 8 Feb 2015 00:00:45 +0000 (16:00 -0800)]
Version bump for 3.4.3rc1.

9 years agoUpdated pydoc topics data for 3.4.3rc1 release.
Larry Hastings [Sat, 7 Feb 2015 23:55:23 +0000 (15:55 -0800)]
Updated pydoc topics data for 3.4.3rc1 release.

9 years agoCorrected typo.
Vinay Sajip [Sat, 7 Feb 2015 10:56:06 +0000 (10:56 +0000)]
Corrected typo.

9 years agoMinor change to documentation on creating venvs.
Vinay Sajip [Sat, 7 Feb 2015 10:52:02 +0000 (10:52 +0000)]
Minor change to documentation on creating venvs.

9 years agoIssue #23399: pyvenv creates relative symlinks where possible.
Barry Warsaw [Fri, 6 Feb 2015 17:00:04 +0000 (12:00 -0500)]
Issue #23399: pyvenv creates relative symlinks where possible.

9 years agoFix definition mismatch for type_is_subtype_base_chain.
Steve Dower [Fri, 6 Feb 2015 16:50:23 +0000 (08:50 -0800)]
Fix definition mismatch for type_is_subtype_base_chain.

9 years agoIssue #23399: pyvenv creates relative symlinks where possible.
Barry Warsaw [Fri, 6 Feb 2015 16:23:58 +0000 (11:23 -0500)]
Issue #23399: pyvenv creates relative symlinks where possible.

9 years agoIssue #23392: Added tests for marshal C API that works with FILE*.
Serhiy Storchaka [Fri, 6 Feb 2015 06:58:56 +0000 (08:58 +0200)]
Issue #23392: Added tests for marshal C API that works with FILE*.

9 years agoIssue #23881: Only use entry-values with gdb 7.4 in tests.
Serhiy Storchaka [Fri, 6 Feb 2015 06:35:20 +0000 (08:35 +0200)]
Issue #23881: Only use entry-values with gdb 7.4 in tests.
Fixes a regression in issue #22765.  Patch by Vinson Lee.

9 years agoFix missing :ref: for idle in doc build.
Ned Deily [Fri, 6 Feb 2015 04:42:06 +0000 (15:42 +1100)]
Fix missing :ref: for idle in doc build.

9 years agofix many custom mro() edge cases and improve code quality (#22735)
Benjamin Peterson [Fri, 6 Feb 2015 03:29:14 +0000 (22:29 -0500)]
fix many custom mro() edge cases and improve code quality (#22735)

Patch by Eldar Abusalimov.

9 years agoIssue #23212: Update OS X installer build OpenSSL to 1.0.1l.
Ned Deily [Fri, 6 Feb 2015 03:13:30 +0000 (14:13 +1100)]
Issue #23212: Update OS X installer build OpenSSL to 1.0.1l.
(currently only used for builds with <= 10.5 deployment targets)

9 years agotest_multiprocessing: tolerate a delta of 30 ms because of bad clock resolution
Victor Stinner [Thu, 5 Feb 2015 13:25:05 +0000 (14:25 +0100)]
test_multiprocessing: tolerate a delta of 30 ms because of bad clock resolution
on Windows

9 years agoIssue #18982: Add tests for CLI of the calendar module.
Serhiy Storchaka [Thu, 5 Feb 2015 13:14:35 +0000 (15:14 +0200)]
Issue #18982: Add tests for CLI of the calendar module.

9 years agoasyncio: BaseEventLoop: rename _owner to _thread_id
Victor Stinner [Thu, 5 Feb 2015 10:45:33 +0000 (11:45 +0100)]
asyncio: BaseEventLoop: rename _owner to _thread_id

9 years agoIssue #23345: Prevent test_ssl failures with large OpenSSL patch level
Ned Deily [Thu, 5 Feb 2015 06:20:13 +0000 (17:20 +1100)]
Issue #23345: Prevent test_ssl failures with large OpenSSL patch level
values (like 0.9.8zc).

9 years agoUpdate pip to 6.0.8
Donald Stufft [Thu, 5 Feb 2015 03:00:17 +0000 (22:00 -0500)]
Update pip to 6.0.8

9 years agoMake the stdlib test suite helper test.script_helper._assert_python no longer
Gregory P. Smith [Thu, 5 Feb 2015 01:10:19 +0000 (17:10 -0800)]
Make the stdlib test suite helper test.script_helper._assert_python no longer
pass -I or -E to the child process by default when the environment is required
for the child process interpreter to function properly.

9 years agoasyncio doc: explain how to display ResourceWarning in the debug mode section
Victor Stinner [Wed, 4 Feb 2015 15:14:33 +0000 (16:14 +0100)]
asyncio doc: explain how to display ResourceWarning in the debug mode section

9 years agoasyncio: Only call _check_resolved_address() in debug mode
Victor Stinner [Wed, 4 Feb 2015 13:51:23 +0000 (14:51 +0100)]
asyncio: Only call _check_resolved_address() in debug mode

* _check_resolved_address() is implemented with getaddrinfo() which is slow
* If available, use socket.inet_pton() instead of socket.getaddrinfo(), because
  it is much faster

Microbenchmark (timeit) on Fedora 21 (Python 3.4, Linux 3.17, glibc 2.20) to
validate the IPV4 address "127.0.0.1" or the IPv6 address "::1":

* getaddrinfo() 10.4 usec per loop
* inet_pton(): 0.285 usec per loop

On glibc older than 2.14, getaddrinfo() always requests the list of all local
IP addresses to the kernel (using a NETLINK socket). getaddrinfo() has other
known issues, it's better to avoid it when it is possible.

9 years agoasyncio: BaseSelectorEventLoop uses directly the private _debug attribute
Victor Stinner [Wed, 4 Feb 2015 13:50:59 +0000 (14:50 +0100)]
asyncio: BaseSelectorEventLoop uses directly the private _debug attribute

Just try to be consistent: _debug was already used in some places, and always
used in BaseProactorEventLoop.

9 years agoFixes issue23390: make profile-opt causes -fprofile-generate and related flags
Gregory P. Smith [Wed, 4 Feb 2015 10:11:56 +0000 (02:11 -0800)]
Fixes issue23390: make profile-opt causes -fprofile-generate and related flags
to end up in distutils CFLAGS.

9 years agoSkip some tests that require a subinterpreter launched with -E or -I when the
Gregory P. Smith [Wed, 4 Feb 2015 08:59:40 +0000 (00:59 -0800)]
Skip some tests that require a subinterpreter launched with -E or -I when the
interpreter under test is being run in an environment that requires the use of
environment variables such as PYTHONHOME in order to function at all.

Adds a private test.script_helper._interpreter_requires_environment() function
to be used with @unittest.skipIf on stdlib test methods requiring this.

9 years agoasyncio, Tulip issue 221: Fix doc of QueueEmpty and QueueFull
Victor Stinner [Tue, 3 Feb 2015 14:09:24 +0000 (15:09 +0100)]
asyncio, Tulip issue 221: Fix doc of QueueEmpty and QueueFull

9 years agoIssue #23358: Add missing BaseServer entry to socketserver.__all__.
Berker Peksag [Tue, 3 Feb 2015 09:55:09 +0000 (11:55 +0200)]
Issue #23358: Add missing BaseServer entry to socketserver.__all__.

Patch by Martin Panter.

9 years agoIssue #23099: Closing io.BytesIO with exported buffer is rejected now to
Serhiy Storchaka [Tue, 3 Feb 2015 00:00:18 +0000 (02:00 +0200)]
Issue #23099: Closing io.BytesIO with exported buffer is rejected now to
prevent corrupting exported buffer.

9 years agoIssues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Serhiy Storchaka [Mon, 2 Feb 2015 23:35:10 +0000 (01:35 +0200)]
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.

9 years agoIssues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Serhiy Storchaka [Mon, 2 Feb 2015 23:34:09 +0000 (01:34 +0200)]
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.

9 years agoIssue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
Serhiy Storchaka [Mon, 2 Feb 2015 23:21:08 +0000 (01:21 +0200)]
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
and PyObject_AsWriteBuffer().

9 years agomerge 3.3
Benjamin Peterson [Mon, 2 Feb 2015 22:47:26 +0000 (17:47 -0500)]
merge 3.3

9 years agoreduce memory usage of test (closes #23369)
Benjamin Peterson [Mon, 2 Feb 2015 22:47:07 +0000 (17:47 -0500)]
reduce memory usage of test (closes #23369)

9 years agoadjust for py3k module renaming
Benjamin Peterson [Mon, 2 Feb 2015 19:22:13 +0000 (14:22 -0500)]
adjust for py3k module renaming

9 years ago_clear_type_cache is cpython-only
Benjamin Peterson [Mon, 2 Feb 2015 19:06:11 +0000 (14:06 -0500)]
_clear_type_cache is cpython-only

9 years agoIssue #23353, asyncio: Workaround CPython bug #23353
Victor Stinner [Mon, 2 Feb 2015 17:36:31 +0000 (18:36 +0100)]
Issue #23353, asyncio: Workaround CPython bug #23353

Don't use yield/yield-from in an except block of a generator. Store the
exception and handle it outside the except block.

9 years agorevert lineno and col_offset changes from #16795 (closes #21295)
Benjamin Peterson [Mon, 2 Feb 2015 15:51:20 +0000 (10:51 -0500)]
revert lineno and col_offset changes from #16795 (closes #21295)

9 years agomerge 3.3 (#23364, #23363)
Benjamin Peterson [Mon, 2 Feb 2015 02:35:34 +0000 (21:35 -0500)]
merge 3.3 (#23364, #23363)