Victor Stinner
05e218c37d
Merge 3.6
2017-02-10 10:34:37 +01:00
Victor Stinner
b67f096738
Fix datetime.fromtimestamp(): check bounds
...
Issue #29100 : Fix datetime.fromtimestamp() regression introduced in Python
3.6.0: check minimum and maximum years.
2017-02-10 10:34:02 +01:00
Łukasz Langa
57fe245e8c
Merge 3.5 ( fix #29519 )
2017-02-10 00:16:10 -08:00
Łukasz Langa
9cd7e17640
Fix #29519 : weakref spewing exceptions during interp finalization
2017-02-10 00:14:55 -08:00
Nick Coghlan
c7a24a7330
Merge issue #26355 fix from 3.6
2017-02-09 16:09:03 +01:00
Nick Coghlan
e1857579f8
Merge issue #26355 fix from Python 3.5
2017-02-09 16:08:17 +01:00
Nick Coghlan
e66244521c
Issue #26355 : Specify canonical URLs in docs pages
...
Add canonical header link on each page to corresponding major
version of the documentation.
Patch by Matthias Bussonnier.
2017-02-09 16:03:59 +01:00
Victor Stinner
193ee0a0e8
Prohibit implicit C function declarations
...
Issue #27659 : use -Werror=implicit-function-declaration when possible (GCC and
Clang, but it depends on the compiler version).
Patch written by Chi Hsuan Yen.
2017-02-06 14:24:00 +01:00
Steve Dower
49226e23f6
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:41:12 -08:00
Steve Dower
c008ddeb21
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:39:38 -08:00
Steve Dower
6d46ae7d12
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:39:21 -08:00
Steve Dower
824c6fdfaa
Issue #29326 : Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
2017-02-04 15:19:46 -08:00
Steve Dower
5f9193a6ed
Issue #29326 : Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
2017-02-04 15:19:29 -08:00
Steve Dower
43fec9b419
Merge issue #28164 and issue #29409
2017-02-04 15:14:18 -08:00
Steve Dower
722e3e2705
Issue #28164 : Correctly handle special console filenames (patch by Eryk Sun)
2017-02-04 15:07:46 -08:00
Steve Dower
38dbaced03
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:50 -08:00
Steve Dower
bf0fc39edb
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:40 -08:00
Steve Dower
21fae03e16
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:13 -08:00
Steve Dower
479d96c694
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:56:57 -08:00
Steve Dower
1add96f1b6
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:55:16 -08:00
Steve Dower
d3c4853b78
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:54:56 -08:00
Steve Dower
eacee98679
Issue #29409 : Implement PEP 529 for io.FileIO (Patch by Eryk Sun)
2017-02-04 14:38:11 -08:00
Serhiy Storchaka
ef5176769d
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:57:44 +02:00
Serhiy Storchaka
86e42376c2
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:55:40 +02:00
Serhiy Storchaka
7e10dbbd45
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:53:57 +02:00
Serhiy Storchaka
bee09aecc2
Issue #29368 : The extend() method is now called instead of the append()
...
method when unpickle collections.deque and other list-like objects.
This can speed up unpickling to 2 times.
2017-02-02 11:12:47 +02:00
Guido van Rossum
934aba66ef
Issue #29377 : Add three new wrappers to types.py (Manuel Krebber).
2017-02-01 10:55:58 -08:00
Victor Stinner
611083331d
python-gdb.py supports method-wrapper
...
Issue #29367 : python-gdb.py now supports also method-wrapper (wrapperobject)
objects.
2017-02-01 16:29:54 +01:00
doko@ubuntu.com
c9473b838a
Merge 3.6
2017-02-01 13:02:16 +01:00
doko@ubuntu.com
f8c5f30303
Merge 3.5
2017-02-01 13:01:54 +01:00
doko@ubuntu.com
137b5a2861
Issue #29169 : Fix NEWS entry.
2017-02-01 13:01:17 +01:00
Berker Peksag
ef158c3ced
Issue #29218 : Remove unused install_misc command
...
It has been documented as unused since 6c6844a2fa30 (2000-05-25)
Patch by Eric N. Vander Weele.
2017-02-01 04:42:48 +03:00
doko@ubuntu.com
9ac4815240
merge 3.6
2017-01-31 13:53:39 +01:00
doko@ubuntu.com
cd12f7cb5c
merge 3.5
2017-01-31 13:51:21 +01:00
doko@ubuntu.com
34e7e2ecb1
- Issue #29169 : Update zlib to 1.2.10.
2017-01-31 13:49:48 +01:00
Martin Panter
f24bcccefd
Issue #28822 : Add susp-ignored entry for NEWS; fix grammar
2017-01-29 23:37:56 +00:00
Martin Panter
3f16f57ea4
Issue #29384 : Remove Be OS scripts from Modules/, unused in 3.0+
2017-01-29 10:21:57 +00:00
Martin Panter
c654f0acf9
Issues #29349 : Add NEWS for 3.7; use “with” statement
2017-01-29 10:17:17 +00:00
Martin Panter
3a6dc19f6e
Issues #29349 : Merge Py 2 fix 3.6
2017-01-29 10:16:28 +00:00
Martin Panter
e61592e7e1
Issues #29349 : Merge Py 2 fix 3.5
2017-01-29 10:09:43 +00:00
Martin Panter
8f3fb72309
Issue #29349 : Fix Python 2 syntax in documentation build code
2017-01-29 10:05:02 +00:00
Serhiy Storchaka
6e08baf12d
Issue #27867 : Function PySlice_GetIndicesEx() is deprecated and replaced with
...
a macro if Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher. Added functions
PySlice_Unpack() and PySlice_AdjustIndices().
2017-01-25 13:27:44 +02:00
Serhiy Storchaka
512c57cb72
Issue #27867 : Function PySlice_GetIndicesEx() is replaced with a macro if
...
Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.
2017-01-25 13:25:52 +02:00
Serhiy Storchaka
b2a5be0763
Issue #27867 : Function PySlice_GetIndicesEx() is replaced with a macro if
...
Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.
2017-01-25 13:23:05 +02:00
Serhiy Storchaka
675f2f8f90
Issue #29083 : Fixed the declaration of some public API functions.
...
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
2017-01-24 21:39:42 +02:00
Serhiy Storchaka
3831b0a066
Issue #29083 : Fixed the declaration of some public API functions.
...
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
2017-01-24 21:34:44 +02:00
Serhiy Storchaka
07a1f65a93
Issue #29083 : Fixed the declaration of some public API functions.
...
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
2017-01-24 21:27:12 +02:00
Serhiy Storchaka
067cbd02bf
Issue #29337 : Fixed possible BytesWarning when compare the code objects.
...
Warnings could be emitted at compile time.
2017-01-24 20:54:07 +02:00
Serhiy Storchaka
4102d25b7e
Issue #29337 : Fixed possible BytesWarning when compare the code objects.
...
Warnings could be emitted at compile time.
2017-01-24 20:52:43 +02:00
Serhiy Storchaka
713640c4c9
Issue #29337 : Fixed possible BytesWarning when compare the code objects.
...
Warnings could be emitted at compile time.
2017-01-24 20:49:26 +02:00