- 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 6 commits
-
-
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.
-
Christian Heimes authored
Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes authored
Replaces PROTOCOL_TLSv* and PROTOCOL_SSLv23 with PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER. Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes authored
SSLSocket.wrap_bio() and SSLSocket.wrap_socket() hard-code SSLObject and SSLSocket as return types. In the light of future deprecation of ssl.wrap_socket() module function and direct instantiation of SSLSocket, it is desirable to make the return type of SSLSocket.wrap_bio() and SSLSocket.wrap_socket() customizable. Signed-off-by: Christian Heimes <christian@python.org>
-
Terry Jan Reedy authored
'Strip trailing whitespace' is not limited to spaces. Wording caters to beginners who do know know the meaning of 'whitespace'. Multiline string literals are not skipped. * News blurb.
-
Paul Romano authored
-