summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Relocate the misplaced heading.v2.4.3Hye-Shik Chang2006-03-281-3/+3
|
* Ubuntu bug #29289: Fixed a bug that the gb18030 codec raisesHye-Shik Chang2006-03-282-4/+7
| | | | | RuntimeError on encoding surrogate pair area on UCS4 build. This is a partial backport of r43320. (Approved by Anthony Baxter)
* it never ends! more ignoringAnthony Baxter2006-03-280-0/+0
|
* ignore more generated files (*.pyo, libpython.2.4.a)Anthony Baxter2006-03-280-0/+0
|
* after discussions with perky, reverted fix for Bug #1379994: BuiltinAnthony Baxter2006-03-283-17/+29
| | | | | | | | | 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.
* news for test_capi changeAnthony Baxter2006-03-281-2/+5
|
* Merge rev 43181 from the trunk.Tim Peters2006-03-282-49/+87
| | | | | | | | | | | | | | | | | | | | | | | 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.
* preparing for 2.4.3 finalAnthony Baxter2006-03-287-8/+26
|
* Fix the refleak from test_unicode.Neal Norwitz2006-03-281-13/+16
| | | | | | | | | | | | 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.
* Backport of compile.c part of r41531 (neal.norwitz, 2005-11-24):Martin v. Löwis2006-03-271-3/+3
| | | | Fix a ref leak.
* Backport of r41530 (neal.norwitz, 2005-11-24):Martin v. Löwis2006-03-271-17/+18
| | | | | | | 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.
* Backport Ka-Ping Yee's trunk checkin r41400:Thomas Wouters2006-03-271-13/+17
| | | | | | 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.
* Backport:Neal Norwitz2006-03-261-1/+4
| | | | | | 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.
* Fix mark-up.Raymond Hettinger2006-03-261-2/+2
|
* Guarantee evaluation order for izip(). Document its creative uses and its ↵Raymond Hettinger2006-03-261-2/+24
| | | | limitations.
* Backport of rev 43312:Neal Norwitz2006-03-251-0/+4
| | | | SF bug # 1457358 and patch # 1458419, floor division not documented. Patch by Andy.
* Backport:Neal Norwitz2006-03-241-8/+8
| | | | | | SF bug #1457411, fix errors using variables that don't exist. Rename file -> filename to be clear.
* Add 2.4.3 UUIDs.Martin v. Löwis2006-03-231-0/+2
|
* Mechanical whitespace normalization.Tim Peters2006-03-2312-22/+21
|
* 2.4.3c1Anthony Baxter2006-03-231-0/+1
|
* take 3v2.4.3c1Anthony Baxter2006-03-231-0/+1
|
* aarrrrghhhAnthony Baxter2006-03-231-1/+1
|
* 2.4.3c1Anthony Baxter2006-03-231-0/+1
|
* update - still some old .cvsignore files lying aroundAnthony Baxter2006-03-2330-190/+0
|
* take2...Anthony Baxter2006-03-231-0/+1
|
* Tagging for 2.4.3c1Anthony Baxter2006-03-231-0/+1
|
* update svn:ignore across the boardAnthony Baxter2006-03-230-0/+0
|
* 2.4.3c1Anthony Baxter2006-03-238-9/+13
|
* 2.4.3c1Anthony Baxter2006-03-231-1/+1
|
* Change SystemError into SyntaxError, when a Unicode stringMartin v. Löwis2006-03-223-1/+14
| | | | | containing an encoding declaration is compile()d. Fixes #1115379.
* 2.4.3c1 preparationsAnthony Baxter2006-03-221-3/+3
|
* Backport of r41629: hotshot generated half-meaningless numbers since theArmin Rigo2006-03-201-34/+2
| | | | introduction of C calls profiling events.
* Catch situations where currentframe() returns None. See SF patch #1447410, ↵Vinay Sajip2006-03-201-4/+9
| | | | this is a different implementation.
* The new fetch_data_files.py downloads all the input data filesTim Peters2006-03-204-3/+80
| | | | | | | 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).
* Merge revs 42842, 42844, and part of a whitespace normalizationTim Peters2006-03-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Backport 43147:Neal Norwitz2006-03-202-4/+20
| | | | | Fix problem spotted by Coverity that occurs if tzinfo.tzname().replace() returns a non-string when converting %Z.
* Source file f.flush() after writing; trying to avoid lossage if userKurt B. Kaiser2006-03-192-0/+10
| | | | kills GUI. Report from Bruce Sherwood.
* Merge rev 43091 from the trunk.Tim Peters2006-03-181-1/+1
| | | | | | | | | | | """ 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.
* Backport: Fix missing NULL checks after PyTuple_New, PyList_New, PyDict_NewGeorg Brandl2006-03-176-7/+24
|
* Merge rev 43081 from trunk.Tim Peters2006-03-161-13/+13
| | | | Set eol-style to native.
* Merge rev 43079 from the trunk. This should allow test_winsound to passTim Peters2006-03-162-34/+128
| | | | | | | | on a box without a sound card. Update test_winsound to check for a configured sound card (using a VBScript helper written by Roger Upole and Mark Hammond) and adjust the expected PlaySoundTest case results accordingly.
* Merge rev 43063 from trunk.Tim Peters2006-03-161-1/+1
| | | | Oops! Use python_d.exe _before_ it's destroyed :-)
* Merge rev 43061 from the trunk.Tim Peters2006-03-161-1/+4
| | | | | Change the Windows buildbot "clean" step to remove stale .pyc files.
* Backport 43037:Neal Norwitz2006-03-152-14/+13
| | | | Move test code out of xxmodule and into _testcapimodule.c where it belongs.
* Backport 42932:Neal Norwitz2006-03-142-9/+4
| | | | | | | | | Try to be a bit more consistent on all platforms: python . python < . both print a message, return non-zero and do not core dump. This hopefully fixes the failure on Solaris.
* Backport 43022:Neal Norwitz2006-03-142-5/+21
| | | | | | | | | | | | Fix and test (manually w/xx module) passing NULLs to PyObject_Str() and PyObject_Unicode(). This problem was originally reported from Coverity and addresses mail on python-dev "checkin r43015". This inlines the conversion of the string to unicode and cleans up/simplifies some code at the end of the PyObject_Unicode(). We really need a complete C API test module for all public APIs and passing good and bad parameter values.
* Fix bug found by Coverity: don't allow NULL argument to PyUnicode_CheckExactGeorg Brandl2006-03-131-2/+2
| | | | (backport from rev. 43014)
* Backport of 42994:Martin v. Löwis2006-03-132-1/+5
| | | | Let the buildbot make a single pass in the test suite only.
* Backport of 42993:Martin v. Löwis2006-03-134-16/+23
| | | | | Update to bzip2 1.0.3 Make buildbot slaves automatically fetch bzip2 1.0.3.
* Backport from trunk r42989:Hye-Shik Chang2006-03-133-1/+11
| | | | | Bug #1448490: Fixed a bug that ISO-2022 codecs could not handle SS2 (single-shift 2) escape sequences correctly.