]>
granicus.if.org Git - python/log
Benjamin Peterson [Mon, 29 Sep 2014 23:12:44 +0000 (19:12 -0400)]
merge 3.4
Benjamin Peterson [Mon, 29 Sep 2014 23:12:37 +0000 (19:12 -0400)]
merge 3.3
Benjamin Peterson [Mon, 29 Sep 2014 23:12:26 +0000 (19:12 -0400)]
these variables ought to be Py_ssize_t
Benjamin Peterson [Mon, 29 Sep 2014 23:11:05 +0000 (19:11 -0400)]
merge 3.4 (#22519)
Benjamin Peterson [Mon, 29 Sep 2014 23:09:49 +0000 (19:09 -0400)]
merge 3.3 (closes #22519)
Benjamin Peterson [Mon, 29 Sep 2014 23:01:18 +0000 (19:01 -0400)]
fix overflow checking in PyBytes_Repr (closes #22519)
Benjamin Peterson [Mon, 29 Sep 2014 22:53:58 +0000 (18:53 -0400)]
merge 3.4 (closes #22518)
Benjamin Peterson [Mon, 29 Sep 2014 22:50:06 +0000 (18:50 -0400)]
merge 3.3 (closes #22518)
Benjamin Peterson [Mon, 29 Sep 2014 22:42:35 +0000 (18:42 -0400)]
NEWS issue for #22518
Benjamin Peterson [Mon, 29 Sep 2014 22:18:57 +0000 (18:18 -0400)]
cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518)
Serhiy Storchaka [Mon, 29 Sep 2014 19:49:23 +0000 (22:49 +0300)]
Issue #22437: Number of capturing groups in regular expression is no longer
limited by 100.
R David Murray [Mon, 29 Sep 2014 15:25:00 +0000 (11:25 -0400)]
#17442: Add chained traceback support to InteractiveInterpreter.
Patch by Claudiu Popa.
Serhiy Storchaka [Mon, 29 Sep 2014 15:13:02 +0000 (18:13 +0300)]
Issue #22510: Get rid of little overhead of testing re.DEBUG flag.
R David Murray [Mon, 29 Sep 2014 14:19:20 +0000 (10:19 -0400)]
Merge: #20135: FAQ entry for list mutation. (See also
90b07d422bd9 .)
I accidentally merged this in
90b07d422bd9 ; this merge addresses the
last review comments on the patch.
R David Murray [Mon, 29 Sep 2014 14:17:28 +0000 (10:17 -0400)]
#20135: FAQ entry for list mutation. (See also
6375bf34fff6 .)
I accidentally committed this in
6375bf34fff6 ; this changeset addresses the
last review comments on the patch.
This is a perennial question and something someone opens a ticket for probably
every other month or so, so I'm surprised we didn't already have a FAQ entry
for it.
The original patch was written by M. Votz, refined first by Ezio Melotti and
further refined by me.
Alexander Belopolsky [Sun, 28 Sep 2014 23:11:56 +0000 (19:11 -0400)]
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.
Benjamin Peterson [Sun, 28 Sep 2014 16:57:22 +0000 (12:57 -0400)]
merge 3.4 (#22379)
Benjamin Peterson [Sun, 28 Sep 2014 16:56:42 +0000 (12:56 -0400)]
check that exception messages are not empty (#22379)
Patch by Yongzhi Pan.
R David Murray [Sun, 28 Sep 2014 15:01:42 +0000 (11:01 -0400)]
#10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
R David Murray [Sun, 28 Sep 2014 15:01:11 +0000 (11:01 -0400)]
#10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
Serhiy Storchaka [Sun, 28 Sep 2014 12:36:18 +0000 (15:36 +0300)]
Removed a code for suport Python version <2.2.
Serhiy Storchaka [Sun, 28 Sep 2014 08:27:24 +0000 (11:27 +0300)]
Removed redundant casts to `char *`.
Corresponding functions now accept `const char *` (issue #
1772673 ).
Berker Peksag [Sat, 27 Sep 2014 21:01:55 +0000 (00:01 +0300)]
Revert #22251
Berker Peksag [Sat, 27 Sep 2014 21:00:58 +0000 (00:00 +0300)]
Revert #22251
R David Murray [Sat, 27 Sep 2014 20:57:51 +0000 (16:57 -0400)]
Merge: #10510: make distuitls upload/register use HTML standards compliant CRLF.
R David Murray [Sat, 27 Sep 2014 20:56:15 +0000 (16:56 -0400)]
#10510: make distuitls upload/register use HTML standards compliant CRLF.
Patch by Ian Cordasco, approved by Éric Araujo.
Berker Peksag [Sat, 27 Sep 2014 20:22:35 +0000 (23:22 +0300)]
Issue #22251: Fix ReST markup to avoid errors building docs.
Berker Peksag [Sat, 27 Sep 2014 20:21:35 +0000 (23:21 +0300)]
Issue #22251: Fix ReST markup to avoid errors building docs.
Berker Peksag [Sat, 27 Sep 2014 19:49:33 +0000 (22:49 +0300)]
Merge with 3.4.
Berker Peksag [Sat, 27 Sep 2014 19:48:58 +0000 (22:48 +0300)]
Merge heads.
Berker Peksag [Sat, 27 Sep 2014 19:47:59 +0000 (22:47 +0300)]
Merge heads.
Berker Peksag [Sat, 27 Sep 2014 19:39:38 +0000 (22:39 +0300)]
Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
R David Murray [Sat, 27 Sep 2014 19:38:15 +0000 (15:38 -0400)]
Merge: #18854: make it explicit that is_multipart does not mean 'multipart/xxx'.
R David Murray [Sat, 27 Sep 2014 19:37:40 +0000 (15:37 -0400)]
#18854: make it explicit that is_multipart does not mean 'multipart/xxx'.
Original patch (and the idea of using _structure) by Abhilash Raj.
Berker Peksag [Sat, 27 Sep 2014 19:37:15 +0000 (22:37 +0300)]
Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
R David Murray [Sat, 27 Sep 2014 19:00:10 +0000 (15:00 -0400)]
Merge: #20974: Update version table in email intro.
R David Murray [Sat, 27 Sep 2014 18:59:36 +0000 (14:59 -0400)]
#20974: Update version table in email intro.
Note that the email version string in 3.3 and 3.4 is inaccurate, since it
still exists but wasn't updated while the code was.
Serhiy Storchaka [Sat, 27 Sep 2014 15:55:15 +0000 (18:55 +0300)]
Issue #9850: Fixed macpath.join() for empty first component. Patch by
Oleg Oshmyan.
Serhiy Storchaka [Sat, 27 Sep 2014 15:53:23 +0000 (18:53 +0300)]
Issue #9850: Fixed macpath.join() for empty first component. Patch by
Oleg Oshmyan.
Berker Peksag [Fri, 26 Sep 2014 21:57:29 +0000 (00:57 +0300)]
Issue #16324: _charset parameter of MIMEText now also accepts email.charset.Charset instances.
Initial patch by Claude Paroz.
Yury Selivanov [Fri, 26 Sep 2014 21:34:54 +0000 (17:34 -0400)]
inspect: Fix getsource() to support decorated functions.
Issue #
1764286 . Patch by Claudiu Popa.
Antoine Pitrou [Fri, 26 Sep 2014 21:31:59 +0000 (23:31 +0200)]
Issue #5309: distutils' build and build_ext commands now accept a ``-j``
option to enable parallel building of extension modules.
Yury Selivanov [Fri, 26 Sep 2014 21:11:59 +0000 (17:11 -0400)]
null merge
Yury Selivanov [Fri, 26 Sep 2014 21:08:21 +0000 (17:08 -0400)]
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.
Yury Selivanov [Fri, 26 Sep 2014 21:08:02 +0000 (17:08 -0400)]
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.
Yury Selivanov [Fri, 26 Sep 2014 16:33:06 +0000 (12:33 -0400)]
os: Include posix functions in os.__all__. Closes issue #18554.
Patch by Ronald Oussoren.
Berker Peksag [Fri, 26 Sep 2014 12:35:02 +0000 (15:35 +0300)]
Issue #17462: Add a paragraph about advantages of argparse over optparse.
Patch by Anastasia Filatova.
Berker Peksag [Fri, 26 Sep 2014 12:34:26 +0000 (15:34 +0300)]
Issue #17462: Add a paragraph about advantages of argparse over optparse.
Patch by Anastasia Filatova.
Serhiy Storchaka [Fri, 26 Sep 2014 06:04:19 +0000 (09:04 +0300)]
Null merge
Yury Selivanov [Thu, 25 Sep 2014 23:12:37 +0000 (19:12 -0400)]
asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module
Yury Selivanov [Thu, 25 Sep 2014 23:12:10 +0000 (19:12 -0400)]
asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module
Yury Selivanov [Thu, 25 Sep 2014 16:13:41 +0000 (12:13 -0400)]
merge 3.4
Yury Selivanov [Thu, 25 Sep 2014 16:09:09 +0000 (12:09 -0400)]
asyncio: Improve canceled timer handles cleanup. Closes issue #22448.
Patch by Joshua Moore-Oliva.
Yury Selivanov [Thu, 25 Sep 2014 16:07:56 +0000 (12:07 -0400)]
asyncio: Improve canceled timer handles cleanup. Closes issue #22448.
Patch by Joshua Moore-Oliva.
Nick Coghlan [Thu, 25 Sep 2014 09:48:15 +0000 (19:48 +1000)]
Issue #18093: fix test_capi test skip due to _testembed move
Benjamin Peterson [Thu, 25 Sep 2014 05:07:54 +0000 (01:07 -0400)]
merge 3.4
Yury Selivanov [Thu, 25 Sep 2014 03:41:28 +0000 (23:41 -0400)]
asyncio: Reverting
69d474dab479 as issue #21645 is now closed and debug is no longer needed
Yury Selivanov [Thu, 25 Sep 2014 03:30:03 +0000 (23:30 -0400)]
asyncio.test_events: Partially reverting
f7643c893587 to stay in sync with tulip codebase
Yury Selivanov [Thu, 25 Sep 2014 03:22:26 +0000 (23:22 -0400)]
asyncio.unix_events: Move import statement to match code in tulip
Yury Selivanov [Thu, 25 Sep 2014 03:21:39 +0000 (23:21 -0400)]
asyncio.unix_events: Move import statement to match tulip code
Benjamin Peterson [Thu, 25 Sep 2014 00:22:49 +0000 (20:22 -0400)]
merge 3.4 (#22484)
Benjamin Peterson [Thu, 25 Sep 2014 00:22:24 +0000 (20:22 -0400)]
allow archives for rc releases to be built (closes #22484)
Victor Stinner [Wed, 24 Sep 2014 22:39:17 +0000 (00:39 +0200)]
(Merge 3.4) test_faulthandler: fix typo
Victor Stinner [Wed, 24 Sep 2014 22:38:48 +0000 (00:38 +0200)]
test_faulthandler: fix typo
R David Murray [Wed, 24 Sep 2014 17:14:07 +0000 (13:14 -0400)]
Merge: Apply asyncio Task English fixes to docstrings as well.
R David Murray [Wed, 24 Sep 2014 17:13:45 +0000 (13:13 -0400)]
Apply asyncio Task English fixes to docstrings as well.
Also fixed the phrasing in a comment.
R David Murray [Wed, 24 Sep 2014 15:09:42 +0000 (11:09 -0400)]
Merge: Improve English phrasing in asyncio task docs.
R David Murray [Wed, 24 Sep 2014 15:09:09 +0000 (11:09 -0400)]
Improve English phrasing in asyncio task docs.
Berker Peksag [Wed, 24 Sep 2014 12:03:57 +0000 (15:03 +0300)]
Issue #16056: Rename test method in test_statistics to avoid conflict.
Berker Peksag [Wed, 24 Sep 2014 12:03:25 +0000 (15:03 +0300)]
Issue #16056: Rename test method in test_statistics to avoid conflict.
Serhiy Storchaka [Wed, 24 Sep 2014 10:29:27 +0000 (13:29 +0300)]
Issue #22427: TemporaryDirectory no longer attempts to clean up twice when
used in the with statement in generator.
Serhiy Storchaka [Wed, 24 Sep 2014 10:26:25 +0000 (13:26 +0300)]
Issue #22427: TemporaryDirectory no longer attempts to clean up twice when
used in the with statement in generator.
Berker Peksag [Wed, 24 Sep 2014 09:44:06 +0000 (12:44 +0300)]
Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
Patch by Terry Chia.
Berker Peksag [Wed, 24 Sep 2014 09:43:29 +0000 (12:43 +0300)]
Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
Patch by Terry Chia.
Georg Brandl [Wed, 24 Sep 2014 07:08:12 +0000 (09:08 +0200)]
Update importlib.h frozen bytecode (changed due to commit
c0ca9d32aed4 ).
Georg Brandl [Wed, 24 Sep 2014 06:37:55 +0000 (08:37 +0200)]
#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.
Serhiy Storchaka [Tue, 23 Sep 2014 20:24:19 +0000 (23:24 +0300)]
Null merge
Serhiy Storchaka [Tue, 23 Sep 2014 20:23:55 +0000 (23:23 +0300)]
Merge heads
Serhiy Storchaka [Tue, 23 Sep 2014 20:23:41 +0000 (23:23 +0300)]
Merge heads
Serhiy Storchaka [Tue, 23 Sep 2014 20:22:41 +0000 (23:22 +0300)]
Issue #22362: Forbidden ambiguous octal escapes out of range 0-0o377 in
regular expressions.
Serhiy Storchaka [Tue, 23 Sep 2014 20:04:54 +0000 (23:04 +0300)]
Fixed bytes literals in tests.
Serhiy Storchaka [Tue, 23 Sep 2014 20:04:21 +0000 (23:04 +0300)]
Fixed bytes literals in tests.
Ned Deily [Tue, 23 Sep 2014 19:54:18 +0000 (12:54 -0700)]
Issue #22471: Avoid Python Launcher.app install problems by removing
vestigial Makefile step.
Ned Deily [Tue, 23 Sep 2014 19:48:54 +0000 (12:48 -0700)]
Issue #22471: Avoid Python Launcher.app install problems by removing
vestigial Makefile step.
Serhiy Storchaka [Tue, 23 Sep 2014 19:42:02 +0000 (22:42 +0300)]
Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
directory attributes.
Serhiy Storchaka [Tue, 23 Sep 2014 19:40:23 +0000 (22:40 +0300)]
Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
directory attributes.
Serhiy Storchaka [Tue, 23 Sep 2014 19:28:03 +0000 (22:28 +0300)]
Fixed test_large_file_exception. Ported tests for large count of files
to AbstractTestZip64InSmallFiles.
Serhiy Storchaka [Tue, 23 Sep 2014 19:27:34 +0000 (22:27 +0300)]
Fixed test_large_file_exception. Ported tests for large count of files
to AbstractTestZip64InSmallFiles.
Serhiy Storchaka [Tue, 23 Sep 2014 18:35:57 +0000 (21:35 +0300)]
Issue #21866: ZipFile.close() no longer writes ZIP64 central directory
records if allowZip64 is false.
Serhiy Storchaka [Tue, 23 Sep 2014 18:34:24 +0000 (21:34 +0300)]
Issue #21866: ZipFile.close() no longer writes ZIP64 central directory
records if allowZip64 is false.
Serhiy Storchaka [Tue, 23 Sep 2014 16:59:34 +0000 (19:59 +0300)]
Fixed reference leak in the "backslashreplace" error handler.
Serhiy Storchaka [Tue, 23 Sep 2014 16:59:09 +0000 (19:59 +0300)]
Fixed reference leak in the "backslashreplace" error handler.
Benjamin Peterson [Tue, 23 Sep 2014 02:44:21 +0000 (22:44 -0400)]
merge 3.4 (#22459)
Benjamin Peterson [Tue, 23 Sep 2014 02:43:50 +0000 (22:43 -0400)]
fix error in split() examples (closes #22459)
Patch by Raúl Cumplido.
Larry Hastings [Mon, 22 Sep 2014 22:58:41 +0000 (23:58 +0100)]
Null merge.
Larry Hastings [Mon, 22 Sep 2014 22:51:20 +0000 (23:51 +0100)]
Fix pydoc topics. I'll regenerate this again for 3.4.2 final,
but fixing it now means the test suite can have zero errors
during the next two weeks.
Ned Deily [Mon, 22 Sep 2014 22:36:12 +0000 (15:36 -0700)]
Fix formatting typo in Misc/NEWS.
Ned Deily [Mon, 22 Sep 2014 22:34:19 +0000 (15:34 -0700)]
Fix formatting typo in Misc/NEWS.
Ned Deily [Mon, 22 Sep 2014 21:44:22 +0000 (14:44 -0700)]
Issue #21431: merge from 3.4
Ned Deily [Mon, 22 Sep 2014 21:38:58 +0000 (14:38 -0700)]
merge v3.4.2rc1 release stuff to default