- 01 Mar, 2019 4 commits
-
-
Cheryl Sabella authored
Remove colorizer.ColorDelegator.close_when_done and the corresponding argument of .close(). In IDLE, both have always been None or False since 2007.
-
Pablo Galindo authored
-
-
Victor Stinner authored
The whole coreconfig.h header is now excluded from Py_LIMITED_API. Move functions definitions into a new internal pycore_coreconfig.h header. * Move Include/coreconfig.h to Include/cpython/coreconfig.h * coreconfig.h header is now excluded from Py_LIMITED_API * Move functions to pycore_coreconfig.h
-
- 28 Feb, 2019 4 commits
-
-
Victor Stinner authored
Use locale.getpreferredencoding() rather than locale.getlocale() to get the locale encoding. With some locales, locale.getlocale() returns the wrong encoding. For example, on Fedora 29, locale.getlocale() returns ISO-8859-1 encoding for the "en_IN" locale, whereas locale.getpreferredencoding() reports the correct encoding: UTF-8.
-
-
Zhiming Wang authored
-
Victor Stinner authored
* Rename globals to upper case to better distinguish if a variable is global or local: * Rename cross_compiling to CROSS_COMPILING * Rename host_platform to HOST_PLATFORM * Rename disabled_module_list to DISABLED_MODULE_LIST * Add MS_WINDOWS, CYGWIN and MACOS constants. * Use booleans: replace "return 0" with "return False" and replace "return 1" with "return True"
-
- 27 Feb, 2019 5 commits
-
-
Gregory P. Smith authored
Did you know an API documented as printing the pending traceback would sometimes exit the process? You do now.
-
Shiv Dhar authored
skip issue skip news
-
Ned Deily authored
-
Cheryl Sabella authored
-
pxinwr authored
-
- 26 Feb, 2019 7 commits
-
-
Joannah Nanjekye authored
Use longer timeout for accept() in the server and block on accept in the client. The client now only sets the timeout once the socket is connected.
-
Giampaolo Rodola authored
bpo-35652: shutil.copytree(copy_function=...) erroneously pass DirEntry instead of path str (GH-11997)
-
Benjamin Peterson authored
a24107b0 introduced a few refleaks. https://bugs.python.org/issue36115
-
Dima Pasechnik authored
The standard math library (libm) may follow IEEE-754 recommendation to include an implementation of sinPi(), i.e. sinPi(x):=sin(pi*x). And this triggers a name clash, found by FreeBSD developer Steve Kargl, who worken on putting sinpi into libm used on FreeBSD (it has to be named "sinpi", not "sinPi", cf. e.g. https://en.cppreference.com/w/c/experimental/fpext4).
-
Serhiy Storchaka authored
-
Benjamin Peterson authored
-
ngie-eign authored
Per POSIX, `nice(3)` requires `unistd.h` and `exit(3)` requires `stdlib.h`. Fixing the test will prevent false positives with pedantic compilers like clang.
-
- 25 Feb, 2019 15 commits
-
-
Zackery Spytz authored
-
Davin Potts authored
-
Anthony Sottile authored
-
Xtreak authored
-
Sergey Fedoseev authored
-
Łukasz Langa authored
-
Łukasz Langa authored
Python 3.8.0a2
-
Sergey Fedoseev authored
-
Andre Delfino authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Deprecate using the __int__() method in implicit conversions of Python numbers to C integers.
-
Sergey Fedoseev authored
-
Łukasz Langa authored
-
Miro Hrončok authored
More specifically, the options of --check-hash-based-pycs.
-
- 24 Feb, 2019 5 commits
-
-
Giampaolo Rodola authored
-
Eric Snow authored
This involves moving the global "pending calls" state to PyInterpreterState. https://bugs.python.org/issue33608
-
animalize authored
* remove non-ascii characters in docstring * clinic.py emits a warning when docstring has non-ascii character
-
Raymond Hettinger authored
Responding to suggestions on the tracker and some off-line suggestions. Davin suggested that english named accessors instead of greek letters would result in more intelligible user code. Steven suggested that the parameters still need to be *mu* and *theta* which are used elsewhere (and I noted those parameter names are used in linked-to resources). Michael suggested proving-out the API by seeing whether it generalized to *Lognormal*. I did so and found that Lognormal distribution parameters *mu* and *sigma* do not represent the mean and standard deviation of the lognormal distribution (instead, they are for the underlying regular normal distribution). Putting these ideas together, we have NormalDist parameterized by *mu* and *sigma* but offering English named properties for accessors. That gives lets us match other API that access mu and sigma, it matches the external resources on the topic, gives us clear english names in user code. The API extends nicely to LogNormal where the parameters and the summary statistic accessors are not the same. https://bugs.python.org/issue36018
-
Xtreak authored
* Resolve string target to patch.dict during function call * Add NEWS entry * Remove unneeded call * Restore original value for support.target and refactor assertions * Add extra assertion to verify unpatched dict
-