cpython/Python
Victor Stinner 8a9a6b443c
[3.7] bpo-9566: Fix compiler warnings on Windows (GH-12920)
* bpo-9566: Fix compiler warnings in gcmodule.c (GH-11010)

Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t.

(cherry picked from commit edad38e3e0)

* bpo-30465: Fix C downcast warning on Windows in ast.c (#6593)

ast.c: fstring_fix_node_location() downcasts a pointer difference to
a C int. Replace int with Py_ssize_t to fix the compiler warning.

(cherry picked from commit fb7e7992be)

* bpo-9566: Fix compiler warnings in peephole.c (GH-10652)

(cherry picked from commit 028f0ef4f3)

* bpo-27645, sqlite: Fix integer overflow on sleep (#6594)

Use the _PyTime_t type and round away from zero (ROUND_UP,
_PyTime_ROUND_TIMEOUT) the sleep duration, when converting a Python
object to seconds and then to milliseconds. Raise an OverflowError in
case of overflow.

Previously the (int)double conversion rounded towards zero
(ROUND_DOWN).

(cherry picked from commit ca405017d5)
2019-04-23 10:26:11 +02:00
..
clinic
Python-ast.c
README
_warnings.c bpo-35454: Fix miscellaneous minor issues in error handling. (GH-11077) 2018-12-10 23:05:13 -08:00
asdl.c
ast.c [3.7] bpo-9566: Fix compiler warnings on Windows (GH-12920) 2019-04-23 10:26:11 +02:00
ast_opt.c
ast_unparse.c bpo-34854: Fix compiling string annotations containing lambdas. (GH-9645) 2018-09-30 11:19:15 -07:00
bltinmodule.c closes bpo-34474: Python/bltinmodule.c: Add missing NULL check in builtin_sum_impl() (GH-8872) 2018-08-24 00:59:16 -04:00
bootstrap_hash.c bpo-35550: Fix incorrect Solaris define guards (GH-11275) 2018-12-30 18:39:00 -08:00
ceval.c bpo-36370: Check for PyErr_Occurred() after PyImport_GetModule() (GH-12504) 2019-03-25 22:36:43 +01:00
ceval_gil.h
codecs.c bpo-35454: Fix miscellaneous minor issues in error handling. (GH-11077) 2018-12-10 23:05:13 -08:00
compile.c bpo-35284: Fix the error handling in the compiler's compiler_call(). (GH-10625) (GH-12496) 2019-03-22 15:20:49 +02:00
condvar.h
context.c bpo-33029: Fix signatures of getter and setter functions. (GH-10746) 2018-11-27 09:58:07 -08:00
dtoa.c bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) (GH-12331) 2019-03-14 17:12:01 +01:00
dup2.c
dynamic_annotations.c
dynload_aix.c
dynload_dl.c
dynload_hpux.c
dynload_shlib.c
dynload_stub.c
dynload_win.c [3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322) 2019-03-14 10:47:27 +02:00
errors.c bpo-34503: Fix refleak in PyErr_SetObject() (GH-8934) 2018-08-26 13:13:47 -04:00
fileutils.c bpo-34523: Fix C locale coercion on FreeBSD CURRENT (GH-10672) (GH-10673) 2018-11-23 13:37:42 +01:00
formatter_unicode.c bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) (GH-10718) 2018-11-26 14:17:01 +01:00
frozen.c
frozenmain.c
future.c
getargs.c [3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322) 2019-03-14 10:47:27 +02:00
getcompiler.c
getcopyright.c [3.7] Bump copyright years to 2019. (GH-11406) 2019-01-02 08:15:53 -08:00
getopt.c
getplatform.c
getversion.c
graminit.c
hamt.c [3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322) 2019-03-14 10:47:27 +02:00
import.c bpo-36370: Check for PyErr_Occurred() after PyImport_GetModule() (GH-12504) 2019-03-25 22:36:43 +01:00
importdl.c
importdl.h
importlib.h
importlib_external.h
makeopcodetargets.py
marshal.c bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) (GH-11020) 2018-12-07 14:17:43 +02:00
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_targets.h
pathconfig.c bpo-36236: Handle removed cwd at Python init (GH-12450) 2019-03-20 00:30:45 +01:00
peephole.c [3.7] bpo-9566: Fix compiler warnings on Windows (GH-12920) 2019-04-23 10:26:11 +02:00
pyarena.c [3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322) 2019-03-14 10:47:27 +02:00
pyctype.c
pyfpe.c
pyhash.c
pylifecycle.c bpo-32849: Fix is_valid_fd() on FreeBSD (GH-12852) (GH-12863) 2019-04-17 18:30:27 +02:00
pymath.c bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) 2018-11-12 22:20:21 -08:00
pystate.c bpo-35414: Add a missing Py_INCREF(Py_None) in PyState_RemoveModule(). (GH-10914) 2018-12-04 23:51:08 -08:00
pystrcmp.c
pystrhex.c
pystrtod.c bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) (GH-11020) 2018-12-07 14:17:43 +02:00
pythonrun.c bpo-34084: Fix setting an error message for the "Barry as BDFL" easter egg. (GH-8262) (GH-8423) 2018-07-24 01:41:26 +03:00
pytime.c
strdup.c
structmember.c
symtable.c Add a missed PyErr_NoMemory() in symtable_new(). (GH-10576) 2018-11-16 08:31:47 -08:00
sysmodule.c bpo-36370: Check for PyErr_Occurred() after PyImport_GetModule() (GH-12504) 2019-03-25 22:36:43 +01:00
thread.c
thread_nt.h bpo-33316: PyThread_release_lock always fails (GH-6541) 2019-02-02 08:45:50 -08:00
thread_pthread.h bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008) 2018-11-30 07:32:12 -08:00
traceback.c bpo-33029: Fix signatures of getter and setter functions. (GH-10746) 2018-11-27 09:58:07 -08:00
wordcode_helpers.h

README

Miscellaneous source files for the main Python shared library