- 28 Nov, 2018 7 commits
-
-
Victor Stinner authored
The "busy loops" of test_process_time() and test_thread_time() are not reliable and fail randomly on Windows: remove them.
-
INADA Naoki authored
This reverts commit 1005c845.
-
Victor Stinner authored
PyStructSequence_GET_ITEM() must be used instead of PyTuple_GET_ITEM() on a StructTimeType.
-
Victor Stinner authored
Move tupleobject.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/tupleobject.h header file. Add cpython/ header files to Makefile.pre.in and pythoncore project of PCbuild.
-
Victor Stinner authored
Fix memory leak in PyUnicode_EncodeLocale() and PyUnicode_EncodeFSDefault() on error handling. Changes: * Fix unicode_encode_locale() error handling * Fix test_codecs.LocaleCodecTest
-
Victor Stinner authored
Create a new "doctest" job in Travis CI to run "make doctest".
-
Victor Stinner authored
Fix WithThreadsTestPool.test_wrapped_exception() of test_multiprocessing_fork: join the pool. WithThreadsTestPool.test_del_pool() is now also decorated with @support.reap_threads.
-
- 27 Nov, 2018 14 commits
-
-
Victor Stinner authored
Fix the following clang warning: Include/cpython/pystate.h:217:3: warning: redefinition of typedef 'PyThreadState' is a C11 feature [-Wtypedef-redefinition]
-
Serhiy Storchaka authored
Fix warnings with gcc 8 for wrapperfunc <-> wrapperfunc_kwds casts.
-
Anthony Sottile authored
-
Serhiy Storchaka authored
Fix also return type for few other functions (clear, releasebuffer).
-
Victor Stinner authored
Partically revert commit c2e1607a to fix a reference leak.
-
Victor Stinner authored
"make tags" and "make TAGS" now also parse Include/cpython/ header files.
-
Victor Stinner authored
'data' argument of unicode_fill() is modified, so it must not be constant. Add more assertions to unicode_fill(): check the maximum character value.
-
Victor Stinner authored
Fix mktime() overflow error in test_email: run test_localtime_daylight_true_dst_true() and test_localtime_daylight_false_dst_true() with a specific timezone.
-
Serhiy Storchaka authored
Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS excluding Argument Clinic generated code.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS in Argument Clinic generated code.
-
Serhiy Storchaka authored
The lineno and col_offset attributes of AST nodes for list comprehensions, generator expressions and tuples are now point to the opening parenthesis or square brace. For tuples without parenthesis they point to the position of the first item.
-
Zackery Spytz authored
test_reduce_ex() in test_array.py and test_reversevaluesiterator_pickling() in test_dict.py weren't using the highest pickle protocol.
-
E. M. Bray authored
-
- 26 Nov, 2018 18 commits
-
-
Victor Stinner authored
Move pystate.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/pystate.h header file.
-
Victor Stinner authored
* Move dictobject.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/dictobject.h header file. * Add PyAPI_FUNC() to _PyDictView_New(). * Reorganize dictobject.h: move views and iterators at the end.
-
Victor Stinner authored
Move pylifecycle.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/pylifecycle.h header file.
-
Victor Stinner authored
Move abstract.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/abstract.h header file.
-
Zhiming Wang authored
Regression introduced in e3ce6952 and 25b804a9, where the old parameter update_tryorder to _synthesize was first ignored, then given the opposite value in the attempt to fix bpo-31014.
-
Victor Stinner authored
Move pyerrors.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/pyerrors.h header file.
-
Victor Stinner authored
Tolerate up to 30 ms, instead of 15 min, in other threads.
-
Lisa Roach authored
-
Victor Stinner authored
Move unicodeobject.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/unicodeobject.h header file.
-
Mathieu Dupuy authored
-
Victor Stinner authored
* Move object.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/object.h header file. * "typedef struct _typeobject PyTypeObject;" is now always defined in object.h, but if Py_LIMITED_API is not defined, Include/cpython/object.h also defines the structure. * Complete the printfunc comment to mention Py_LIMITED_API define.
-
Victor Stinner authored
Log TZ to debug a timezone issue... and a few more :-)
-
Victor Stinner authored
Fix str.format(), float.__format__() and complex.__format__() methods for non-ASCII decimal point when using the "n" formatter. Changes: * Rewrite _PyUnicode_InsertThousandsGrouping(): it now requires a _PyUnicodeWriter object for the buffer and a Python str object for digits. * Rename FILL() macro to unicode_fill(), convert it to static inline function, add "assert(0 <= start);" and rework its code.
-
Victor Stinner authored
Add "assert(PyTuple_Check(op));" to _PyTuple_CAST() to check that the argument is a tuple object in debug mode. PyTuple_GET_SIZE() now uses _PyTuple_CAST() to get its assertion.
-
INADA Naoki authored
There are some same consts in a module. This commit merges them into single instance. It reduces number of objects in memory after loading modules. https://bugs.python.org/issue34100
-
Victor Stinner authored
* Remove an unused import. * Move get_expected_config() call to check_config() to ease backport to Python 3.7.
-
Victor Stinner authored
test_embed.InitConfigTests now gets the expected configuration from a child process run with -S to not run the site module.
-
-
- 25 Nov, 2018 1 commit
-
-
Victor Stinner authored
Move _PyTuple_ITEMS() to a new header file: Include/internal/pycore_tupleobject.h
-