Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 5eb78c75128187a36d8e983027632fa51cc2ff4d authored by Victor Stinner on 03 December 2018, 23:09:02 UTC, committed by GitHub on 03 December 2018, 23:09:02 UTC
* bpo-35373: Fix PyInit_timezone() error handling PyInit_timezone() now returns -1 at exit if an exception is raised. Check also explicitly PyUnicode_DecodeLocale() and Py_BuildValue() errors. * bpo-35373: Fix PyInit_time() error handling (GH-10865) * PyInit_time() now returns NULL if an exception is raised. * Rename PyInit_timezone() to init_timezone(). "PyInit_" prefix is a special prefix for function initializing a module. init_timezone() doesn't initialize a module and the function is not exported. (cherry picked from commit 3bb150d8148e3cc08418077a58f43e064b9fde61)
1 parent e8f9e47
Tip revision: 5eb78c75128187a36d8e983027632fa51cc2ff4d authored by Victor Stinner on 03 December 2018, 23:09:02 UTC
[3.7] bpo-35373: Fix PyInit_timezone() error handling (GH-10864)
[3.7] bpo-35373: Fix PyInit_timezone() error handling (GH-10864)
Tip revision: 5eb78c7
File | Mode | Size |
---|---|---|
Python.asdl | -rw-r--r-- | 5.0 KB |
acceler.c | -rw-r--r-- | 3.3 KB |
asdl.py | -rw-r--r-- | 12.6 KB |
asdl_c.py | -rw-r--r-- | 43.2 KB |
bitset.c | -rw-r--r-- | 1.0 KB |
firstsets.c | -rw-r--r-- | 2.8 KB |
grammar.c | -rw-r--r-- | 7.4 KB |
grammar1.c | -rw-r--r-- | 1.3 KB |
listnode.c | -rw-r--r-- | 1.3 KB |
metagrammar.c | -rw-r--r-- | 2.4 KB |
myreadline.c | -rw-r--r-- | 9.9 KB |
node.c | -rw-r--r-- | 4.4 KB |
parser.c | -rw-r--r-- | 11.6 KB |
parser.h | -rw-r--r-- | 1.2 KB |
parsetok.c | -rw-r--r-- | 10.5 KB |
parsetok_pgen.c | -rw-r--r-- | 35 bytes |
pgen.c | -rw-r--r-- | 17.9 KB |
pgenmain.c | -rw-r--r-- | 4.0 KB |
printgrammar.c | -rw-r--r-- | 2.9 KB |
tokenizer.c | -rw-r--r-- | 51.6 KB |
tokenizer.h | -rw-r--r-- | 3.1 KB |
tokenizer_pgen.c | -rw-r--r-- | 36 bytes |
Computing file changes ...