]>
granicus.if.org Git - python/log
Georg Brandl [Tue, 30 Sep 2014 20:56:38 +0000 (22:56 +0200)]
Move Doc/tools/sphinxext content to Doc/tools, there is no need for the nested subdirectory anymore.
Georg Brandl [Tue, 30 Sep 2014 20:24:08 +0000 (22:24 +0200)]
merge with 3.4
Georg Brandl [Tue, 30 Sep 2014 20:23:57 +0000 (22:23 +0200)]
Dont define an empty SPHINXOPTS, which overrides a definition from the environment.
Georg Brandl [Tue, 30 Sep 2014 20:17:48 +0000 (22:17 +0200)]
merge with 3.4
Georg Brandl [Tue, 30 Sep 2014 20:17:41 +0000 (22:17 +0200)]
Prepare sphinx extensions for 1.3.
Benjamin Peterson [Tue, 30 Sep 2014 20:02:26 +0000 (16:02 -0400)]
merge 3.4 (#22528)
Benjamin Peterson [Tue, 30 Sep 2014 20:02:06 +0000 (16:02 -0400)]
add link to pdb source (closes #22528)
Antoine Pitrou [Tue, 30 Sep 2014 19:56:10 +0000 (21:56 +0200)]
Reorganize C API docs of the exception API
Antoine Pitrou [Tue, 30 Sep 2014 19:16:27 +0000 (21:16 +0200)]
Issue #18711: Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument.
Victor Stinner [Tue, 30 Sep 2014 16:11:00 +0000 (18:11 +0200)]
(Merge 3.4) Issue #22448: asyncio, cleanup _run_once(), only iterate once to
remove delayed calls that were cancelled.
Victor Stinner [Tue, 30 Sep 2014 16:08:36 +0000 (18:08 +0200)]
Issue #22448: asyncio, cleanup _run_once(), only iterate once to remove delayed
calls that were cancelled.
Benjamin Peterson [Tue, 30 Sep 2014 15:00:46 +0000 (11:00 -0400)]
remove merge goop from
f86fde20e9ce
Antoine Pitrou [Tue, 30 Sep 2014 12:58:22 +0000 (14:58 +0200)]
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.
Victor Stinner [Tue, 30 Sep 2014 11:55:30 +0000 (13:55 +0200)]
(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.
Victor Stinner [Tue, 30 Sep 2014 11:54:14 +0000 (13:54 +0200)]
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.
Victor Stinner [Tue, 30 Sep 2014 11:49:09 +0000 (13:49 +0200)]
faulthandler: _sigsegv() and _sigabrt() don't accept parameters
Victor Stinner [Tue, 30 Sep 2014 11:40:12 +0000 (13:40 +0200)]
faulthandler: suppress crash reporter directly in test functions written to
crash.
Victor Stinner [Tue, 30 Sep 2014 10:35:58 +0000 (12:35 +0200)]
(Merge 3.4) Issue #22396: On 32-bit AIX platform, don't expose
os.posix_fadvise() nor os.posix_fallocate() because their prototypes in system
headers are wrong.
Victor Stinner [Tue, 30 Sep 2014 10:20:05 +0000 (12:20 +0200)]
Issue #22396: On 32-bit AIX platform, don't expose os.posix_fadvise() nor
os.posix_fallocate() because their prototypes in system headers are wrong.
Gregory P. Smith [Tue, 30 Sep 2014 07:33:24 +0000 (00:33 -0700)]
Fix "warning: comparison between signed and unsigned integer expressions"
-Wsign-compare warnings in unicodeobject.c. These were all a result
of sizeof() being unsigned and being compared to a Py_ssize_t.
Not actual problems.
Benjamin Peterson [Tue, 30 Sep 2014 03:02:56 +0000 (23:02 -0400)]
merge 3.4 (#22520)
Benjamin Peterson [Tue, 30 Sep 2014 03:02:35 +0000 (23:02 -0400)]
merge 3.3 (#22520)
Benjamin Peterson [Tue, 30 Sep 2014 03:02:15 +0000 (23:02 -0400)]
prevent overflow in unicode_repr (closes #22520)
Benjamin Peterson [Tue, 30 Sep 2014 02:49:05 +0000 (22:49 -0400)]
merge 3.4 (#22517)
Benjamin Peterson [Tue, 30 Sep 2014 02:48:51 +0000 (22:48 -0400)]
merge 3.3 (#22517)
Benjamin Peterson [Tue, 30 Sep 2014 02:46:57 +0000 (22:46 -0400)]
clear BufferedRWPair weakrefs on deallocation (closes #22517)
Benjamin Peterson [Tue, 30 Sep 2014 01:54:28 +0000 (21:54 -0400)]
fix windows tests (#16662)
From Robert Collins.
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.