- 20 Nis, 2017 13 kayıt (commit)
-
-
Segev Finer yazdı
liblzma is missing from pcbuild.sln. This causes the build of _lzma to fail when building the solution and not using build.bat.
-
Segev Finer yazdı
-
Serhiy Storchaka yazdı
when pass arguments of wrong type.
-
Victor Stinner yazdı
Only define the get_zone() and get_gmtoff() private functions in the time module if these functions are needed to initialize the module. The change fixes the following warnings on AIX: Modules/timemodule.c:1175:1: warning: 'get_gmtoff' defined but not used [-Wunused-function] Modules/timemodule.c:1164:1: warning: 'get_zone' defined but not used [-Wunused-function]
-
Victor Stinner yazdı
The @reap_threads decorator and the threading_cleanup() function of test.support now log a warning if they fail to clenaup threads. Fix also the usage of support.threading_cleanup() in test_urllib2_localnet. The log may help to debug such other warning seen on the AMD64 FreeBSD CURRENT Non-Debug 3.x buildbot: Warning -- threading._dangling was modified by test_logging
-
Victor Stinner yazdı
Add setUpModule() and tearDownModule() functions to test_site to save/restore sys.path at the module level to prevent warning if the user site directory is created, since site.addsitedir() modifies sys.path.
-
Dong-hee Na yazdı
-
Mariatta yazdı
Skip the file if it has bad encoding.
-
Berker Peksag yazdı
-
Berker Peksag yazdı
Reported by Sean Canavan on docs@p.o.
-
Louie Lu yazdı
-
Victor Stinner yazdı
Call asyncore.close_all() with ignore_all=True in the tearDown() method of the test_asyncore base test case. It should prevent keeping alive sockets in asyncore.socket_map if close() fails with an unexpected error. Revert also an unwanted change of my previous commit: remove name parameter of Thread in test_quick_connect().
-
Victor Stinner yazdı
Skip test_normalization.test_main() if download raises a permission error.
-
- 19 Nis, 2017 10 kayıt (commit)
-
-
Victor Stinner yazdı
Buildbots don't run tests with -vv and so only log "xxx was modified by test_xxx" which is not enough to debug such random issue. In many cases, I'm unable to reproduce the warning and so unable to fix it. Always logging the value before and value after should help to debug such warning on buildbots.
-
Victor Stinner yazdı
Don't use addCleanup() in test_quick_connect() because it keeps the Thread object alive and so @reap_threads fails on its timeout of 1 second. "./python -m test -v test_asyncore -m test_quick_connect" now takes 185 ms, instead of 11 seconds. Other minor changes: * Use "with sock:" to close the socket instead of try/finally: sock.close() * Use self.skipTest() in test_quick_connect() to remove one indentation level and notice user that the test is specific to AF_INET and AF_INET6
-
Victor Stinner yazdı
Revert f50354ad: it introduced a regression in test_threadedtempfile.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
instruction offsets. Add tests for widths of opcode names.
-
Serhiy Storchaka yazdı
raised an error. Replace them with using concrete types API that never fails if appropriate.
-
Victor Stinner yazdı
-
Mariatta yazdı
-
cocoatomo yazdı
-
- 17 Nis, 2017 1 kayıt (commit)
-
-
Eric Appelt yazdı
* bpo-29514: Check magic number for micro release Add a dict importlib.util.EXPECTED_MAGIC_NUMBERS which details the initial and expected pyc magic number for each minor release. This gives a mechanism for users to check if the magic number has changed within a release and for a test to ensure procedure is followed if a change is necessary. Add a test to check the current MAGIC_NUMBER against the expected number for the release if the current release is at candidate or final level. On test failure, describe to the developer the procedure for changing the magic number. * Simplify magic number release test Simplify the magic number release test by removing EXPECTED_MAGIC_NUMBERS table and making the expected magic number self-contained within the test. BPO: 29514 * Improve magic number test execution and message Improve the execution of the magic number test by using skipUnless for alpha and beta releases, and directly inheriting from unittest.TestCase rather than using the machinery for the other tests. Also improve the error message to explain the reason for caution in changing the magic number. BPO: 29514
-
- 16 Nis, 2017 6 kayıt (commit)
-
-
Xiang Zhang yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Negative result should be returned only when an error is set.
-
- 15 Nis, 2017 4 kayıt (commit)
-
-
Xiang Zhang yazdı
-
cocoatomo yazdı
-
Mariatta yazdı
-
Olivier Vielpeau yazdı
* Remove conditional on free of `dps`, since `dps` is now allocated for all versions of OpenSSL * Remove call to `x509_check_ca` since it was only used to cache the `crldp` field of the certificate CRL_DIST_POINTS_free is available in all supported versions of OpenSSL (recent 0.9.8+) and LibreSSL.
-
- 14 Nis, 2017 6 kayıt (commit)
-
-
Michael Seifert yazdı
-
Benjamin Peterson yazdı
Replace the deprecated AC_TRY_RUN with AC_RUN_IFELSE. Also, standardize the variable name and allow for caching of the result.
-
Jack McCracken yazdı
-
Antoine Pitrou yazdı
-
Ryan Gonzalez yazdı
-
Mariatta yazdı
-