- 03 May, 2019 8 kayıt (commit)
-
-
Andre Delfino yazdı
-
Zackery Spytz yazdı
-
Alexander Vasin yazdı
Given example does not run, loop variable is missing. Secondly, this is bad example how to handle shutdown signal, because it would cause `RuntimeError: Event loop stopped before Future completed.` Perhaps it would be better to cancel all tasks instead of closing loop directly? Did not create issue, because question is quite simple.
-
gescheit yazdı
Call remove_done_callback() in finally block. https://bugs.python.org/issue36613
-
xdegaye yazdı
Those tests may fail with PermissionError. https://bugs.python.org/issue36341
-
Andre Delfino yazdı
-
Andre Delfino yazdı
Prefer the full wording instead, as it is more meaningful for someone not familiar with the terms. Also, LFS/RHS is not used anywhere else in the documentation, while left/right-hand side mentions are common.
-
-
- 02 May, 2019 17 kayıt (commit)
-
-
Stefan Behnel yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
_PyCoreConfig_SetPyArgv() and _PyCoreConfig_SetWideString() now pre-initialize Python if needed to ensure that the locale encoding is properly configured. * Add _Py_PreInitializeFromPyArgv() internal function. * Add 'args' parameter to _Py_PreInitializeFromCoreConfig()
-
Victor Stinner yazdı
_PyCoreConfig: Change filesystem_encoding, filesystem_errors, stdio_encoding and stdio_errors fields type from char* to wchar_t*. Changes: * PyInterpreterState: replace fscodec_initialized (int) with fs_codec structure. * Add get_error_handler_wide() and unicode_encode_utf8() helper functions. * Add error_handler parameter to unicode_encode_locale() and unicode_decode_locale(). * Remove _PyCoreConfig_SetString(). * Rename _PyCoreConfig_SetWideString() to _PyCoreConfig_SetString(). * Rename _PyCoreConfig_SetWideStringFromString() to _PyCoreConfig_DecodeLocale().
-
Zackery Spytz yazdı
-
Victor Stinner yazdı
Add private _config_version field to _PyPreConfig and _PyCoreConfig to prepare future ABI compatibility.
-
Xtreak yazdı
-
Victor Stinner yazdı
Move get_codec_name() and initfsencoding() from pylifecycle.c to unicodeobject.c. Rename also "init" functions in pylifecycle.c.
-
Victor Stinner yazdı
Add _Py_FORCE_UTF8_LOCALE and _Py_FORCE_UTF8_FS_ENCODING macros to avoid factorize "#if defined(__ANDROID__) || defined(__VXWORKS__)" and "#if defined(__APPLE__)". Cleanup also config_init_fs_encoding().
-
Zackery Spytz yazdı
-
Stefan Behnel yazdı
* Include C14N 2.0 test data in installation. * Add README file to the C14N test data directory to reference the original source and licensing conditions.
-
Daniel Porteous yazdı
I feel silly even making such a tiny typo fix, but I couldn't help but notice it.
-
Hossein Pourbozorg yazdı
-
Victor Stinner yazdı
_PyCoreConfig: Rename _check_hash_pycs_mode field to check_hash_pycs_mode (make it public) and change its type from "const char*" to "wchar_t*".
-
Xtreak yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 01 May, 2019 14 kayıt (commit)
-
-
Chris Withers yazdı
This was achieved by: * moving many pass statements in tests onto their own lines, so they pass line coverage and can match an easy ignore pattern if branch coverage is added later. * removing code that cannot be reached. * removing long-disabled tests. * removing unused code. * adding tests for uncovered code It turned out that removing `if __name__ == '__main__'` blocks that run unittest.main() at the bottom of test files was surprisingly contentious, so they remain and can be filtered out with an appropriate .coveragerc.
-
Gregory P. Smith yazdı
Use http.client.InvalidURL instead of ValueError as the new error case's exception.
-
Stefan Behnel yazdı
* Implement C14N 2.0 as a new canonicalize() function in ElementTree. Missing features: - prefix renaming in XPath expressions (tag and attribute text is supported) - preservation of original prefixes given redundant namespace declarations
-
Géry Ogam yazdı
Namespace packages _bootstrap.ModuleSpec.loader attributes are no longer `None` _after_ calling the importlib._bootstrap._init_module_attrs function. See: * https://stackoverflow.com/questions/52869541/namespace-package-spec-loader-and-loader-attributes-not-set-to-none * https://bugs.python.org/issue35181
-
Stefan Behnel yazdı
* bpo-36676: Implement namespace prefix aware parsing support for the XMLParser target in ElementTree.
-
Stefan Behnel yazdı
* bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree. * bpo-36673: Rewrite the comment/PI factory handling for the TreeBuilder in "_elementtree" to make it use the same factories as the ElementTree module, and to make it explicit when the comments/PIs are inserted into the tree and when they are not (which is the default).
-
Petter Strandmark yazdı
-
Thomas A Caswell yazdı
This is consistent with the rest of the `warnings.warn` usage in the inspect.py module and aids identifying code that needs to be fixed. This warning came in via d5d2b454
-
Victor Stinner yazdı
Add 3 new config methods: * _PyCoreConfig_SetString() * _PyCoreConfig_SetWideString() * _PyCoreConfig_SetWideStringFromString() Changes: * _PyCoreConfig_Copy() returns _PyInitError. * Add CONFIG_GET_ENV_DUP().
-
Xtreak yazdı
These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. https://bugs.python.org/issue30458
-
Chris Withers yazdı
-
Victor Stinner yazdı
* Remove _PyInitError.user_err field and _Py_INIT_USER_ERR() macro: use _Py_INIT_ERR() instead. _Py_ExitInitError() now longer calls abort() on error: exit with exit code 1 instead. * Add _PyInitError._type private field. * exitcode field type is now unsigned int on Windows. * Rename prefix field to _func. * Rename msg field to err_msg.
-
Gregory P. Smith yazdı
Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected.
-
Victor Stinner yazdı
* Add 2 new config methods: * _PyCoreConfig_SetArgv() * _PyCoreConfig_SetWideArgv() * Add also an internal _PyCoreConfig_SetPyArgv() method. * Remove 'args' parameter from _PyCoreConfig_Read().
-
- 30 Nis, 2019 1 kayıt (commit)
-
-
Victor Stinner yazdı
Fix memory leak in Py_SetStandardStreamEncoding(): release memory if the function is called twice.
-