- 01 Sep, 2019 2 commits
-
-
Serhiy Storchaka authored
Only AttributeError should be silenced.
-
Serhiy Storchaka authored
Remove methods Element.getchildren(), Element.getiterator() and ElementTree.getiterator() and the xml.etree.cElementTree module.
-
- 31 Aug, 2019 3 commits
-
-
Ashwin Ramaswami authored
Fixes a case in which email._header_value_parser.get_unstructured hangs the system for some invalid headers. This covers the cases in which the header contains either: - a case without trailing whitespace - an invalid encoded word https://bugs.python.org/issue37764 This fix should also be backported to 3.7 and 3.8 https://bugs.python.org/issue37764
-
Daniel Pope authored
-
Inada Naoki authored
-
- 30 Aug, 2019 6 commits
-
-
Inada Naoki authored
MSVC 2015 supports %zd / %zu. "z" is portable enough nowadays.
-
Min ho Kim authored
-
Terry Jan Reedy authored
-
Victor Stinner authored
Fix a ctypes regression of Python 3.8. When a ctypes.Structure is passed by copy to a function, ctypes internals created a temporary object which had the side effect of calling the structure finalizer (__del__) twice. The Python semantics requires a finalizer to be called exactly once. Fix ctypes internals to no longer call the finalizer twice. Create a new internal StructParam_Type which is only used by _ctypes_callproc() to call PyMem_Free(ptr) on Py_DECREF(argument). StructUnionType_paramfunc() creates such object.
-
Sergey Fedoseev authored
-
Raymond Hettinger authored
-
- 29 Aug, 2019 22 commits
-
-
Ned Deily authored
when built on non-Windows system without fd system call support, like older versions of macOS.
-
Thomas A Caswell authored
Fix faulthandler.cancel_dump_traceback_later() call if cancel_dump_traceback_later() was not called previously.
-
Raymond Hettinger authored
-
Rémi Lapeyre authored
-
Paul Ganssle authored
Adds a link to `dateutil.parser.isoparse` in the documentation. It would be nice to set up intersphinx for things like this, but I think we can leave that for a separate PR. CC: @pitrou [bpo-37979](https://bugs.python.org/issue37979) https://bugs.python.org/issue37979 Automerge-Triggered-By: @pitrou
-
Nick Coghlan authored
With `symtable_visit_expr` now correctly adjusting the recursion depth for named expressions, `symtable_handle_namedexpr` should be leaving it alone. Also adds a new check to `PySymtable_BuildObject` that raises `SystemError` if a successful first symbol analysis pass fails to keep the stack depth accounting clean.
-
Joannah Nanjekye authored
Added tests for PyDateTime_xxx_GET_xxx() macros of the C API of the datetime module.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Justin Blanchard authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Rémi Lapeyre authored
-
Xtreak authored
* Fix call_matcher for mock when using methods * Add NEWS entry * Use None check and convert doctest to unittest * Use better name for mock in tests. Handle _SpecState when the attribute was not accessed and add tests. * Use reset_mock instead of reinitialization. Change inner class constructor signature for check * Reword comment regarding call object lookup logic
-
Raymond Hettinger authored
-
avinassh authored
-
Benjamin Peterson authored
-
Ronald Oussoren authored
-
HongWeipeng authored
-
Vinay Sharma authored
https://bugs.python.org/issue37964 Automerge-Triggered-By: @benjaminp
-
- 28 Aug, 2019 3 commits
-
-
Zackery Spytz authored
-
Anonymous Maarten authored
https://bugs.python.org/issue37965 https://bugs.python.org/issue37965 Automerge-Triggered-By: @benjaminp
-
Daniel Fortunov authored
-
- 27 Aug, 2019 4 commits
-
-
Christian Heimes authored
-
Ethan Furman authored
-
Greg Price authored
These appeared in commit c5ae169e. The comment on them, as well as the presence among them of a rule for the .gitignore file itself, indicate that the author intended these lines to remain only in their own local working tree -- not to get committed even to their own repo, let alone merged upstream. They did nevertheless get committed, because it turns out that Git takes no notice of what .gitignore says about files that it's already tracking... for example, this .gitignore file itself. Give effect to these lines' original intention, by deleting them. :-) Git tip, for reference: the `.git/info/exclude` file is a handy way to do exactly what these lines were originally intended to do. A related handy file is `~/.config/git/ignore`. See gitignore(5), aka `git help ignore`, for details. https://bugs.python.org/issue37936 Automerge-Triggered-By: @zware
-
Raymond Hettinger authored
-