cpython/Python
Victor Stinner 590cebe391 Issue #19787: PyThread_set_key_value() now always set the value
In Python 3.3, PyThread_set_key_value() did nothing if the key already exists
(if the current value is a non-NULL pointer).

When _PyGILState_NoteThreadState() is called twice on the same thread with a
different Python thread state, it still keeps the old Python thread state to
keep the old behaviour. Replacing the Python thread state with the new state
introduces new bugs: see issues #10915 and #15751.
2013-12-13 11:08:56 +01:00
..
Python-ast.c Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py". 2013-10-12 22:52:43 +02:00
_warnings.c Issue #19512, #19515: remove shared identifiers, move identifiers where they 2013-11-07 23:07:29 +01:00
asdl.c Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py". 2013-10-12 22:52:43 +02:00
ast.c Issue #1772673: The type of `char*` arguments now changed to `const char*`. 2013-10-19 21:03:34 +03:00
bltinmodule.c merge 3.3 (#19910) 2013-12-06 20:12:51 -05:00
ceval.c Issue #14432: Remove the thread state field from the frame structure. Fix a 2013-12-13 02:01:38 +01:00
ceval_gil.h Issue #15038: Optimize python Locks on Windows 2012-06-18 20:30:44 +00:00
codecs.c Issue #19619: Blacklist non-text codecs in method API 2013-11-22 22:39:36 +10:00
compile.c upcast int to size_t to silence two autological-constant-out-of-range-compare warnings with clang. 2013-12-04 08:42:46 +01:00
condvar.h Issue #15038 : Fixing the condition broadcast and docs. 2013-03-19 20:18:37 -07:00
dtoa.c Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float. 2013-11-26 16:19:13 +00:00
dup2.c
dynamic_annotations.c
dynload_aix.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
dynload_dl.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 2012-05-04 15:20:40 -04:00
dynload_hpux.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 2012-05-04 15:20:40 -04:00
dynload_next.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 2012-05-04 15:20:40 -04:00
dynload_shlib.c merge 3.3 2013-07-22 22:08:17 -07:00
dynload_stub.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 2012-05-04 15:20:40 -04:00
dynload_win.c Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows(). 2013-06-10 15:38:54 +01:00
errors.c Issue #19512, #19515: remove shared identifiers, move identifiers where they 2013-11-07 23:07:29 +01:00
fileutils.c (Merge 3.3) fileutils.c: use MAXPATHLEN instead of PATH_MAX 2013-11-15 18:14:33 +01:00
formatter_unicode.c Add _PyUnicodeWriter_WriteASCIIString() function 2013-11-19 12:54:53 +01:00
frozen.c make some freezing related stuff const 2013-03-13 14:06:39 -05:00
frozenmain.c Issue #15893: Remove dead code 2013-07-27 02:41:03 +02:00
future.c Close #11619: The parser and the import machinery do not encode Unicode 2013-08-26 22:28:21 +02:00
getargs.c PY_FORMAT_SIZE_T should not be used with PyErr_Format(), PyErr_Format("%zd") is 2013-11-18 02:05:31 +01:00
getcompiler.c
getcopyright.c make string literal const 2013-10-31 01:20:58 -04:00
getopt.c #16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka. 2012-11-23 18:48:32 +02:00
getplatform.c
getversion.c
graminit.c Backed out changeset 521232b05b97 2013-03-20 00:39:41 -05:00
import.c Implement PEP 451 (ModuleSpec). 2013-11-22 09:05:39 -07:00
importdl.c Issue #18408: Fix _PyImport_LoadDynamicModule(), handle PyUnicode_FromFormat() failure 2013-07-17 21:53:23 +02:00
importdl.h #16135: Removal of OS/2 support (I) 2012-10-05 01:04:27 +02:00
importlib.h Issue #18864: Add a setter for ModuleSpec.has_location. 2013-12-10 22:16:41 -07:00
makeopcodetargets.py excise the remains of STOP_CODE, which hasn't done anything useful for years 2011-07-17 22:49:50 -05:00
marshal.c Fix compiler warning (on Windows 64-bit): explicit cast Py_ssize_t to unsigned 2013-11-16 00:13:29 +01:00
modsupport.c modsupport.c reuses Py_UNICODE_strlen() 2011-09-29 04:01:43 +02:00
mysnprintf.c
mystrtoul.c Issue #1772673: The type of `char*` arguments now changed to `const char*`. 2013-10-19 21:03:34 +03:00
opcode_targets.h rather than passing locals to the class body, just execute the class body in the proper environment 2013-05-16 14:37:25 -05:00
peephole.c Issue #19437: Fix fold_unaryops_on_constants() of the peephole optimizer, clear 2013-11-14 01:21:00 +01:00
pyarena.c Issue #18203: Replace malloc() with PyMem_Malloc() to allocate arena objects 2013-07-07 17:18:53 +02:00
pyctype.c
pyfpe.c
pyhash.c Issue #19183: too many tests depend on the sort order of repr(). 2013-11-20 12:49:05 +01:00
pymath.c
pystate.c Issue #19787: PyThread_set_key_value() now always set the value 2013-12-13 11:08:56 +01:00
pystrcmp.c
pystrtod.c Re #18521: remove assignments of variables that are immediately reassigned. 2013-10-14 06:51:46 +02:00
pythonrun.c Issue #19817: Fix print_exception(), clear the exception on error 2013-12-09 02:10:08 +01:00
pytime.c PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result 2012-06-12 22:46:37 +02:00
random.c ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. 2013-11-20 11:46:18 +01:00
sigcheck.c
strdup.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
structmember.c Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815 2012-09-11 17:30:53 +02:00
symtable.c merge 3.3 (#19098) 2013-09-26 22:21:41 -04:00
sysmodule.c Issue #14432: Remove the thread state field from the frame structure. Fix a 2013-12-13 02:01:38 +01:00
thread.c Issue #19787: PyThread_set_key_value() now always set the value 2013-12-13 11:08:56 +01:00
thread_foobar.h
thread_nt.h Issue #19787: PyThread_set_key_value() now always set the value 2013-12-13 11:08:56 +01:00
thread_pthread.h Issue #19787: PyThread_set_key_value() now always set the value 2013-12-13 11:08:56 +01:00
traceback.c Issue #19512, #19515: remove shared identifiers, move identifiers where they 2013-11-07 23:07:29 +01:00