Victor Stinner
3e1fad6913
Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords
...
Issue #29286 .
2017-01-17 01:29:01 +01:00
Benjamin Peterson
510df6f272
merge 3.6
2017-01-16 00:05:54 -08:00
Benjamin Peterson
741c45adab
merge 3.5
2017-01-16 00:05:47 -08:00
Benjamin Peterson
a105dd3dc0
generate spaces instead of tabs into config.c
2017-01-16 00:05:12 -08:00
Martin Panter
446a498a63
Merge doc fixes from 3.6
2017-01-14 09:56:00 +00:00
Martin Panter
4659ddc433
Merge doc fixes from 3.5
2017-01-14 09:54:57 +00:00
Martin Panter
536d70ed33
Fix grammar, typos and markup in documentation and code comments
...
* Indent versionchanged at method level, not class level
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt
2017-01-14 08:23:08 +00:00
Serhiy Storchaka
b37f3f6e6b
Issue #29195 : Removed support of deprecated undocumented keyword arguments
...
in methods of regular expression objects.
2017-01-13 08:53:58 +02:00
Serhiy Storchaka
8cbc51ab3d
Py_SIZE() was misused for dict.
2017-01-13 08:38:15 +02:00
Serhiy Storchaka
a6758427fd
Py_SIZE() was misused for dict.
2017-01-13 08:37:05 +02:00
Serhiy Storchaka
3023ebb43f
Py_SIZE() was misused for dict.
2017-01-13 08:34:34 +02:00
Raymond Hettinger
a24dca6a90
Fix typo
2017-01-12 22:25:25 -08:00
Serhiy Storchaka
617c7753ce
Issue #28969 : Fixed race condition in C implementation of functools.lru_cache.
...
KeyError could be raised when cached function with full cache was
simultaneously called from differen threads with the same uncached arguments.
2017-01-12 19:42:20 +02:00
Serhiy Storchaka
42e1ea9a10
Issue #28969 : Fixed race condition in C implementation of functools.lru_cache.
...
KeyError could be raised when cached function with full cache was
simultaneously called from differen threads with the same uncached arguments.
2017-01-12 19:12:21 +02:00
Serhiy Storchaka
67796521dd
Issue #28969 : Fixed race condition in C implementation of functools.lru_cache.
...
KeyError could be raised when cached function with full cache was
simultaneously called from differen threads with the same uncached arguments.
2017-01-12 18:34:33 +02:00
Raymond Hettinger
68191f8a9c
Backed out changeset ea064ff3c10f
2017-01-09 07:39:46 -08:00
Stefan Krah
3c29fd0074
While a speedup of 1% is measurable, contexts aren't created that often,
...
so let's defer this until 3.7, 3.8, ... all have this new function.
2017-01-09 13:53:32 +01:00
Stefan Krah
a40a3f35eb
Merge 3.6.
2017-01-09 13:12:09 +01:00
Stefan Krah
e660335b7e
Merge 3.5.
2017-01-09 13:11:51 +01:00
Stefan Krah
18e0a97a1a
Issue #28701 : Revert part of 5bdc8e1a50c8 for the following reasons:
...
- There was no real problem to begin with.
- The hypothetical problem has been fixed by 5bdc8e1a50c8.
2017-01-09 13:11:27 +01:00
Serhiy Storchaka
32999ab48a
Issue #29190 : Fixed possible errors in comparing strings in the pickle module.
2017-01-09 10:10:07 +02:00
Serhiy Storchaka
f0f35a6720
Issue #29190 : Fixed possible errors in comparing strings in the pickle module.
2017-01-09 10:09:43 +02:00
Serhiy Storchaka
9937d90ee8
Issue #29190 : Fixed possible errors in comparing strings in the pickle module.
2017-01-09 10:04:34 +02:00
Raymond Hettinger
9d60b94427
Sync-up lru_cache() C code with space saving feature in the Python version.
2017-01-08 19:34:28 -08:00
Raymond Hettinger
dda44682c6
Complete the merge for issue #29203
2017-01-08 18:04:30 -08:00
Raymond Hettinger
4ee39141e8
Issue #29203 : functools.lru_cache() now respects PEP 468
2017-01-08 17:28:20 -08:00
Xiang Zhang
ce16c6827c
Issue #29034 : Merge 3.6.
2017-01-08 23:30:05 +08:00
Xiang Zhang
04316c4cc8
Issue #29034 : Fix memory leak and use-after-free in path_converter.
2017-01-08 23:26:57 +08:00
Stefan Krah
aaa67862e8
Merge 3.6.
2017-01-08 01:36:46 +01:00
Stefan Krah
0b64a0fc64
Add comment why the change in d83884b3a427 wasn't necessary.
2017-01-08 01:36:00 +01:00
Stefan Krah
f4df2ee78c
Merge 3.6.
2017-01-08 01:11:50 +01:00
Stefan Krah
dada5a8d75
Revert part of 3cb3e224b692 in code that I maintain.
2017-01-08 01:11:27 +01:00
Stefan Krah
45ed522237
Revert part of dbf72357cb4a that is in a rarely used path and causes
...
maintenance issues (cost/benefit).
2017-01-08 00:08:53 +01:00
Stefan Krah
2b938f84f4
Revert (unauthorized) parts of 54a89144ee1d which are not in a speed-sensitive
...
path in order to avoid maintenance issues.
2017-01-08 00:02:15 +01:00
Stefan Krah
1b5fa6b7c9
Revert (unauthorized) parts of b9eb35435178 which are not in a speed-sensitive
...
path and cause maintenance issues (3.6 <-> 3.7, private test suite).
2017-01-07 23:20:27 +01:00
Victor Stinner
12bc0274a8
Merge 3.6
2017-01-03 23:47:39 +01:00
Victor Stinner
423c16b4c3
Issue #29140 : Fix hash(datetime.time)
...
Fix time_hash() function: replace DATE_xxx() macros with TIME_xxx() macros.
Before, the hash function used a wrong value for microseconds if fold is set
(equal to 1).
2017-01-03 23:47:12 +01:00
Serhiy Storchaka
0f05512104
Fixed possible reference leaks in the _json module.
2017-01-03 11:20:15 +02:00
Serhiy Storchaka
8d979d576e
Fixed possible reference leaks in the _json module.
2017-01-03 11:19:48 +02:00
Serhiy Storchaka
21fe721345
Fixed possible reference leaks in the _json module.
2017-01-03 11:17:44 +02:00
Berker Peksag
00b1ae0dfc
Issue #28985 : Update authorizer constants in sqlite3 module
...
Dates and version information from the changelog:
* 2006-08-12 (3.3.7) added SQLITE_CREATE_VTABLE, SQLITE_DROP_VTABLE
* 2006-10-09 (3.3.8) added SQLITE_FUNCTION
* 2009-01-12 (3.6.8) added SQLITE_SAVEPOINT
* 2014-02-03 (3.8.3) added SQLITE_RECURSIVE
Patch by Dingyuan Wang.
2017-01-02 06:38:10 +03:00
Benjamin Peterson
e70ca463eb
merge 3.6 ( #29085 )
2016-12-28 20:03:23 -08:00
Benjamin Peterson
acc2f74ca9
fix error check, so that Random.seed actually uses OS randomness ( closes #29085 )
2016-12-28 20:02:35 -08:00
Steve Dower
280408bf1c
Issue #28768 : Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto
2016-12-28 15:41:53 -08:00
Steve Dower
bfce0f977d
Issue #28768 : Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto
2016-12-28 15:41:09 -08:00
Antoine Pitrou
c06ae208eb
Issue #28427 : old keys should not remove new values from
...
WeakValueDictionary when collecting from another thread.
2016-12-27 14:34:54 +01:00
Antoine Pitrou
d741ed492f
Issue #28427 : old keys should not remove new values from
...
WeakValueDictionary when collecting from another thread.
2016-12-27 14:23:43 +01:00
Antoine Pitrou
e10ca3a0fe
Issue #28427 : old keys should not remove new values from
...
WeakValueDictionary when collecting from another thread.
2016-12-27 14:19:20 +01:00
Martin Panter
9e40afe20a
Issue #29004 : Merge crc_hqx() doc from 3.6
2016-12-24 07:45:56 +00:00
Martin Panter
520569e9bd
Issue #29004 : Merge crc_hqx() doc from 3.5
2016-12-24 07:44:03 +00:00