- 08 Jan, 2019 8 commits
-
-
Victor Stinner authored
Fix a memory leak in asyncio in the ProactorEventLoop when ReadFile() or WSASend() overlapped operation fail immediately: release the internal buffer.
-
Steve Dower authored
Also adds extra steps to the CI build for Windows on Azure Pipelines to validate that the various layouts at least execute.
-
Vladimir Matveev authored
As in title, expose C `raise` function as `raise_function` in `signal` module. Also drop existing `raise_signal` in `_testcapi` module and replace all usages with new function. https://bugs.python.org/issue35568
-
chrullrich authored
-
Pierre Glaser authored
-
Victor Stinner authored
bpo-32622, bpo-35682: Fix asyncio.ProactorEventLoop.sendfile(): don't attempt to set the result of an internal future if it's already done. Fix asyncio _ProactorBasePipeTransport._force_close(): don't set the result of _empty_waiter if it's already done.
-
Gregory Szorc authored
This module is built by _asyncio.vcxproj and does not need to be included in pythoncore.
-
Victor Stinner authored
test.pythoninfo now logs information of all clocks, not only time.time() and time.perf_counter().
-
- 07 Jan, 2019 3 commits
-
-
Victor Stinner authored
test_asyncio/test_sendfile.py now resets the event loop policy using tearDownModule() as done in other tests, to prevent a warning when running tests on Windows.
-
Raymond Hettinger authored
-
Xtreak authored
Fix an assertion error in format() in debug build for floating point formatting with "n" format, zero padding and small width. Release build is not impacted. Patch by Karthikeyan Singaravelan.
-
- 06 Jan, 2019 4 commits
-
-
cclauss authored
-
Cheryl Sabella authored
* bpo-35660: IDLE: Remove * import from window.py * sys was being imported through the *, so also added an import sys. * Update 2019-01-04-19-14-29.bpo-35660.hMxI7N.rst Anyone who wants details can check the issue, where I added the point about the sys import bug.
-
Anthony Shaw authored
-
Tal Einat authored
-
- 05 Jan, 2019 1 commit
-
-
Vladimir Matveev authored
-
- 04 Jan, 2019 1 commit
-
-
- 03 Jan, 2019 3 commits
-
-
Harmandeep Singh authored
bpo-31450: Remove documentation mentioning that subprocess's child_traceback is available with the parent process (GH-11422)
-
Emmanuel Arias authored
-
Terry Jan Reedy authored
-
- 02 Jan, 2019 8 commits
-
-
Harmandeep Singh authored
-
Mickaël Schoentgen authored
closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411)
-
Benjamin Peterson authored
-
Serhiy Storchaka authored
Revert "bpo-35603: Escape table header of make_table output that can cause potential XSS. (GH-11341)" (GH-11356) This reverts commit 78de0119.
-
Stefan Behnel authored
* bpo-35588: Implement mod and divmod operations for Fraction type by spelling out the numerator/denominator calculation, instead of instantiating and normalising Fractions along the way. This speeds up '%' and divmod() by 2-3x. * bpo-35588: Also reimplement Fraction.__floordiv__() using integer operations to make it ~4x faster. * Improve code formatting. Co-Authored-By: scoder <stefan_ml@behnel.de> * bpo-35588: Fix return type of divmod(): the result of the integer division should be an integer. * bpo-35588: Further specialise __mod__() and inline the original helper function _flat_divmod() since it's no longer reused. * bpo-35588: Add some tests with large numerators and/or denominators. * bpo-35588: Use builtin "divmod()" function for implementing __divmod__() in order to simplify the implementation, even though performance results are mixed. * Rremove accidentally added empty line. * bpo-35588: Try to provide more informative output on test failures. * bpo-35588: Improve wording in News entry. Co-Authored-By: scoder <stefan_ml@behnel.de> * Remove stray space.
-
animalize authored
_Py_HashBytes() does the check for empty string.
-
sth authored
There is already a `Py_ssize_t i` defined at function scope that is used for similar loops. By removing the local `int i` declaration that `i` is used, which has the appropriate type.
-
Suriyaa ✌️️ authored
-
- 31 Dec, 2018 12 commits
-
-
Cheryl Sabella authored
Move translate_key() and constant tuples to module level. Inline the remnant one-line function.
-
Tal Einat authored
-
Serhiy Storchaka authored
* Replace the docstrings cache with sys.intern(). * Improve tests. * Unify names of tp_descr_get and tp_descr_set functions.
-
Serhiy Storchaka authored
-
sth authored
A minor typo in the output of `python -m test -h`. A space was missing in between two words. howmuch -> how much
-
Sanyam Khurana authored
-
Gregory P. Smith authored
It doesn't know the details of a few less common libc functions.
-
Gregory P. Smith authored
* skip test_constructor under msan. * fix the others as well. * reuse existing related news entry. * typo fix
-
Gregory P. Smith authored
-
Jakub Kulík authored
Python source code uses on several places ifdef sun or defined(sun) without the underscores, which is not standard compliant and shouldn't be used. Defines should check for __sun instead. Reference: http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#Solaris https://bugs.python.org/issue35550
-
Gregory P. Smith authored
Also skip the same tests when using the undefined behavior sanitizer as they much with the output. Updates a regex in another test to use multi-line mode so that the ubsan buildbot should pass again rather than also adding a skip to that one.
-
Gregory P. Smith authored
HASH_OBJ_CONSTRUCTOR has always been defined as 0 since I created hashlib in Python 2.5. Delete all code associated with it.
-