Victor Stinner
d62ecf51ef
Merge 3.6
2016-11-14 12:39:05 +01:00
Victor Stinner
8bf43e6d0b
Issue #28082 : Add basic unit tests on re enums
2016-11-14 12:38:43 +01:00
Victor Stinner
fb6a6596b5
Issue #28637 : Reapply changeset 223731925d06
...
"issue28082: use IntFlag for re constants" by Ethan Furman.
The re module is not more used in the site module and so adding "import enum"
to re.py doesn't impact python_startup benchmark anymore.
2016-11-14 12:35:55 +01:00
Benjamin Peterson
2294f83c7c
merge 3.6
2016-11-14 00:15:52 -08:00
Benjamin Peterson
996fc1fcfc
correctly emulate error semantics of gen.throw in FutureIter_throw
2016-11-14 00:15:44 -08:00
Martin Panter
5e17ad9716
Merge AIX fixes from 3.6
2016-11-14 05:04:36 +00:00
Martin Panter
f8cebad290
Merge AIX fixes from 3.5 into 3.6
2016-11-14 05:04:12 +00:00
Martin Panter
c9e08d8cb5
Issue #28000 : Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
...
Patch by Matthieu S.
2016-11-14 04:26:36 +00:00
Martin Panter
9544a365bd
Issue #28016 : Skip /dev/tty seekable() test on AIX
2016-11-14 01:58:57 +00:00
Martin Panter
bb0f8e6bba
Issue #28678 : Merge parameter name from 3.6
2016-11-13 23:36:30 +00:00
Martin Panter
f8c25e3424
Issue #28678 : Merge parameter name from 3.5 into 3.6
2016-11-13 23:36:07 +00:00
Martin Panter
efbf20f3a3
Issue #28678 : Fix references to numeric_owner parameter
2016-11-13 23:25:06 +00:00
Xavier de Gaye
f59d568e47
Issue #26934 : Merge 3.6
2016-11-13 21:56:59 +01:00
Xavier de Gaye
95aa56a6fb
Issue #26934 : Handle _ANDROID_API_LEVEL is None on Windows
2016-11-13 21:55:52 +01:00
Xavier de Gaye
524eac0f14
Issue #26934 : Fix test_faulthandler on Android where raise() exits with 0,
...
with a cosmetic change to add a commit message with the issue number,
missing from the previous two commits.
2016-11-13 21:14:03 +01:00
Xavier de Gaye
c4bd0fe2e3
Merge 3.6
2016-11-13 20:47:39 +01:00
Xavier de Gaye
6c5f21945a
Fix test_faulthandler on Android where raise() exits with 0
2016-11-13 20:46:46 +01:00
Xavier de Gaye
daa9e239f0
Merge 3.6
2016-11-13 19:42:09 +01:00
Xavier de Gaye
f056b04eea
Merge 3.5
2016-11-13 19:41:07 +01:00
Xavier de Gaye
547c1b9ace
Fix temporary file not deleted in test_socket
2016-11-13 19:39:48 +01:00
Raymond Hettinger
77f6411d96
merge
2016-11-13 00:44:24 -05:00
Raymond Hettinger
24e4239434
Fix typos
2016-11-13 00:42:56 -05:00
Ned Deily
cf767ab4da
Issue #28676 : merge from 3.6
2016-11-12 16:39:52 -05:00
Ned Deily
7d895d3c37
Issue #28676 : merge from 3.5
2016-11-12 16:38:03 -05:00
Ned Deily
7ae4112649
Issue #28676 : Prevent missing 'getentropy' declaration warning on macOS.
...
Patch by Gareth Rees.
2016-11-12 16:35:48 -05:00
Serhiy Storchaka
a8f2f5ab0d
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:48:50 +02:00
Serhiy Storchaka
58d3e54556
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:48:33 +02:00
Serhiy Storchaka
022371ff94
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:47:16 +02:00
Serhiy Storchaka
616034eb73
Issue #28648 : Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
...
when decode astral characters.
2016-11-12 14:37:11 +02:00
Serhiy Storchaka
babe4f8e5e
Issue #28648 : Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
...
when decode astral characters.
2016-11-12 14:36:02 +02:00
Serhiy Storchaka
6b4b6e956e
Issue #28648 : Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
...
when decode astral characters.
2016-11-12 14:35:46 +02:00
Serhiy Storchaka
84293aff9f
Issue #28648 : Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
...
when decode astral characters.
2016-11-12 14:29:48 +02:00
Serhiy Storchaka
b626643734
Issue #28648 : Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
...
when decode astral characters.
2016-11-12 14:28:06 +02:00
Raymond Hettinger
c32f9db846
Issue #28665 : Use macro form of PyCell_GET/SET
2016-11-12 04:10:35 -05:00
Guido van Rossum
e42df24d72
Issue 28644: Document recent changes in typing.py (Ivan L) (3.6->3.7)
2016-11-11 15:58:03 -08:00
Guido van Rossum
2d6c17936e
Issue 28644: Document recent changes in typing.py (Ivan L) (3.5->3.6)
2016-11-11 15:57:09 -08:00
Guido van Rossum
ae08687c3b
Issue 28644: Document recent changes in typing.py (Ivan L)
2016-11-11 15:54:04 -08:00
Serhiy Storchaka
49bcce977d
Issue #28664 : test_bz2 now works on non-Windows platforms without bunzip2
...
(e.g. on Android).
2016-11-11 17:11:48 +02:00
Serhiy Storchaka
e0e9d5f312
Issue #28664 : test_bz2 now works on non-Windows platforms without bunzip2
...
(e.g. on Android).
2016-11-11 17:11:33 +02:00
Serhiy Storchaka
5adc22b330
Issue #28664 : test_bz2 now works on non-Windows platforms without bunzip2
...
(e.g. on Android).
2016-11-11 17:10:24 +02:00
Serhiy Storchaka
e618a18fe3
Merge from 3.6 (issue #28665 ).
2016-11-11 16:50:13 +02:00
Raymond Hettinger
b2b154374d
merge
2016-11-11 04:32:11 -08:00
Raymond Hettinger
13527123a1
Issue #28665 : Harmonize STORE_DEREF with STORE_FAST and LOAD_DEREF giving a 40% speedup.
2016-11-11 04:31:18 -08:00
Serhiy Storchaka
ac40c6c575
Issue #19398 : Extra slash no longer added to sys.path components in case of
...
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
2016-11-11 12:07:48 +02:00
Serhiy Storchaka
a27c064428
Issue #19398 : Extra slash no longer added to sys.path components in case of
...
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
2016-11-11 12:06:38 +02:00
Serhiy Storchaka
62e32d6352
Issue #19398 : Extra slash no longer added to sys.path components in case of
...
empty compile-time PYTHONPATH components. This fixes some tests in -S or -I
modes.
2016-11-11 12:05:01 +02:00
Serhiy Storchaka
684cadaef9
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:48:22 +02:00
Serhiy Storchaka
839102603c
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:46:44 +02:00
Serhiy Storchaka
daeddc48a4
Issue #23839 : Various caches now are cleared before running every test file.
2016-11-11 11:42:47 +02:00
Victor Stinner
c6944e7edc
Issue #28618 : Make hot functions using __attribute__((hot))
...
When Python is not compiled with PGO, the performance of Python on call_simple
and call_method microbenchmarks depend highly on the code placement. In the
worst case, the performance slowdown can be up to 70%.
The GCC __attribute__((hot)) attribute helps to keep hot code close to reduce
the risk of such major slowdown. This attribute is ignored when Python is
compiled with PGO.
The following functions are considered as hot according to statistics collected
by perf record/perf report:
* _PyEval_EvalFrameDefault()
* call_function()
* _PyFunction_FastCall()
* PyFrame_New()
* frame_dealloc()
* PyErr_Occurred()
2016-11-11 02:13:35 +01:00