- 29 Tem, 2018 4 kayıt (commit)
-
-
Franz Wöllert yazdı
-
Stéphane Wirtel yazdı
-
Vinay Sajip yazdı
-
Berker Peksag yazdı
Initial patch by R. David Murray.
-
- 28 Tem, 2018 9 kayıt (commit)
-
-
Berker Peksag yazdı
-
Tim Golden yazdı
Serhiy Storchaka pointed out that using test.support.unlink was preferable
-
Raymond Hettinger yazdı
-
Elena Oat yazdı
-
Dong-hee Na yazdı
-
INADA Naoki yazdı
Co-authored-by: Petr Viktorin <encukou@gmail.com>
-
johnthagen yazdı
Clarify how to bind to all interfaces using socket
-
Andrés Delfino yazdı
<!-- issue-number: bpo-5978 --> https://bugs.python.org/issue5978 <!-- /issue-number -->
-
Sanyam Khurana yazdı
Mathematically, bitwise operations on integers behave as if there were an infinite number of sign bits. Pragmatically, that gives the same answer as using one extra sign bit for the bitwise logical operations.
-
- 27 Tem, 2018 4 kayıt (commit)
-
-
Berker Peksag yazdı
-
Sergey Fedoseev yazdı
Unused since commit ab994ed8.
-
INADA Naoki yazdı
/usr/local/lib/pythonX.Y is used by Homebrew's Python already.
-
Berker Peksag yazdı
Also, update the list of exceptions that may raised by PyMarshal_* functions. We usually don't document exceptions raised by a function, but in this case most of them were already documented in C API and standard library documentation.
-
- 26 Tem, 2018 10 kayıt (commit)
-
-
Tim Golden yazdı
* bpo-34239: Convert test_bz2 to use tempfile test_bz2 currently uses the test.support.TESTFN functionality which creates a temporary file local to the test directory named around the pid. This can give rise to race conditions where tests are competing with each other to delete and recreate the file. This change converts the tests to use tempfile.mkstemp which gives a different file every time from the system's temp area
-
Victor Stinner yazdı
-
Andrés Delfino yazdı
Remove extra `(s)` in the documentation of `compound_stmts`.
-
Serhiy Storchaka yazdı
-
Victor Stinner yazdı
* Config: Rename ignore_environment field to use_environment. * _PyCoreConfig_Read(): if isolated is set, use_environment and site_import are now always set to 0. * Inline pymain_free_raw() into pymain_free() * Move config_init_warnoptions() call into pymain_read_conf_impl() * _PyCoreConfig_Read(): don't replace values if they are already set: faulthandler, pycache_prefix, home.
-
Steve Dower yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Attributes skipinitialspace, doublequote and strict are now booleans instead of integers 0 or 1.
-
Victor Stinner yazdı
* Inline cmdline_get_env_flags() into config_read_env_vars(): _PyCoreConfig_Read() now reads much more environment variables like PYTHONVERBOSE. * Allow to override faulthandler and allocator even if dev_mode=1. PYTHONMALLOC is now the priority over PYTHONDEVMODE. * Fix _PyCoreConfig_Copy(): copy also install_signal_handlers, coerce_c_locale and coerce_c_locale_warn * _PyCoreConfig.install_signal_handlers default is now 1: install signals by default * Fix also a compiler warning: don't define _PyPathConfig type twice.
-
- 25 Tem, 2018 10 kayıt (commit)
-
-
chason yazdı
Enable and fix SMTPUTF8SimTests in test_smtplib. The tests for SMTPUTF8SimTests in test_smtplib.py were not actually being run because test_smtplib was still using the 'test_main' pattern, and the class was never added to test_main. Additionally, one of the tests needed to be moved to the non-UTF8 server class because it relies on the server not being UTF-8 compatible (and it had a bug in in).
-
Victor Stinner yazdı
PYTHONTRACEMALLOC=0 environment variable and -X tracemalloc=0 command line option are now allowed to disable explicitly tracemalloc at startup.
-
Ammar Askar yazdı
On Windows, passing a negative value to local results in an OSError because localtime_s on Windows does not support negative timestamps. Unfortunately this means that fold detection for timestamps between 0 and max_fold_seconds will result in this OSError since we subtract max_fold_seconds from the timestamp to detect a fold. However, since we know there haven't been any folds in the interval [0, max_fold_seconds) in any timezone, we can hackily just forego fold detection for this time range on Windows.
-
Berker Peksag yazdı
-
Aaron Ang yazdı
-
Tim Golden yazdı
* Fix case-sensitive comparison test_nt_helpers assumed that two versions of a Windows path could be compared case-sensitively. This is not the case, and the difference can be triggered (apparently) by running the test on a path somewhere below a Junction.
-
Serhiy Storchaka yazdı
-
Victor Stinner yazdı
* Move _PyMain.main_importer_path inside pymain_run_python * If main_importer_path is non-NULL, update sys.path[0] earlier
-
Victor Stinner yazdı
* If _Py_InitializeCore() is called twice, the second call now copies and apply (partially) the new configuration. * Rename _Py_CommandLineDetails to _PyCmdline * Move more code into pymain_init(). The core configuration created by Py_Main() is new destroyed before running Python to reduce the memory footprint. * _Py_InitializeCore() now returns the created interpreter. _Py_InitializeMainInterpreter() now expects an interpreter. * Remove _Py_InitializeEx_Private(): _freeze_importlib now uses _Py_InitializeFromConfig() * _PyCoreConfig_InitPathConfig() now only computes the path configuration if needed.
-
erikjanss yazdı
-
- 24 Tem, 2018 3 kayıt (commit)
-
-
Victor Stinner yazdı
Add more fields to _PyCoreConfig: * _check_hash_pycs_mode * bytes_warning * debug * inspect * interactive * legacy_windows_fs_encoding * legacy_windows_stdio * optimization_level * quiet * unbuffered_stdio * user_site_directory * verbose * write_bytecode Changes: * Remove pymain_get_global_config() and pymain_set_global_config() which became useless. These functions have been replaced by _PyCoreConfig_GetGlobalConfig() and _PyCoreConfig_SetGlobalConfig(). * sys.flags.dont_write_bytecode value is now restricted to 1 even if -B option is specified multiple times on the command line. * PyThreadState_Clear() now uses the config from the current interpreter rather than using global Py_VerboseFlag
-
Mariatta yazdı
The script will exit with the number 0 (zero), instead of the letter O.
-
Serhiy Storchaka yazdı
-