- 21 Sep, 2017 5 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Affected classes are bytearray, array, deque, defaultdict, count and repeat.
-
Igor Filatov authored
Previously ensurepip would always report success, even if the pip installation failed.
-
Serhiy Storchaka authored
-
nurelin authored
Fix a memory corruption in getpath.c due to mixed memory allocators between Py_GetPath() and Py_SetPath(). The fix use the Raw allocator to mimic the windows version. This patch should be used from python3.6 to the current version for more details, see the bug report and https://github.com/pyinstaller/pyinstaller/issues/2812
-
- 20 Sep, 2017 6 commits
-
-
Antoine Pitrou authored
* bpo-31536: Avoid wholesale rebuild after `make regen-all` * Add NEWS
-
Anthony Sottile authored
This fixes a regression from Python 2. To get optional subparsers, use the new parameter ``add_subparsers(required=False)``. Patch by Anthony Sottile.
-
Felipe authored
-
Benjamin Peterson authored
This is based on https://github.com/ghaering/pysqlite/commit/40b349cadbd87c42f70fc92e5e1aee6d02564c6d#diff-0489411409cd2934730e88bf7767790, though we can be a bit more aggressive about deleting code.
-
Victor Stinner authored
Don't export the cell_set_contents() symbol in the C API.
-
Serhiy Storchaka authored
-
- 19 Sep, 2017 13 commits
-
-
Terry Jan Reedy authored
This one line of Serhiy Storchacka's bpo-31500 patch for is needed for other issues.
-
Steve Dower authored
-
Rohit Balasubramanian authored
-
Victor Stinner authored
* bpo-31479: Always reset the signal alarm in tests Use "try: ... finally: signal.signal(0)" pattern to make sure that tests don't "leak" a pending fatal signal alarm. * Move two more alarm() calls into the try block Fix also typo: replace signal.signal(0) with signal.alarm(0) * Move another signal.alarm() into the try block
-
Victor Stinner authored
-
Oren Milman authored
bpo-31293: Fix crashes in truediv and mul of a timedelta by a float with a bad as_integer_ratio() method. (#3227)
-
Oren Milman authored
bpo-31315: Fix an assertion failure in imp.create_dynamic(), when spec.name is not a string. (#3257)
-
Oren Milman authored
-
Ned Deily authored
-
Ned Deily authored
-
Ned Deily authored
-
Ned Deily authored
-
Ned Deily authored
-
- 18 Sep, 2017 7 commits
-
-
Antoine Pitrou authored
* Trivial cleanups following bpo-31370 * Also cleanup the "importlib._bootstrap_external" module
-
Antoine Pitrou authored
-
Victor Stinner authored
-
Victor Stinner authored
* bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash xml.etree: xmlparser_gc_clear() now sets self.parser to NULL to prevent a crash in xmlparser_dealloc() if xmlparser_gc_clear() was called previously by the garbage collector, because the parser was part of a reference cycle. Co-Authored-By:
Serhiy Storchaka <storchaka@gmail.com>
-
svelankar authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
This reverses a never-released regression resulting from bpo-31287.
-
- 17 Sep, 2017 5 commits
-
-
Serhiy Storchaka authored
This function returns the last component of tp_name after a dot. Returns tp_name itself if it doesn't contain a dot.
-
Raymond Hettinger authored
bpo-31482: Missing bytes support for random.seed() version 1 #3614
-
Mariatta authored
Shorten the comment to: "using integer format specifier"
-
Oren Milman authored
bpo-31490: Fix an assertion failure in ctypes in case an _anonymous_ attr is defined only outside _fields_. (#3615)
-
Terry Jan Reedy authored
Canceling timers prevents a warning message when test_idle completes. (This is the minimum fix needed before upcoming releases.)
-
- 16 Sep, 2017 3 commits
-
-
Mariatta authored
Provide additional examples of using format specifiers in f-strings Added examples for using integer and date format specifiers.
-
Mariatta authored
-
Terry Jan Reedy authored
When apply changes, call .reload on each class with non-key options. Change ParenMatch so that updates affect current instances.
-
- 15 Sep, 2017 1 commit
-
-
Eric Snow authored
The concrete PyDict_* API is used to interact with PyInterpreterState.modules in a number of places. This isn't compatible with all dict subclasses, nor with other Mapping implementations. This patch switches the concrete API usage to the corresponding abstract API calls. We also add a PyImport_GetModule() function (and some other helpers) to reduce a bunch of code duplication.
-