Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert "__init__ should return None" from an exception to a warning. | Raymond Hettinger | 2005-03-04 | 1 | -1/+7 |
| | |||||
* | Only run extensive subprocess tests if -usubprocess to regrtest is ↵ | Peter Astrand | 2005-03-03 | 2 | -4/+7 |
| | | | | specified. Fixes #1124637 | ||||
* | SF bug #1155938: Missing None check for __init__(). | Raymond Hettinger | 2005-03-03 | 1 | -0/+13 |
| | |||||
* | Revert previous checkin on getargs 'L' code. Try to convert all | Martin v. Löwis | 2005-03-03 | 2 | -23/+5 |
| | | | | numbers in PyLong_AsLongLong, and update test suite accordingly. | ||||
* | Patch #1117454: Remove code to special-case cookies without values | Martin v. Löwis | 2005-03-03 | 1 | -0/+19 |
| | | | | in LWPCookieJar. | ||||
* | Patch #1117339: Add cookielib special name tests. | Martin v. Löwis | 2005-03-03 | 1 | -3/+26 |
| | |||||
* | Clear internal call error in 'L' format. Fixes #723201. | Martin v. Löwis | 2005-03-03 | 1 | -1/+13 |
| | |||||
* | Backport: Fix | Michael W. Hudson | 2005-02-17 | 1 | -0/+3 |
| | | | | | | | | [ 1124295 ] Function's __name__ no longer accessible in restricted mode which I introduced with a bit of mindless copy-paste when making __name__ writable. You can't assign to __name__ in restricted mode, which I'm going to pretend was intentional :) | ||||
* | fix decoding in _stringify to not depend on the default encoding | Fred Drake | 2005-02-11 | 1 | -0/+42 |
| | | | | (closes SF bug #1115989) | ||||
* | Fix typo | Andrew M. Kuchling | 2005-02-10 | 1 | -1/+1 |
| | |||||
* | forwardport of 2.3.5 fixes to copy.py | Alex Martelli | 2005-02-07 | 1 | -0/+101 |
| | |||||
* | Backport checkin: | Walter Dörwald | 2005-01-10 | 1 | -0/+30 |
| | | | | Fix and test for SF bug #1098990: codec readline() splits lines apart. | ||||
* | Backport patch #712317: In URLs such as http://www.example.com?query=spam, | Johannes Gijsbers | 2005-01-09 | 1 | -28/+51 |
| | | | | | | treat '?' as a delimiter. Previously, the 'network location' (<authority> in RFC 2396) would become 'www.example.com?query=spam', while RFC 2396 does not allow a '?' in <authority>. See bug #548176 for further discussion. | ||||
* | [Bug #1083110] calling .flush() on decompress objects causes a segfault due ↵ | Andrew M. Kuchling | 2004-12-28 | 1 | -0/+10 |
| | | | | to an uninitialized pointer: fixes the problem and adds a test case | ||||
* | Backport checkin: | Walter Dörwald | 2004-12-21 | 1 | -13/+80 |
| | | | | | | | | | | | | | | | The changes to the stateful codecs in 2.4 resulted in StreamReader.readline() trying to return a complete line even if a size parameter was given (see http://www.python.org/sf/1076985). This leads to buffer overflows with long source lines under Windows if e.g. cp1252 is used as the source encoding. This patch reverts the behaviour of readline() to something that behaves more like Python 2.3: If a size parameter is given, read() is called only once. As a side effect of this, readline() now supports all types of linebreaks supported by unicode.splitlines(). Note that the tokenizer is still broken and it's possible to provoke segfaults (see http://www.python.org/sf/1089395). | ||||
* | Back-ported: marshal.dumps() with the new optional argument 'version' just | Armin Rigo | 2004-12-20 | 1 | -0/+5 |
| | | | | immediately segfaults, due to a typo! | ||||
* | Backport fix for bug #1083645 have test_imp be skipped if threading is not | Brett Cannon | 2004-12-18 | 1 | -1/+5 |
| | | | | available. | ||||
* | Bug #1083645 | Raymond Hettinger | 2004-12-18 | 1 | -2/+12 |
| | | | | * The decimal module wouldn't run on builds without threads. | ||||
* | Backport checkin: Fix copy & paste error in comments. | Walter Dörwald | 2004-12-14 | 1 | -2/+2 |
| | |||||
* | Backport from trunk: use os.geteuid() for checking whether we are root, | Johannes Gijsbers | 2004-12-12 | 1 | -1/+1 |
| | | | | as suggested by Michael Hudson. | ||||
* | Backport of fix for SF bug #1076467: don't run test_on_error as root, as | Johannes Gijsbers | 2004-12-06 | 1 | -1/+2 |
| | | | | the permission errors don't get provoked that way. | ||||
* | Don't have test_mkalias_relative run if sys.prefix does not exist. Backport of | Brett Cannon | 2004-12-06 | 1 | -0/+2 |
| | | | | fix for bug #1077302. | ||||
* | Raise TypeError if bufsize argument is not an integer. Patch 1071755, ↵ | Peter Astrand | 2004-12-05 | 1 | -0/+11 |
| | | | | slightly modified. | ||||
* | Fix argument order in pure python version of nsmallest() and nlargest(). | Raymond Hettinger | 2004-11-29 | 1 | -2/+5 |
| | |||||
* | SF bug #1071588 coercing decimal to int doesn't work between -1 and 1 | Raymond Hettinger | 2004-11-24 | 1 | -4/+4 |
| | |||||
* | Have testLoadTkFailure() skip on cygwin since Tcl/Tk on cygwin renders to the | Brett Cannon | 2004-11-24 | 1 | -1/+3 |
| | | | | | | Windows GDI directly and thus does not need a DISPLAY environment variable. Thanks Jason Tishler. | ||||
* | Bug #1071513: don't test on Cygwin, as chmod doesn't work reliably there | Johannes Gijsbers | 2004-11-23 | 1 | -1/+5 |
| | | | | | | | (http://www.cygwin.com/faq/faq_3.html#SEC41). Also check whether onerror has actually been called so this test will fail on assertion instead of on trying to chmod a non-existent file. | ||||
* | Add 'linux2' as one of the platforms that does not use the echo service as one | Brett Cannon | 2004-11-20 | 1 | -1/+2 |
| | | | | of the test possiblities for testGetServBy(). | ||||
* | Remove tempfile after use in test_call_string. | Peter Astrand | 2004-11-17 | 1 | -1/+2 |
| | | | | In test_args_string, remove the tempfile before assertEqual. | ||||
* | SF bug 1065388: calendar day/month name lookup too slow | Tim Peters | 2004-11-13 | 1 | -8/+6 |
| | | | | | | __getitem__() methods: compute only the new spellings needed to satisfy the given indexing object. This is purely an optimization (it should have no effect on visible semantics). | ||||
* | Patch #1050475: Fix various x86_64 build issues | Martin v. Löwis | 2004-11-13 | 1 | -0/+4 |
| | | | | | | regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems. _tkinter.c: replace %.8x with %p for printing pointers. setup.py: add lib64 into the library directories. | ||||
* | Add options to regrtest.py to make it possible to specify where to put | Walter Dörwald | 2004-11-12 | 1 | -8/+18 |
| | | | | the coverage files when -T is used. | ||||
* | Use os.chdir/os.getcwd instead of os.path.realpath, to support Tru64 | Peter Astrand | 2004-11-12 | 1 | -1/+6 |
| | | | | TEMP dirs with {memb} strings. Fixes #1063571. | ||||
* | On second thought: "Errors should never pass silently", so barf when a | Just van Rossum | 2004-11-12 | 1 | -7/+10 |
| | | | | string contains control chars that are illegal for XML | ||||
* | testing control chars and non-dict root objects | Just van Rossum | 2004-11-12 | 1 | -0/+16 |
| | |||||
* | SF patch #1062279: deque pickling problems | Raymond Hettinger | 2004-11-09 | 1 | -4/+36 |
| | | | | | | | (Contributed by Dima Dorfman.) * Support pickling of dictionaries in instances of deque subclasses. * Support pickling of recursive deques. | ||||
* | SF 1062353: set pickling problems | Raymond Hettinger | 2004-11-09 | 1 | -3/+9 |
| | | | | Support automatic pickling of dictionaries in instance of set subclasses. | ||||
* | test_doctest.py test_pdb_set_trace_nested(): A new test from Jim Fulton | Tim Peters | 2004-11-08 | 1 | -3/+90 |
| | | | | | | | | | showing that doctest's pdb.set_trace() support was dramatically broken. doctest.py _OutputRedirectingPdb.trace_dispatch(): Return a local trace function instead of (implicitly) None. Else interaction with pdb was bizarre, noticing only 'call' events. Amazingly, the existing set_trace() tests didn't care. | ||||
* | test for fixedness of bug #1057835. | Michael W. Hudson | 2004-11-08 | 1 | -0/+2 |
| | | | | (thanks to Raymond for the prod). | ||||
* | Stop printing listdir bytestring output, as the precise list of strings | Martin v. Löwis | 2004-11-07 | 2 | -3/+2 |
| | | | | returned depends on the filesystem encoding. | ||||
* | Try a different filename if the Latin-1 file name cannot | Martin v. Löwis | 2004-11-07 | 1 | -0/+17 |
| | | | | be represented in the file system. Fixes #989338. | ||||
* | Whitespace normalization. | Tim Peters | 2004-11-07 | 1 | -1/+1 |
| | |||||
* | Essentially SF patch 1061679: add missing __all__ to pickletools.py. | Tim Peters | 2004-11-06 | 1 | -0/+1 |
| | | | | Harmless. | ||||
* | Fix bug 1052242. Also includes rewrite of test case using unittest and | Skip Montanaro | 2004-11-04 | 1 | -52/+86 |
| | | | | avoiding use of popen. | ||||
* | Maintain peepholer's cumlc invariant by updating the running total | Raymond Hettinger | 2004-11-02 | 1 | -3/+5 |
| | | | | | | everytime a LOAD_CONSTANT is encountered, created, or overwritten. Added two tests to cover cases affected by the patch. | ||||
* | * Bumped up the sleep() delay to four seconds so this test will run | Raymond Hettinger | 2004-11-01 | 1 | -6/+9 |
| | | | | | | reliably on WinME with FAT32. * Native speaker rewrite of the comment block. * Removed unnecessary backslashes from the multi-line function defintions. | ||||
* | Add error checks for the bz2, cStringIO and operator modules. | Walter Dörwald | 2004-11-01 | 3 | -0/+108 |
| | | | | Add function names to various PyArg_ParseTuple calls in bz2module.c. | ||||
* | Bug #1057993: Use sleep() always instead of os.utime() possibly broken | Hye-Shik Chang | 2004-11-01 | 1 | -9/+5 |
| | | | | in some platforms. | ||||
* | SF patch #1056967, changes the semantics of Template.safe_substitute() to not | Barry Warsaw | 2004-11-01 | 1 | -10/+9 |
| | | | | raise a ValueError for dangling delimiters (the delimiter itself is returned). | ||||
* | test_on_error(): Rewrite so it works on WinXP too. Unsure about 95/98/ME. | Tim Peters | 2004-11-01 | 1 | -7/+13 |
| |