Victor Stinner
63860e5407
(Merge 3.4) Issue #22448 : asyncio, cleanup _run_once(), only iterate once to
...
remove delayed calls that were cancelled.
2014-09-30 18:11:00 +02:00
Victor Stinner
68da8fc4c0
Issue #22448 : asyncio, cleanup _run_once(), only iterate once to remove delayed
...
calls that were cancelled.
2014-09-30 18:08:36 +02:00
Antoine Pitrou
afa3153b27
Remove pointless "vile hack" that can cause the build step to fail when some extension modules can't be imported.
...
See issue #5309 for the build failures, issue #458343 for the original motivation.
2014-09-30 14:58:22 +02:00
Victor Stinner
6b8e0ed562
(Merge 3.4) faulthandler: test_gil_released() now uses _sigsegv() instead of
...
_read_null(), because _read_null() cannot be used on AIX. On AIX, reading from
NULL is allowed: the first page of memory is a mapped read-only on AIX.
_read_null() and _sigabrt() don't accept parameters.
2014-09-30 13:55:30 +02:00
Victor Stinner
5083828d65
faulthandler: test_gil_released() now uses _sigsegv() instead of _read_null(),
...
because _read_null() cannot be used on AIX. On AIX, reading from NULL is
allowed: the first page of memory is a mapped read-only on AIX.
2014-09-30 13:54:14 +02:00
Benjamin Peterson
58ee2d31ab
merge 3.4 ( #22517 )
2014-09-29 22:49:05 -04:00
Benjamin Peterson
c44eb73473
merge 3.3 ( #22517 )
2014-09-29 22:48:51 -04:00
Benjamin Peterson
bbd0a323ae
clear BufferedRWPair weakrefs on deallocation ( closes #22517 )
2014-09-29 22:46:57 -04:00
Benjamin Peterson
e87b7eafe4
fix windows tests ( #16662 )
...
From Robert Collins.
2014-09-29 21:54:28 -04:00
Serhiy Storchaka
9baa5b2de2
Issue #22437 : Number of capturing groups in regular expression is no longer
...
limited by 100.
2014-09-29 22:49:23 +03:00
R David Murray
c31e6227f9
#17442 : Add chained traceback support to InteractiveInterpreter.
...
Patch by Claudiu Popa.
2014-09-29 11:25:00 -04:00
Serhiy Storchaka
4d75a01798
Issue #22510 : Get rid of little overhead of testing re.DEBUG flag.
2014-09-29 18:13:02 +03:00
Alexander Belopolsky
6c7a4182f5
Closes issue #20858 : Enhancements/fixes to pure-python datetime module
...
This patch brings the pure-python datetime more in-line with the C
module. Patch contributed by Brian Kearns, a PyPy developer. PyPy
project has been running these modifications in PyPy2 stdlib.
This commit includes:
- General PEP8/cleanups;
- Better testing of argument types passed to constructors;
- Removal of duplicate operations;
- Optimization of timedelta creation;
- Caching the result of __hash__ like the C accelerator;
- Enhancements/bug fixes in tests.
2014-09-28 19:11:56 -04:00
Benjamin Peterson
a2f93885b0
merge 3.4 ( #22379 )
2014-09-28 12:57:22 -04:00
Benjamin Peterson
c31f12d196
check that exception messages are not empty ( #22379 )
...
Patch by Yongzhi Pan.
2014-09-28 12:56:42 -04:00
R David Murray
c081262be6
#10510 : Fix bug in forward port of 2.7 distutils patch.
...
Pointed out by Arfrever.
2014-09-28 11:01:42 -04:00
R David Murray
623ae29469
#10510 : Fix bug in forward port of 2.7 distutils patch.
...
Pointed out by Arfrever.
2014-09-28 11:01:11 -04:00
Serhiy Storchaka
be4de52fb1
Removed a code for suport Python version <2.2.
2014-09-28 15:36:18 +03:00
R David Murray
3a54c3e3aa
Merge: #10510 : make distuitls upload/register use HTML standards compliant CRLF.
2014-09-27 16:57:51 -04:00
R David Murray
9ce69672f3
#10510 : make distuitls upload/register use HTML standards compliant CRLF.
...
Patch by Ian Cordasco, approved by Éric Araujo.
2014-09-27 16:56:15 -04:00
Serhiy Storchaka
402e1e388d
Issue #9850 : Fixed macpath.join() for empty first component. Patch by
...
Oleg Oshmyan.
2014-09-27 18:55:15 +03:00
Serhiy Storchaka
ca534ab495
Issue #9850 : Fixed macpath.join() for empty first component. Patch by
...
Oleg Oshmyan.
2014-09-27 18:53:23 +03:00
Berker Peksag
fe21e4d4d7
Issue #16324 : _charset parameter of MIMEText now also accepts email.charset.Charset instances.
...
Initial patch by Claude Paroz.
2014-09-27 00:57:29 +03:00
Yury Selivanov
081bbf6b28
inspect: Fix getsource() to support decorated functions.
...
Issue #1764286 . Patch by Claudiu Popa.
2014-09-26 17:34:54 -04:00
Antoine Pitrou
2c0a916061
Issue #5309 : distutils' build and build_ext commands now accept a ``-j``
...
option to enable parallel building of extension modules.
2014-09-26 23:31:59 +02:00
Yury Selivanov
0b86660891
tempfile: Fix docstring. Issue #21397 , patch by R. David Murray.
2014-09-26 17:08:21 -04:00
Yury Selivanov
3e67d583ee
tempfile: Fix docstring. Issue #21397 , patch by R. David Murray.
2014-09-26 17:08:02 -04:00
Yury Selivanov
97e2e06af8
os: Include posix functions in os.__all__. Closes issue #18554 .
...
Patch by Ronald Oussoren.
2014-09-26 12:33:06 -04:00
Yury Selivanov
d359013eea
asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module
2014-09-25 19:12:37 -04:00
Yury Selivanov
d5a8f5807f
asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module
2014-09-25 19:12:10 -04:00
Yury Selivanov
1cfd36fdd7
asyncio: Improve canceled timer handles cleanup. Closes issue #22448 .
...
Patch by Joshua Moore-Oliva.
2014-09-25 12:09:09 -04:00
Yury Selivanov
592ada9b4b
asyncio: Improve canceled timer handles cleanup. Closes issue #22448 .
...
Patch by Joshua Moore-Oliva.
2014-09-25 12:07:56 -04:00
Nick Coghlan
bca9acf7ca
Issue #18093 : fix test_capi test skip due to _testembed move
2014-09-25 19:48:15 +10:00
Yury Selivanov
f45ea46fe8
asyncio: Reverting 69d474dab479 as issue #21645 is now closed and debug is no longer needed
2014-09-24 23:41:28 -04:00
Yury Selivanov
d1223a7adc
asyncio.test_events: Partially reverting f7643c893587 to stay in sync with tulip codebase
2014-09-24 23:30:03 -04:00
Yury Selivanov
5d0a790fc8
asyncio.unix_events: Move import statement to match code in tulip
2014-09-24 23:22:26 -04:00
Yury Selivanov
8c0e0ab767
asyncio.unix_events: Move import statement to match tulip code
2014-09-24 23:21:39 -04:00
Victor Stinner
3e4a80a2e1
(Merge 3.4) test_faulthandler: fix typo
2014-09-25 00:39:17 +02:00
Victor Stinner
29001c8319
test_faulthandler: fix typo
2014-09-25 00:38:48 +02:00
R David Murray
f7248257ac
Merge: Apply asyncio Task English fixes to docstrings as well.
2014-09-24 13:14:07 -04:00
R David Murray
8e069d5ce9
Apply asyncio Task English fixes to docstrings as well.
...
Also fixed the phrasing in a comment.
2014-09-24 13:13:45 -04:00
Berker Peksag
cf84098884
Issue #16056 : Rename test method in test_statistics to avoid conflict.
2014-09-24 15:03:57 +03:00
Berker Peksag
f8c111d4d7
Issue #16056 : Rename test method in test_statistics to avoid conflict.
2014-09-24 15:03:25 +03:00
Serhiy Storchaka
e9a086bf01
Issue #22427 : TemporaryDirectory no longer attempts to clean up twice when
...
used in the with statement in generator.
2014-09-24 13:29:27 +03:00
Serhiy Storchaka
5e193ac0bd
Issue #22427 : TemporaryDirectory no longer attempts to clean up twice when
...
used in the with statement in generator.
2014-09-24 13:26:25 +03:00
Georg Brandl
40f9735486
#22464 : Speed up common Fraction operations by special-casing several
...
operations for int-type arguments: constructor and equality test.
Also avoid redundant property lookups in addition and subtraction.
2014-09-24 08:37:55 +02:00
Serhiy Storchaka
c563caf3a2
Issue #22362 : Forbidden ambiguous octal escapes out of range 0-0o377 in
...
regular expressions.
2014-09-23 23:22:41 +03:00
Serhiy Storchaka
d8644db4e7
Fixed bytes literals in tests.
2014-09-23 23:04:54 +03:00
Serhiy Storchaka
cd9032d45b
Fixed bytes literals in tests.
2014-09-23 23:04:21 +03:00
Serhiy Storchaka
385ffbffe6
Issue #20912 : Now directories added to ZIP file have correct Unix and MS-DOS
...
directory attributes.
2014-09-23 22:42:02 +03:00