Victor Stinner
5f9d3acc5e
Issue #22806 : Add ``python -m test --list-tests`` command to list tests.
2015-10-03 00:21:12 +02:00
Victor Stinner
076fc872bc
Issue #18174 : "python -m test --huntrleaks ..." now also checks for leak of
...
file descriptors. Patch written by Richard Oudkerk.
2015-10-03 00:20:56 +02:00
Victor Stinner
6661d885a3
Issue #25287 : Don't add crypt.METHOD_CRYPT to crypt.methods if it's not
...
supported. Check if it is supported, it may not be supported on OpenBSD for
example.
2015-10-02 23:00:39 +02:00
Berker Peksag
4b5d8018df
Merge from 3.5
...
Hg: --
2015-10-02 23:29:13 +03:00
Berker Peksag
8214a7c38f
Tweak susp-ignored.csv to make buildbots happy
2015-10-02 23:28:45 +03:00
Yury Selivanov
d763909885
asyncio: Make ensure_future() accept all kinds of awaitables. (Merge 3.5)
2015-10-02 15:09:51 -04:00
Yury Selivanov
43d71e2512
asyncio: Make ensure_future() accept all kinds of awaitables.
2015-10-02 15:05:59 -04:00
Yury Selivanov
620279b9ac
asyncio: ensure_future() now understands awaitables
2015-10-02 15:00:19 -04:00
Berker Peksag
6585501113
Issue #25290 : Fix typo in csv.reader() docstring
...
Patch by Johannes Niediek.
2015-10-02 19:26:14 +03:00
Berker Peksag
987f215141
Issue #25290 : Fix typo in csv.reader() docstring
...
Patch by Johannes Niediek.
2015-10-02 19:25:53 +03:00
Berker Peksag
e2382c598c
Issue #25290 : Fix typo in csv.reader() docstring
...
Patch by Johannes Niediek.
2015-10-02 19:25:32 +03:00
Serhiy Storchaka
29e68edbf4
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
2015-10-02 13:14:03 +03:00
Serhiy Storchaka
58c8f2bb6d
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
2015-10-02 13:13:14 +03:00
Serhiy Storchaka
28b21e50c8
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
2015-10-02 13:07:28 +03:00
Serhiy Storchaka
5dbe245ef2
Issue #24483 : C implementation of functools.lru_cache() now calculates key's
...
hash only once.
2015-10-02 12:47:59 +03:00
Serhiy Storchaka
b9d98d532c
Issue #24483 : C implementation of functools.lru_cache() now calculates key's
...
hash only once.
2015-10-02 12:47:11 +03:00
Steve Dower
30b7138fe1
Merge from 3.5
2015-10-01 15:20:11 -07:00
Steve Dower
c9fda9b903
Issue #25165 : Windows uninstallation should not remove launcher if other versions remain
2015-10-01 15:19:39 -07:00
Steve Dower
c4b7600b90
Improves support for building unofficial versions of the Windows installer.
2015-10-01 15:18:53 -07:00
Victor Stinner
3222da26fe
Make _PyUnicode_TranslateCharmap() symbol private
...
unicodeobject.h exposes PyUnicode_TranslateCharmap() and PyUnicode_Translate().
2015-10-01 22:07:32 +02:00
Victor Stinner
13f7fc5771
Update importlib_external.h
2015-10-01 22:06:54 +02:00
Victor Stinner
01ada3996b
Issue #25267 : The UTF-8 encoder is now up to 75 times as fast for error
...
handlers: ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``.
Patch co-written with Serhiy Storchaka.
2015-10-01 21:54:51 +02:00
Vinay Sajip
29a1445136
Closes #24884 : refactored WatchedFileHandler file reopening into a separate method, based on a suggestion and patch by Marian Horban.
2015-10-01 20:54:41 +01:00
Vinay Sajip
14b1b486ca
Fixes #25097 : Merged fix from 3.5.
2015-10-01 20:39:30 +01:00
Vinay Sajip
d5963e615d
Fixes #25097 : Merged fi from 3.4.
2015-10-01 20:38:53 +01:00
Vinay Sajip
223349cfb8
Fixes #25097 : Windows test is skipped if there are insufficient privileges, rather than failing.
2015-10-01 20:37:54 +01:00
Victor Stinner
98f223dfa0
Issue #25277 : Set a timeout of 10 minutes in test_eintr using faulthandler to
...
try to debug a hang on the FreeBSD 9 buildbot.
Run also eintr_tester.py with python "-u" command line option to try to get the
full output on hang/crash.
2015-10-01 13:16:43 +02:00
Vinay Sajip
2c6ea295ba
Closes #25185 : merged fix from 3.5.
2015-10-01 11:28:34 +01:00
Vinay Sajip
2934fd66ae
Closes #25185 : merged fix from 3.4.
2015-10-01 11:27:57 +01:00
Vinay Sajip
f223c53218
Closes #25185 : Use UTF-8 encoding when reading pyvenv.cfg.
2015-10-01 11:27:00 +01:00
Serhiy Storchaka
f22d8080ae
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:55:52 +03:00
Serhiy Storchaka
0b40aab6f0
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:40:22 +03:00
Serhiy Storchaka
f731bc09fa
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:08:50 +03:00
Victor Stinner
0e25a8f225
Merge 3.5
2015-10-01 10:01:31 +02:00
Victor Stinner
861f067201
Merge 3.4 (os.urandom)
2015-10-01 10:00:23 +02:00
Victor Stinner
78cc2e8968
Issue #25003 : os.urandom() doesn't use getentropy() on Solaris because
...
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
2015-10-01 09:59:32 +02:00
Victor Stinner
4d45be776c
Merge 3.5
2015-10-01 09:51:02 +02:00
Victor Stinner
bae2d6203f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-10-01 09:47:30 +02:00
Victor Stinner
4241bcd4e1
(Merge 3.5) Issue #25274 : test_recursionlimit_recovery() of test_sys now checks
...
sys.gettrace() when the test is executed, not when the module is loaded.
sys.settrace() may be after after the test is loaded.
2015-10-01 08:56:54 +02:00
Victor Stinner
87bddbac9d
(Merge 3.4) Issue #25274 : test_recursionlimit_recovery() of test_sys now checks
...
sys.gettrace() when the test is executed, not when the module is loaded.
sys.settrace() may be after after the test is loaded.
2015-10-01 08:56:27 +02:00
Victor Stinner
3f18f10f39
Issue #25274 : test_recursionlimit_recovery() of test_sys now checks
...
sys.gettrace() when the test is executed, not when the module is loaded.
sys.settrace() may be after after the test is loaded.
2015-10-01 08:55:33 +02:00
Andrew Svetlov
a91b7e0dc7
Merge 3.5 -> default
2015-10-01 09:49:03 +03:00
Andrew Svetlov
313242aa03
Merge 3.4 -> 3.5
2015-10-01 09:48:36 +03:00
Andrew Svetlov
1c62b52c3f
Reflect parameter name change in the doc
2015-10-01 09:48:08 +03:00
Victor Stinner
b7a8af20ff
Fix _PyTime_AsTimevalStruct_impl() on OpenBSD
...
On the x86 OpenBSD 5.8 buildbot, the integer overflow check is ignored. Copy
the tv_sec variable into a Py_time_t variable instead of "simply" casting it to
Py_time_t, to fix the integer overflow check.
2015-10-01 08:44:03 +02:00
Raymond Hettinger
0d30940dd2
Add fast paths to deque_init() for the common cases
2015-09-30 23:15:02 -07:00
Victor Stinner
a53a818c3c
Fix regrtest --coverage on Windows
...
Issue #25260 : Fix ``python -m test --coverage`` on Windows. Remove the list of
ignored directories.
2015-10-01 00:53:09 +02:00
Victor Stinner
c29f399e7e
Backout change 28d3bcb1bad6: "Try to fix _PyTime_AsTimevalStruct_impl() on
...
OpenBSD", I'm not sure that the change was really needed. I read the test
result of an old build because the OpenBSD was 100 builds late.
2015-09-30 22:50:12 +02:00
Victor Stinner
c51d244fc9
Issue #25171 : Fix compilation issue on OpenBSD in random.c
...
Patch written by Remi Pointel.
2015-09-30 22:06:51 +02:00
Victor Stinner
d69dd8bd5e
(Merge 3.5) Issue #25182 : Fix compilation on Windows
2015-09-30 15:03:50 +02:00