- 04 May, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 03 May, 2017 7 kayıt (commit)
-
-
Victor Stinner yazdı
is_valid_fd() now uses fstat() instead of dup() on macOS to return 0 on a pipe when the other side of the pipe is closed. fstat() fails with EBADF in that case, whereas dup() succeed.
-
Serhiy Storchaka yazdı
-
Christian Heimes yazdı
Signed-off-by: Christian Heimes <christian@python.org>
-
Brett Cannon yazdı
-
UltimateCoder yazdı
Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>
-
Victor Stinner yazdı
Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python.
-
Xiang Zhang yazdı
-
- 02 May, 2017 11 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
Victor Stinner yazdı
Run autoconf.
-
Victor Stinner yazdı
Don't test if .git/HEAD file exists, but only if the .git file (or directory) exists.
-
Jim Fasarakis-Hilliard yazdı
There is no need to test for new-style classes versus classic classes in Python 3.
-
Ivan Levkivskyi yazdı
- Add NoReturn type - Use WrapperDescriptorType (original PR by Jim Fasarakis-Hilliard) - Minor bug-fixes
-
Antoine Pitrou yazdı
* bpo-30205: Fix getsockname() for unbound AF_UNIX sockets on Linux * Add NEWS entry
-
Tong SHEN yazdı
decriptor -> descriptor
-
Victor Stinner yazdı
FileIO.seek() and FileIO.tell() method now set the internal seekable attribute to avoid one syscall on open() (in buffered or text mode). The seekable property is now also more reliable since its value is set correctly on memory allocation failure.
-
Victor Stinner yazdı
AsyncoreEchoServer of test_ssl now calls asyncore.close_all(ignore_all=True) to ensure that asyncore.socket_map is cleared once the test completes, even if ConnectionHandler was not correctly unregistered. Fix the following warning: Warning -- asyncore.socket_map was modified by test_ssl Before: {} After: {6: <test.test_ssl.AsyncoreEchoServer.EchoServer.ConnectionHandler>}
-
Victor Stinner yazdı
BuildExtTestCase of test_distutils now uses support.temp_cwd() in setUp() to remove files created in the current working in all BuildExtTestCase unit tests, not only test_build_ext(). Move also tearDown() just after setUp().
-
Nathaniel J. Smith yazdı
-
- 01 May, 2017 3 kayıt (commit)
-
-
Giampaolo Rodola yazdı
* #30190 / unittest / assertAlmostEqual(delta=...) / error msg: show the difference between the 2 numbers in case of failure * safe_repr() diff * also show difference when passing 'places' argument * refactoring * update Misc/NEWS
-
Xiang Zhang yazdı
-
Jelle Zijlstra yazdı
-
- 29 Nis, 2017 2 kayıt (commit)
-
-
csabella yazdı
-
Serhiy Storchaka yazdı
-
- 28 Nis, 2017 4 kayıt (commit)
-
-
Neil Schemenauer yazdı
-
Serhiy Storchaka yazdı
* bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. They now work when delete replaced attribute or item inside the with statement. The old value of the attribute or item (or None if it doesn't exist) now will be assigned to the target of the "as" clause, if there is one. * Update docstrings.
-
Wieland Hoffmann yazdı
-
Victor Stinner yazdı
On clang, only compile dtoa.c with -fno-strict-aliasing, use strict aliasing to compile all other C files.
-
- 27 Nis, 2017 5 kayıt (commit)
-
-
Jelle Zijlstra yazdı
There were two almost identical definitions of bytes1.
-
Victor Stinner yazdı
* bpo-30175: Skip client cert tests of test_imaplib The IMAP server cyrus.andrew.cmu.edu doesn't accept our randomly generated client x509 certificate anymore. * bpo-30188: Catch EOFError in NetworkedNNTPTests test_nntplib fails randomly with EOFError in NetworkedNNTPTests.setUpClass(). Catch EOFError to skip tests in that case.
-
Marco Buttu yazdı
-
Jesse Gonzalez yazdı
-
Louie Lu yazdı
-
- 26 Nis, 2017 7 kayıt (commit)
-
-
Dong-hee Na yazdı
-
Eijebong yazdı
-
Victor Stinner yazdı
QueueListenerTest of test_logging now closes the multiprocessing Queue and joins its thread to prevent leaking dangling threads to following tests. Add also @support.reap_threads to detect earlier if a test leaks threads (and try to "cleanup" these threads).
-
Victor Stinner yazdı
bpo-28769 changed PyUnicode_AsUTF8() return type from const char* to char* in Python 3.7, but tm_zone field type of the tm structure is char* on FreeBSD. Cast PyUnicode_AsUTF8() to char* in gettmarg() to fix the warning: Modules/timemodule.c:443:20: warning: assigning to 'char *' from 'const char *' discards qualifiers
-
Mathias Rav yazdı
* Fix PEP 8 (SomeType instead of some_type) * Add a function parameter annotation * Explain, using wording from PEP 484 and PEP 526, why one annotation is in quotes and another is not. Suggested by Ivan Levkevskyi.
-
Louie Lu yazdı
-
csabella yazdı
Builtin container types have two potential link targets in the docs: - their entry in the list of builtin callables - their type documentation This change brings `bytes` and `bytearray` into line with other container types by having cross-references default to linking to their type documentation, rather than their builtin callable entry.
-