]> granicus.if.org Git - python/log
python
10 years agomerge with 3.4
Georg Brandl [Tue, 30 Sep 2014 20:17:48 +0000 (22:17 +0200)]
merge with 3.4

10 years agoPrepare sphinx extensions for 1.3.
Georg Brandl [Tue, 30 Sep 2014 20:17:41 +0000 (22:17 +0200)]
Prepare sphinx extensions for 1.3.

10 years agomerge 3.4 (#22528)
Benjamin Peterson [Tue, 30 Sep 2014 20:02:26 +0000 (16:02 -0400)]
merge 3.4 (#22528)

10 years agoadd link to pdb source (closes #22528)
Benjamin Peterson [Tue, 30 Sep 2014 20:02:06 +0000 (16:02 -0400)]
add link to pdb source (closes #22528)

10 years agoReorganize C API docs of the exception API
Antoine Pitrou [Tue, 30 Sep 2014 19:56:10 +0000 (21:56 +0200)]
Reorganize C API docs of the exception API

10 years agoIssue #18711: Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accep...
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.

10 years ago(Merge 3.4) Issue #22448: asyncio, cleanup _run_once(), only iterate once to
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.

10 years agoIssue #22448: asyncio, cleanup _run_once(), only iterate once to remove delayed
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.

10 years agoremove merge goop from f86fde20e9ce
Benjamin Peterson [Tue, 30 Sep 2014 15:00:46 +0000 (11:00 -0400)]
remove merge goop from f86fde20e9ce

10 years agoRemove pointless "vile hack" that can cause the build step to fail when some extensio...
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.

10 years ago(Merge 3.4) faulthandler: test_gil_released() now uses _sigsegv() instead of
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.

10 years agofaulthandler: test_gil_released() now uses _sigsegv() instead of _read_null(),
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.

10 years agofaulthandler: _sigsegv() and _sigabrt() don't accept parameters
Victor Stinner [Tue, 30 Sep 2014 11:49:09 +0000 (13:49 +0200)]
faulthandler: _sigsegv() and _sigabrt() don't accept parameters

10 years agofaulthandler: suppress crash reporter directly in test functions written to
Victor Stinner [Tue, 30 Sep 2014 11:40:12 +0000 (13:40 +0200)]
faulthandler: suppress crash reporter directly in test functions written to
crash.

10 years ago(Merge 3.4) Issue #22396: On 32-bit AIX platform, don't expose
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.

10 years agoIssue #22396: On 32-bit AIX platform, don't expose os.posix_fadvise() nor
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.

10 years agoFix "warning: comparison between signed and unsigned integer expressions"
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.

10 years agomerge 3.4 (#22520)
Benjamin Peterson [Tue, 30 Sep 2014 03:02:56 +0000 (23:02 -0400)]
merge 3.4 (#22520)

10 years agomerge 3.3 (#22520)
Benjamin Peterson [Tue, 30 Sep 2014 03:02:35 +0000 (23:02 -0400)]
merge 3.3 (#22520)

10 years agoprevent overflow in unicode_repr (closes #22520)
Benjamin Peterson [Tue, 30 Sep 2014 03:02:15 +0000 (23:02 -0400)]
prevent overflow in unicode_repr (closes #22520)

10 years agomerge 3.4 (#22517)
Benjamin Peterson [Tue, 30 Sep 2014 02:49:05 +0000 (22:49 -0400)]
merge 3.4 (#22517)

10 years agomerge 3.3 (#22517)
Benjamin Peterson [Tue, 30 Sep 2014 02:48:51 +0000 (22:48 -0400)]
merge 3.3 (#22517)

10 years agoclear BufferedRWPair weakrefs on deallocation (closes #22517)
Benjamin Peterson [Tue, 30 Sep 2014 02:46:57 +0000 (22:46 -0400)]
clear BufferedRWPair weakrefs on deallocation (closes #22517)

10 years agofix windows tests (#16662)
Benjamin Peterson [Tue, 30 Sep 2014 01:54:28 +0000 (21:54 -0400)]
fix windows tests (#16662)

From Robert Collins.

10 years agomerge 3.4
Benjamin Peterson [Mon, 29 Sep 2014 23:12:44 +0000 (19:12 -0400)]
merge 3.4

10 years agomerge 3.3
Benjamin Peterson [Mon, 29 Sep 2014 23:12:37 +0000 (19:12 -0400)]
merge 3.3

10 years agothese variables ought to be Py_ssize_t
Benjamin Peterson [Mon, 29 Sep 2014 23:12:26 +0000 (19:12 -0400)]
these variables ought to be Py_ssize_t

10 years agomerge 3.4 (#22519)
Benjamin Peterson [Mon, 29 Sep 2014 23:11:05 +0000 (19:11 -0400)]
merge 3.4 (#22519)

10 years agomerge 3.3 (closes #22519)
Benjamin Peterson [Mon, 29 Sep 2014 23:09:49 +0000 (19:09 -0400)]
merge 3.3 (closes #22519)

10 years agofix overflow checking in PyBytes_Repr (closes #22519)
Benjamin Peterson [Mon, 29 Sep 2014 23:01:18 +0000 (19:01 -0400)]
fix overflow checking in PyBytes_Repr (closes #22519)

10 years agomerge 3.4 (closes #22518)
Benjamin Peterson [Mon, 29 Sep 2014 22:53:58 +0000 (18:53 -0400)]
merge 3.4 (closes #22518)

10 years agomerge 3.3 (closes #22518)
Benjamin Peterson [Mon, 29 Sep 2014 22:50:06 +0000 (18:50 -0400)]
merge 3.3 (closes #22518)

10 years agoNEWS issue for #22518
Benjamin Peterson [Mon, 29 Sep 2014 22:42:35 +0000 (18:42 -0400)]
NEWS issue for #22518

10 years agocleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_u...
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)

10 years agoIssue #22437: Number of capturing groups in regular expression is no longer
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.

10 years ago#17442: Add chained traceback support to InteractiveInterpreter.
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.

10 years agoIssue #22510: Get rid of little overhead of testing re.DEBUG flag.
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.

10 years agoMerge: #20135: FAQ entry for list mutation. (See also 90b07d422bd9.)
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.

10 years ago#20135: FAQ entry for list mutation. (See also 6375bf34fff6.)
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.

10 years agoCloses issue #20858: Enhancements/fixes to pure-python datetime module
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.

10 years agomerge 3.4 (#22379)
Benjamin Peterson [Sun, 28 Sep 2014 16:57:22 +0000 (12:57 -0400)]
merge 3.4 (#22379)

10 years agocheck that exception messages are not empty (#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.

10 years ago#10510: Fix bug in forward port of 2.7 distutils patch.
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.

10 years ago#10510: Fix bug in forward port of 2.7 distutils patch.
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.

10 years agoRemoved a code for suport Python version <2.2.
Serhiy Storchaka [Sun, 28 Sep 2014 12:36:18 +0000 (15:36 +0300)]
Removed a code for suport Python version <2.2.

10 years agoRemoved redundant casts to `char *`.
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).

10 years agoRevert #22251
Berker Peksag [Sat, 27 Sep 2014 21:01:55 +0000 (00:01 +0300)]
Revert #22251

10 years agoRevert #22251
Berker Peksag [Sat, 27 Sep 2014 21:00:58 +0000 (00:00 +0300)]
Revert #22251

10 years agoMerge: #10510: make distuitls upload/register use HTML standards compliant CRLF.
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.

10 years ago#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.

10 years agoIssue #22251: Fix ReST markup to avoid errors building docs.
Berker Peksag [Sat, 27 Sep 2014 20:22:35 +0000 (23:22 +0300)]
Issue #22251: Fix ReST markup to avoid errors building docs.

10 years agoIssue #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.

10 years agoMerge with 3.4.
Berker Peksag [Sat, 27 Sep 2014 19:49:33 +0000 (22:49 +0300)]
Merge with 3.4.

10 years agoMerge heads.
Berker Peksag [Sat, 27 Sep 2014 19:48:58 +0000 (22:48 +0300)]
Merge heads.

10 years agoMerge heads.
Berker Peksag [Sat, 27 Sep 2014 19:47:59 +0000 (22:47 +0300)]
Merge heads.

10 years agoIssue #16537: Check whether self.extensions is empty in setup.py.
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.

10 years agoMerge: #18854: make it explicit that is_multipart does not mean 'multipart/xxx'.
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'.

10 years ago#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.

10 years agoIssue #16537: Check whether self.extensions is empty in setup.py.
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.

10 years agoMerge: #20974: Update version table in email intro.
R David Murray [Sat, 27 Sep 2014 19:00:10 +0000 (15:00 -0400)]
Merge: #20974: Update version table in email intro.

10 years ago#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.

10 years agoIssue #9850: Fixed macpath.join() for empty first component. Patch by
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.

10 years agoIssue #9850: Fixed macpath.join() for empty first component. Patch by
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.

10 years agoIssue #16324: _charset parameter of MIMEText now also accepts email.charset.Charset...
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.

10 years agoinspect: Fix getsource() to support decorated functions.
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.

10 years agoIssue #5309: distutils' build and build_ext commands now accept a ``-j``
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.

10 years agonull merge
Yury Selivanov [Fri, 26 Sep 2014 21:11:59 +0000 (17:11 -0400)]
null merge

10 years agotempfile: Fix docstring. Issue #21397, patch by R. David Murray.
Yury Selivanov [Fri, 26 Sep 2014 21:08:21 +0000 (17:08 -0400)]
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.

10 years agotempfile: 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.

10 years agoos: Include posix functions in os.__all__. Closes issue #18554.
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.

10 years agoIssue #17462: Add a paragraph about advantages of argparse over optparse.
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.

10 years agoIssue #17462: Add a paragraph about advantages of argparse over optparse.
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.

10 years agoNull merge
Serhiy Storchaka [Fri, 26 Sep 2014 06:04:19 +0000 (09:04 +0300)]
Null merge

10 years agoasyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module
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

10 years agoasyncio.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

10 years agomerge 3.4
Yury Selivanov [Thu, 25 Sep 2014 16:13:41 +0000 (12:13 -0400)]
merge 3.4

10 years agoasyncio: Improve canceled timer handles cleanup. Closes issue #22448.
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.

10 years agoasyncio: Improve canceled timer handles cleanup. Closes issue #22448.
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.

10 years agoIssue #18093: fix test_capi test skip due to _testembed move
Nick Coghlan [Thu, 25 Sep 2014 09:48:15 +0000 (19:48 +1000)]
Issue #18093: fix test_capi test skip due to _testembed move

10 years agomerge 3.4
Benjamin Peterson [Thu, 25 Sep 2014 05:07:54 +0000 (01:07 -0400)]
merge 3.4

10 years agoasyncio: Reverting 69d474dab479 as issue #21645 is now closed and debug is no longer...
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

10 years agoasyncio.test_events: Partially reverting f7643c893587 to stay in sync with tulip...
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

10 years agoasyncio.unix_events: Move import statement to match code in tulip
Yury Selivanov [Thu, 25 Sep 2014 03:22:26 +0000 (23:22 -0400)]
asyncio.unix_events: Move import statement to match code in tulip

10 years agoasyncio.unix_events: Move import statement to match tulip code
Yury Selivanov [Thu, 25 Sep 2014 03:21:39 +0000 (23:21 -0400)]
asyncio.unix_events: Move import statement to match tulip code

10 years agomerge 3.4 (#22484)
Benjamin Peterson [Thu, 25 Sep 2014 00:22:49 +0000 (20:22 -0400)]
merge 3.4 (#22484)

10 years agoallow archives for rc releases to be built (closes #22484)
Benjamin Peterson [Thu, 25 Sep 2014 00:22:24 +0000 (20:22 -0400)]
allow archives for rc releases to be built (closes #22484)

10 years ago(Merge 3.4) test_faulthandler: fix typo
Victor Stinner [Wed, 24 Sep 2014 22:39:17 +0000 (00:39 +0200)]
(Merge 3.4) test_faulthandler: fix typo

10 years agotest_faulthandler: fix typo
Victor Stinner [Wed, 24 Sep 2014 22:38:48 +0000 (00:38 +0200)]
test_faulthandler: fix typo

10 years agoMerge: Apply asyncio Task English fixes to docstrings as well.
R David Murray [Wed, 24 Sep 2014 17:14:07 +0000 (13:14 -0400)]
Merge: Apply asyncio Task English fixes to docstrings as well.

10 years agoApply 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.

10 years agoMerge: Improve English phrasing in asyncio task docs.
R David Murray [Wed, 24 Sep 2014 15:09:42 +0000 (11:09 -0400)]
Merge: Improve English phrasing in asyncio task docs.

10 years agoImprove 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.

10 years agoIssue #16056: Rename test method in test_statistics to avoid conflict.
Berker Peksag [Wed, 24 Sep 2014 12:03:57 +0000 (15:03 +0300)]
Issue #16056: Rename test method in test_statistics to avoid conflict.

10 years agoIssue #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.

10 years agoIssue #22427: TemporaryDirectory no longer attempts to clean up twice when
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.

10 years agoIssue #22427: TemporaryDirectory no longer attempts to clean up twice when
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.

10 years agoIssue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
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.

10 years agoIssue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
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.

10 years agoUpdate importlib.h frozen bytecode (changed due to commit c0ca9d32aed4).
Georg Brandl [Wed, 24 Sep 2014 07:08:12 +0000 (09:08 +0200)]
Update importlib.h frozen bytecode (changed due to commit c0ca9d32aed4).

10 years ago#22464: Speed up common Fraction operations by special-casing several
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.