- 01 Mar, 2019 5 kayıt (commit)
-
-
Victor Stinner yazdı
Add a new _Py_INIT_EXIT() macro to be able to exit Python with an exitcode using _PyInitError API. Rewrite function calls by pymain_main() to use _PyInitError. Changes: * Remove _PyMain.err and _PyMain.status field * Add _Py_INIT_EXIT() macro and _PyInitError.exitcode field. * Rename _Py_FatalInitError() to _Py_ExitInitError().
-
Cheryl Sabella yazdı
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 yazdı
-
-
Victor Stinner yazdı
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 Şub, 2019 4 kayıt (commit)
-
-
Victor Stinner yazdı
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 yazdı
-
Victor Stinner yazdı
* 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 Şub, 2019 5 kayıt (commit)
-
-
Gregory P. Smith yazdı
Did you know an API documented as printing the pending traceback would sometimes exit the process? You do now.
-
Shiv Dhar yazdı
skip issue skip news
-
Ned Deily yazdı
-
Cheryl Sabella yazdı
-
pxinwr yazdı
-
- 26 Şub, 2019 7 kayıt (commit)
-
-
Joannah Nanjekye yazdı
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 yazdı
bpo-35652: shutil.copytree(copy_function=...) erroneously pass DirEntry instead of path str (GH-11997)
-
Benjamin Peterson yazdı
a24107b0 introduced a few refleaks. https://bugs.python.org/issue36115
-
Dima Pasechnik yazdı
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 yazdı
-
Benjamin Peterson yazdı
-
ngie-eign yazdı
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 Şub, 2019 15 kayıt (commit)
-
-
Zackery Spytz yazdı
-
Davin Potts yazdı
-
Anthony Sottile yazdı
-
Xtreak yazdı
-
Sergey Fedoseev yazdı
-
Łukasz Langa yazdı
-
Łukasz Langa yazdı
Python 3.8.0a2
-
Sergey Fedoseev yazdı
-
Andre Delfino yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Deprecate using the __int__() method in implicit conversions of Python numbers to C integers.
-
Sergey Fedoseev yazdı
-
Łukasz Langa yazdı
-
Miro Hrončok yazdı
More specifically, the options of --check-hash-based-pycs.
-
- 24 Şub, 2019 4 kayıt (commit)
-
-
Giampaolo Rodola yazdı
-
Eric Snow yazdı
This involves moving the global "pending calls" state to PyInterpreterState. https://bugs.python.org/issue33608
-
animalize yazdı
* remove non-ascii characters in docstring * clinic.py emits a warning when docstring has non-ascii character
-
Raymond Hettinger yazdı
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
-