Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Backport checkin: | Walter Dörwald | 2004-12-29 | 1 | -1/+1 | |
| | | | | Fix wrong variable name. | |||||
* | Backport of 1.36: | Jack Jansen | 2004-12-28 | 1 | -2/+2 | |
| | | | | | | | - getDefaultDatabase wasn't listed in __all__. - using a different database for non-final releases should only be done for X.Y.0. Non-final micro releases can use the default database just fine, as they are required to be backward compatible. | |||||
* | [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 | |||||
* | The GUI was hanging if the shell window was closed while a raw_input() | Kurt B. Kaiser | 2004-12-23 | 3 | -7/+22 | |
| | | | | | | | | | was pending. Restored the quit() of the readline() mainloop(). http://mail.python.org/pipermail/idle-dev/2004-December/002307.html M NEWS.txt M PyShell.py M idlever.py | |||||
* | Recompiled after source changes. | Thomas Heller | 2004-12-22 | 2 | -0/+0 | |
| | ||||||
* | Backport checkin: | Walter Dörwald | 2004-12-21 | 2 | -43/+121 | |
| | | | | | | | | | | | | | | | 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). | |||||
* | SF bug #951915: fix bug in StringIO.truncate - length not changed | Raymond Hettinger | 2004-12-20 | 1 | -0/+6 | |
| | | | | (Patch by Armin Rigo.) | |||||
* | 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! | |||||
* | Bugs item #1069409 C:\Python24\Lib\compileall.py returns False | Raymond Hettinger | 2004-12-20 | 1 | -1/+1 | |
| | | | | * return an integer rather than a boolean | |||||
* | 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 | 2 | -4/+25 | |
| | | | | * 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. | |||||
* | SF bug #1083202: UnboundLocalError raised by atexit module | Raymond Hettinger | 2004-12-11 | 1 | -3/+3 | |
| | | | | The sys module could be called before being imported. | |||||
* | 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 | 2 | -0/+14 | |
| | | | | slightly modified. | |||||
* | Fixes for SF #1076485, which I'll apply to the CVS head too. The problem was | Barry Warsaw | 2004-12-05 | 4 | -4/+274 | |
| | | | | | | | | | | | | | | | | caused by a self._input.readline() call that wasn't checking for the NeedsMoreData marker. msg_43.txt contains a message that illustrates the problem, when email.message_from_*() is called. That interface uses the Parser API, which splits reads into 8192 byte chunks. It so happens that for the test message, the 8192 chunk falls inside a message/delivery-status, which is where in the FeedParser the readline() call was that didn't check for NeedsMoreData. I also added an assert to unreadline() so it'll be more evident if an attempt to push back NeedsMoreData ever happens again. Bump the email package version number. | |||||
* | SF bug #1078905: Docs for unittest run() methods are misleading | Raymond Hettinger | 2004-12-04 | 1 | -4/+5 | |
| | ||||||
* | Corrected example for replacing shell pipeline. Fixes bug 1073790. | Peter Astrand | 2004-11-30 | 1 | -1/+1 | |
| | ||||||
* | doodedoodedoo on the way to 2.4 final | Anthony Baxter | 2004-11-30 | 1 | -3/+3 | |
| | ||||||
* | Fix argument order in pure python version of nsmallest() and nlargest(). | Raymond Hettinger | 2004-11-29 | 2 | -4/+7 | |
| | ||||||
* | RFC 2822 describes the characters allowed in a header field name. Conform to | Barry Warsaw | 2004-11-29 | 2 | -1/+19 | |
| | | | | this, and add test cases. | |||||
* | preparing for 2.4 final (wooooooo!) | Anthony Baxter | 2004-11-29 | 1 | -1/+1 | |
| | ||||||
* | There's likely nothing more to do to the email package before Python 2.4 is | Barry Warsaw | 2004-11-29 | 1 | -1/+1 | |
| | | | | final, so I'm marking email's version number as "3.0" (e.g. final). | |||||
* | Whitespace normalization. | Tim Peters | 2004-11-28 | 1 | -6/+6 | |
| | ||||||
* | Fix for SF bug #1072623. When the last line of the input string does not end | Barry Warsaw | 2004-11-28 | 2 | -1/+16 | |
| | | | | | | | | | in a newline, and it's an end boundary, the FeedParser wasn't recognizing it as such. Tweak the regexp to make the ending linesep optional. For grins, clear self._partial when closing the BufferedSubFile. Added a test case. | |||||
* | Fix typo in comment. | Walter Dörwald | 2004-11-25 | 1 | -1/+1 | |
| | ||||||
* | SF patch #1071739 (by Christos Georgiou) | Fredrik Lundh | 2004-11-24 | 1 | -4/+9 | |
| | | | | | This patch offers a better explanation in case the MS VC++ (free) toolkit is installed but the .NET Framework SDK is not. | |||||
* | SF bug #1071588 coercing decimal to int doesn't work between -1 and 1 | Raymond Hettinger | 2004-11-24 | 2 | -11/+11 | |
| | ||||||
* | 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(). | |||||
* | On OpenBSD, terminating IDLE with ctrl-c from the command line caused a | Kurt B. Kaiser | 2004-11-19 | 3 | -2/+12 | |
| | | | | | | | | stuck subprocess MainThread because only the SocketThread was exiting. M NEWS.txt M idlever.py M run.py | |||||
* | 2.4rc1 | Anthony Baxter | 2004-11-18 | 2 | -2/+2 | |
| | ||||||
* | 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 | |
| |