Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set" | Kurt B. Kaiser | 2004-11-16 | 1 | -0/+4 |
| | | | | | button) caused IDLE to fail on restart (no new keyset was created in config-keys.cfg). Also true for Theme/highlights. Python Bug 1064535. | ||||
* | Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set" | Kurt B. Kaiser | 2004-11-16 | 1 | -0/+3 |
| | | | | | | | button) caused IDLE to fail on restart (no new keyset was created in config-keys.cfg). Also true for Theme/highlights. Python Bug 1064535. M configDialog.py | ||||
* | Fix pprint to be able to handle objects that don't have a __repr__ | Walter Dörwald | 2004-11-15 | 1 | -2/+2 |
| | | | | attribute. Fixes SF bug #1065456. | ||||
* | Back out rev 1.96; see #1009389. | Martin v. Löwis | 2004-11-14 | 1 | -1/+1 |
| | |||||
* | The change in the linecache.checkcache() signature at rev 1.13 caused IDLE ↵ | Kurt B. Kaiser | 2004-11-13 | 2 | -6/+11 |
| | | | | | | | | | to exit when an exception was raised while running w/o the subprocess. Python Bug 1063840 M NEWS.txt M PyShell.py | ||||
* | SF bug 1065388: calendar day/month name lookup too slow | Tim Peters | 2004-11-13 | 2 | -16/+24 |
| | | | | | | __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. | ||||
* | SF bug 1054821: difflib HtmlDiff() extra space on inserted 1 character lines | Tim Peters | 2004-11-12 | 1 | -2/+2 |
| | | | | Simple correction from the code's author (Dan Gass). | ||||
* | 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 | 2 | -10/+16 |
| | | | | 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 |
| | |||||
* | - \f is not a valid XML character | Just van Rossum | 2004-11-12 | 1 | -3/+4 |
| | | | | - reformatted regex pattern, use r"" consistently | ||||
* | reordered a couple of things | Just van Rossum | 2004-11-12 | 1 | -5/+6 |
| | |||||
* | Update compatibility comments to 2.1, corresponding to PEP 291 1.13. | Martin v. Löwis | 2004-11-10 | 37 | -37/+37 |
| | |||||
* | Avoid a linker warning: MSVC 7 doesn't support /pdb:None, the debug | Thomas Heller | 2004-11-10 | 1 | -3/+8 |
| | | | | info will always be in a .pdb file. | ||||
* | 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. | ||||
* | And delete a useless comment. | Tim Peters | 2004-11-08 | 1 | -1/+0 |
| | |||||
* | _OutputRedirectingPdb.trace_dispatch(): Return the base class's | Tim Peters | 2004-11-08 | 1 | -4/+5 |
| | | | | trace_dispatch() result in a more obvious, and more robust way. | ||||
* | test_doctest.py test_pdb_set_trace_nested(): A new test from Jim Fulton | Tim Peters | 2004-11-08 | 2 | -6/+92 |
| | | | | | | | | | 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). | ||||
* | Fix bug | Michael W. Hudson | 2004-11-08 | 1 | -2/+2 |
| | | | | [ 1057835 ] compiler.transformer, "from module import *" | ||||
* | SF #1062190. Removed an assertion that rendered trace.py unnecessarily | Raymond Hettinger | 2004-11-08 | 1 | -1/+0 |
| | | | | inflexibile. | ||||
* | 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. | ||||
* | Patch #1061931 / bug #971872: factor out part of spillproperties, so | Johannes Gijsbers | 2004-11-07 | 1 | -30/+55 |
| | | | | | properties are also documented if help(Class.<property>) is called instead of help(Class). | ||||
* | Fix for SF bug 988120 via patch 1061941. | Jeremy Hylton | 2004-11-07 | 1 | -2/+4 |
| | | | | If read() returned less than the number of bytes request, the full amount was subtracted from length instead of the actually read amount. | ||||
* | Patch #1061904 / bug #878275: give a nicer error message when someone | Johannes Gijsbers | 2004-11-07 | 1 | -0/+2 |
| | | | | accidentally derives from TestSuite instead of TestCase. | ||||
* | When using shell=True on Windows, don't display a shell window by default. ↵ | Peter Astrand | 2004-11-07 | 1 | -11/+14 |
| | | | | Fixes #1057061. | ||||
* | Bug #1055168: calling pdb.set_trace() calls Bdb.set_trace, which made | Johannes Gijsbers | 2004-11-07 | 2 | -4/+8 |
| | | | | | | | the debugger enter inside pdb.set_trace. Patch #1061767: make pdb.set_trace enter enter at the stack frame calling pdb.set_trace(). | ||||
* | 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 | 2 | -0/+5 |
| | | | | Harmless. | ||||
* | Don't choke on modes like rb or wb. | Raymond Hettinger | 2004-11-06 | 1 | -1/+1 |
| | |||||
* | get_boundary(): Fix for SF bug #1060941. RFC 2046 says boundaries may begin | Barry Warsaw | 2004-11-06 | 1 | -1/+2 |
| | | | | | | -- but not end -- with whitespace. I will backport to Python 2.3. | ||||
* | test_boundary_with_leading_space(): Test case for SF bug #1060941. RFC 2046 | Barry Warsaw | 2004-11-06 | 1 | -0/+19 |
| | | | | | | says boundaries may begin -- but not end -- with whitespace. I will backport to Python 2.3. | ||||
* | post-release | Anthony Baxter | 2004-11-04 | 1 | -0/+5 |
| | |||||
* | Fix bug 1052242. Also includes rewrite of test case using unittest and | Skip Montanaro | 2004-11-04 | 2 | -54/+100 |
| | | | | avoiding use of popen. | ||||
* | release shenanigans | Anthony Baxter | 2004-11-03 | 2 | -2/+2 |
| | |||||
* | 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 | 2 | -11/+10 |
| | | | | 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 |
| | |||||
* | Bug #1048941: shutil.rmtree error handling was always broken | Johannes Gijsbers | 2004-10-31 | 2 | -30/+61 |
| | | | | | Rewrite rmtree again, this time without os.walk(). Error handling had been broken since Python 2.3, and the os.walk() version inherited this. | ||||
* | SF 1055820: weakref callback vs gc vs threads | Tim Peters | 2004-10-30 | 1 | -0/+199 |
| | | | | | | | | In cyclic gc, clear weakrefs to unreachable objects before allowing any Python code (weakref callbacks or __del__ methods) to run. This is a critical bugfix, affecting all versions of Python since weakrefs were introduced. I'll backport to 2.3. | ||||
* | Wrote down the invariants of some common objects whose structure is | Armin Rigo | 2004-10-28 | 1 | -2/+11 |
| | | | | | | | | | | exposed in header files. Fixed a few comments in these headers. As we might have expected, writing down invariants systematically exposed a (minor) bug. In this case, function objects have a writeable func_code attribute, which could be set to code objects with the wrong number of free variables. Calling the resulting function segfaulted the interpreter. Added a corresponding test. | ||||
* | Trigger a few error cases in Modules/_codecsmodule.c. | Walter Dörwald | 2004-10-28 | 1 | -0/+14 |
| |