- 28 Mar, 2006 9 kayıt (commit)
-
-
Hye-Shik Chang yazdı
-
Hye-Shik Chang yazdı
RuntimeError on encoding surrogate pair area on UCS4 build. This is a partial backport of r43320. (Approved by Anthony Baxter)
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
unicode_escape and raw_unicode_escape codec now encodes backslash correctly. This caused another issue for unicode repr strings being double-escaped (SF Bug #1459029). Correct fix will be in 2.5, but is too risky for 2.4.3. Added a testcase for #1459029.
-
Anthony Baxter yazdı
-
Tim Peters yazdı
Try to repair at least one segfault on the Mac buildbot, as diagnosed by Nick Coghlan. test_capi.py: A test module should never spawn a thread as a side effect of being imported. Because this one did, the segfault one of its thread tests caused didn't occur until a few tests after test_regrtest.py thought test_capi was finished. Repair that. Also join() the thread spawned at the end, so that test_capi is truly finished when regrtest reports that it's done. _testcapimodule.c test_thread_state(): this spawns a couple of non-threading.py threads, passing them a PyObject* argument, but did nothing to ensure that those threads finished before returning. As a result, the PyObject* _could_ (although this was unlikely) get decref'ed out of existence before the threads got around to using it. Added explicit synchronization (via a Python mutex) so that test_thread_state can reliably wait for its spawned threads to finish.
-
Anthony Baxter yazdı
-
Neal Norwitz yazdı
Backport 42973 (lots of whitespace changes intermixed): - Reindent a confusingly indented piece of code (no intended code changes there) - Add missing DECREFs of inner-scope 'temp' variable - Add various missing DECREFs by changing 'return NULL' into 'goto onError' - Avoid double DECREF when last _PyUnicode_Resize() fails Coverity found one of the missing DECREFs, but oddly enough not the others.
-
- 27 Mar, 2006 3 kayıt (commit)
-
-
Martin v. Löwis yazdı
Fix a ref leak.
-
Martin v. Löwis yazdı
Move registration of the codec search function to the module scope so it is only executed once. Otherwise the same search function is repeated added to the codec search path when regrtest is run with -R and leaks are reported.
-
Thomas Wouters yazdı
Fix SF bug #417833 (pydoc HTTP reload failure) by removing from sys.modules all submodules of a the given module/package path when trying to reload a module.
-
- 26 Mar, 2006 3 kayıt (commit)
-
-
Neal Norwitz yazdı
Handle sys.getfilesystemencoding() returning None. ascii seems like the safest bet, it should exist. I wonder if utf-8 would be a better choice? This should get test_fileinput passing on OpenBSD.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 25 Mar, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
SF bug # 1457358 and patch # 1458419, floor division not documented. Patch by Andy.
-
- 24 Mar, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
SF bug #1457411, fix errors using variables that don't exist. Rename file -> filename to be clear.
-
- 23 Mar, 2006 12 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
- 22 Mar, 2006 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
containing an encoding declaration is compile()d. Fixes #1115379.
-
Anthony Baxter yazdı
-
- 20 Mar, 2006 5 kayıt (commit)
-
-
Armin Rigo yazdı
introduction of C calls profiling events.
-
Vinay Sajip yazdı
Catch situations where currentframe() returns None. See SF patch #1447410, this is a different implementation.
-
Tim Peters yazdı
used by encoding tests. Fiddled the Windows buildbot helper scripts to invoke this if needed. Note that this isn't needed on the trunk (the encoding tests download input files automatically in 2.5).
-
Tim Peters yazdı
patch from the trunk. This stops test_socket_ssl from dying with: TypeError: 'NoneType' object is not callable in urlparsre.py's urljoin() when the tests are run in this order: test_??? test_importhooks test_socket_ssl "test_???" can be various things, but must be there. For example, test_urllibnet "works" to provoke the failure. Alas, nobody actually understands _why_ test_socket_ssl fails then, or why this hack makes the problem go away. Amazingly, the tests just happened to run in the right order on the 2.4 branch on two Windows buildbot slaves today, causing them both to fail their most recent test runs before this patch.
-
Neal Norwitz yazdı
Fix problem spotted by Coverity that occurs if tzinfo.tzname().replace() returns a non-string when converting %Z.
-
- 19 Mar, 2006 1 kayıt (commit)
-
-
Kurt B. Kaiser yazdı
kills GUI. Report from Bruce Sherwood.
-
- 18 Mar, 2006 1 kayıt (commit)
-
-
Tim Peters yazdı
""" Try to find a host that responds slower from python.org so this test does not fail on macteagle (G4 OSX.4 in buildbot) """ Since testConnectTimeout() frequently fails in the same way in 2.4 branch, and this patch seems to have fixed it on the trunk, it should fix it on the 2.4 branch too.
-
- 17 Mar, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 16 Mar, 2006 1 kayıt (commit)
-
-
Tim Peters yazdı
Set eol-style to native.
-