- 01 Mar, 2019 7 commits
-
-
Victor Stinner authored
Fix setup.py on macOS: only add /usr/include/ffi to include directories of _ctypes, not for all extensions.
-
Victor Stinner authored
* Move fields from _PyMain to _PyCoreConfig: * skip_first_line * run_command * run_module * run_filename * Replace _PyMain.stdin_is_interactive with a new stdin_is_interactive(config) function * Rename _PyMain to _PyArgv. Add "const _PyArgv *args" field to _PyCmdline.
-
Victor Stinner authored
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 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 2 commits
-
-
Giampaolo Rodola authored
-
Eric Snow authored
This involves moving the global "pending calls" state to PyInterpreterState. https://bugs.python.org/issue33608
-