- 08 Agu, 2017 1 kayıt (commit)
-
-
Julien Palard yazdı
* Doc: Indicate the language * Renaming version_switcher to switchers (to add language_switcher). * Adding language switch. * Doc switchers: Enhance readability of regex parsing versions. * Doc switchers: Desambiguate the need of a replace(/\/+$/g, '') by proper naming. * Doc switchers: py3k can't reach js, it's redirected server-side by nginx. * Doc switchers: Examples matching actual regexes. * Doc switchers: Better fallback on unexisting translated version. (cherry picked from commit dff9b5f9)
-
- 05 Agu, 2017 1 kayıt (commit)
-
-
Shane Harvey yazdı
(cherry picked from commit c4c98660)
-
- 04 Agu, 2017 2 kayıt (commit)
-
-
Yuan Chao Chou yazdı
Change the shadowing naming, 'value' (Python-ast.c:3814), to 'val' to prevent the variables from being misused.
-
Subhendu Ghosh yazdı
Mention that it warns about features that are significantly changed in Python 3 and can’t be detected using static code analysis. Link to Porting Python 2 Code to Python 3 doc
-
- 02 Agu, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
some builtin and extension objects that don't support pickling explicitly and are pickled incorrectly by default (like memoryview or staticmethod).
-
- 01 Agu, 2017 2 kayıt (commit)
-
-
Mariatta yazdı
Use the copy provided in https://bugs.python.org/issue25910GH-msg295200 (cherry picked from commit 8474d871)
- 31 Tem, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
(cherry pick from 9cd7e176)
-
- 29 Tem, 2017 1 kayıt (commit)
-
- 27 Tem, 2017 2 kayıt (commit)
-
-
Victor Stinner yazdı
* bpo-31044: Skip test_posix.test_makedev() on FreeBSD (#2915) There is a bug in FreeBSD CURRENT with 64-bit dev_t. Skip the test if dev_t is larger than 32-bit, until the bug is fixed in FreeBSD CURRENT. (cherry picked from commit 12953ffe) * Fix syntax for Python 2.7
-
Victor Stinner yazdı
* bpo-31028: Fix test_pydoc when run directly Fix get_pydoc_link() of test_pydoc to fix "./python Lib/test/test_pydoc.py": get the absolute path to __file__ to prevent relative directories. * Use realpath() instead of abspath() (cherry picked from commit fd465611)
-
- 26 Tem, 2017 5 kayıt (commit)
-
-
Nir Soffer yazdı
* bpo-30980: Fix close test to fail test_close_twice was not considering the fact that file_wrapper is duping the file descriptor. Closing the original descriptor left the duped one open, hiding the fact that close protection is not effective. * bpo-30980: Fix double close protection Invalidated self.fd before closing, handling correctly the case when os.close raises. * bpo-30980: Fix fd leak introduced in the fixed test
-
Victor Stinner yazdı
* bpo-30778: Skip test_bsddb3 on Windows XP * Fix if, don't skip Windows Vista
-
Victor Stinner yazdı
multiprocessing.Process.is_alive() now removes the process from the _children set if the process completed. The change prevents leaking "dangling" processes. (cherry picked from commit 2db64823)
-
Victor Stinner yazdı
* bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) multiprocessing.Queue.get() with a timeout now polls its reader in non-blocking mode if it succeeded to aquire the lock but the acquire took longer than the timeout. Co-Authored-By:
Grzegorz Grzywacz <grzgrzgrz3@gmail.com> (cherry picked from commit 1b7863c3) * bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148) _test_multiprocessing.test_queue_feeder_donot_stop_onexc() now uses a timeout of 1 second on Queue.get(), instead of 0.1 second, for slow buildbots. (cherry picked from commit 8f6eeaf2) (cherry picked from commit e42339d3)
-
Dong-hee Na yazdı
-
- 25 Tem, 2017 1 kayıt (commit)
-
-
Aditya Hase yazdı
Mention that TestCase.assertMultiLineEqual method is used by default when comparing Unicode string when comparing Unicode strings with assertEqual.
-
- 24 Tem, 2017 3 kayıt (commit)
-
-
Victor Stinner yazdı
bpo-30850: On Windows, test04_lock_timeout2() now tolerates 50 ms whereas 100 ms is expected. The lock sometimes times out after only 58 ms. Windows clocks have a bad resolution and bad accuracy.
-
Ned Deily yazdı
-
- 21 Tem, 2017 2 kayıt (commit)
-
-
Victor Stinner yazdı
Fix also regrtest command line parser to allow passing -u extralargefile to run test_zipfile64.
- 20 Tem, 2017 2 kayıt (commit)
-
-
Ned Deily yazdı
- 19 Tem, 2017 1 kayıt (commit)
-
-
Ammar Askar yazdı
-
- 16 Tem, 2017 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
encoder and decoder. (cherry picked from commit d3aaa2f1)
-
- 13 Tem, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
encoder and decoder.. (cherry picked from commit d3aaa2f1)
-
- 12 Tem, 2017 1 kayıt (commit)
-
-
Xiang Zhang yazdı
-
- 11 Tem, 2017 1 kayıt (commit)
-
-
Segev Finer yazdı
* [2.7] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) (cherry picked from commit f5232559) * [2.7] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670). (cherry picked from commit f5232559)
-
- 10 Tem, 2017 2 kayıt (commit)
-
-
Nir Soffer yazdı
If history-length is set in .inputrc, and the history file is double the history size (or more), history_get(N) returns NULL, and python segfaults. Fix that by checking for NULL return value. It seems that the root cause is incorrect handling of bigger history in readline, but Python should not segfault even if readline returns unexpected value. This issue affects only GNU readline. When using libedit emulation system history size option does not work. This is a backport of the actual fix from master without the test, since the test depends on new run_pty() helper which is not available in 2.7.
-
Kit Sunde yazdı
Replace `dumps` with `json.dumps`
-
- 06 Tem, 2017 2 kayıt (commit)
-
-
Victor Stinner yazdı
* bpo-30855: Trying to fix test_use on Windows. Avoid possible weird behavior of WideInt convertion. "winfo id" always returns string hexadecimal representation. (cherry picked from commit b9d67249) * bpo-30855: Trying to fix test_use on Windows. (cherry picked from commit 29a2f7c6) (subTest() removed since it was introduced in Python 3)
-
- 05 Tem, 2017 4 kayıt (commit)
-
-
Serhiy Storchaka yazdı
This provides more information on test failures.
-
Victor Stinner yazdı
list_cases() now unload modules, as the test runner does, to prevent a failure in test_xpickle about test.pickletester loaded after loading test_cpickle: ./python -m test --list-cases test_cpickle test_xpickle
-
Victor Stinner yazdı
Copy Lib/test/test_robotparser.py from master to 2.7 and adapt it for Python 2.7: * Replace urllib.robotparser with robotparser * Adjust HTTPServer import * Replace io.StringIO with StringIO.StringIO * Remove tests on crawl_delay() and request_rate() since these methods were added to Python 3 * Remove subTest() * Add test_main() which explicitly lists all test cases Patch based on the commit 4da0fd06 written by Berker Peksag. Co-Authored-By:
Berker Peksag <berker.peksag@gmail.com>
-
Victor Stinner yazdı
* Rename again Lib/test/bisectcmd.py to Lib/test/bisect.py * regrtest now removes '' and Lib/test/ from sys.path * Use absolute import in test_bisect
-
- 04 Tem, 2017 2 kayıt (commit)
-
-
Segev Finer yazdı
-
Victor Stinner yazdı
Revert test_bisect.py change: remove "from __future__ import absolute_import".
-