Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | parsedate_tz(): If data is false, return None. Fixes bug #478115, | Barry Warsaw | 2001-11-13 | 1 | -0/+2 |
| | | | | IndexError when a Date: field exists with an empty value. | ||||
* | The libraries argument was completely ignored, fixed. Reported by | Jack Jansen | 2001-11-10 | 1 | -1/+2 |
| | | | | Tom Loredo. | ||||
* | getnameinfo() appears to raise socket.error instead of | Barry Warsaw | 2001-11-09 | 1 | -1/+1 |
| | | | | | socket.gaierror. :( This allows test_socket to pass on a RH6.1-ish Linux system. | ||||
* | Fix SF buf #480096: Assign to __debug__ still allowed | Jeremy Hylton | 2001-11-09 | 1 | -1/+0 |
| | | | | | | Easy enough to catch assignment in the compiler. The perverse user can still change the value of __debug__, but that may be the least he can do. | ||||
* | Fix SF buf #480096: Assign to __debug__ still allowed | Jeremy Hylton | 2001-11-09 | 1 | -1/+13 |
| | | | | | | Easy enough to catch assignment in the compiler. The perverse user can still change the value of __debug__, but that may be the least he can do. | ||||
* | Fiddle with new test cases -- verify that we get a sensible error | Jeremy Hylton | 2001-11-09 | 1 | -4/+7 |
| | | | | | | | message for bad mode argument -- so that it doesn't fail on Windows. It's hack. We know that errno is set to 0 in this case on Windows, so check for that specifically. | ||||
* | test_formatdate(): Dang. Typo. | Barry Warsaw | 2001-11-09 | 1 | -1/+1 |
| | |||||
* | test_formatdate(): Don't do the localtime test if we don't have | Barry Warsaw | 2001-11-09 | 1 | -10/+12 |
| | | | | strptime() -- I'm too lazy to code it otherwise. | ||||
* | test_formatdate(): A test for email.Utils.formatdate(). | Barry Warsaw | 2001-11-09 | 1 | -0/+16 |
| | |||||
* | Forgot to import time. | Barry Warsaw | 2001-11-09 | 1 | -0/+1 |
| | |||||
* | formatdate(): A better docstring. | Barry Warsaw | 2001-11-09 | 1 | -4/+7 |
| | |||||
* | formatdate(): An implementation to replace the one borrowed from | Barry Warsaw | 2001-11-09 | 1 | -1/+37 |
| | | | | | | | | | | rfc822.py. The old rfc822.formatdate() produced date strings using obsolete syntax. The new version produces the preferred RFC 2822 dates. Also, an optional argument `localtime' is added, which if true, produces a date relative to the local timezone, with daylight savings time properly taken into account. | ||||
* | Fix SF bug 468948 & 451295: urllib2 authentication problems | Jeremy Hylton | 2001-11-09 | 1 | -28/+12 |
| | | | | | | | | | | | | | | | | | | | Fix contributed by Jeffrey C. Ollie. I haven't tested the fix because the situation is non-trivial to reproduce. The basic solution is to get rid of the __current_realm attribute of authentication handlers. Instead, prevent infinite retries by checking for the presence of an Authenticate: header in the request object that exactly matches the Authenticate: header that would be added. The problem prevent authentication from working correctly in the presence of retries. Ollie mentioned that digest authentication has the same problem and I applied the same solution there. | ||||
* | Fix SF bug #479186: compiler generates bad code for "del" | Jeremy Hylton | 2001-11-09 | 1 | -0/+1 |
| | | | | | | | Fix by Neil Schemenauer. Visit the Subscript node when trying to find the operation for a statement. XXX Not sure if there are other nodes that should be visited. | ||||
* | Fix SF buf #476953: Bad more for opening file gives bad msg. | Jeremy Hylton | 2001-11-09 | 1 | -0/+11 |
| | | | | | | If fopen() fails with EINVAL it means that the mode argument is invalid. Return the mode in the error message instead of the filename. | ||||
* | A better new, unique object | Jeremy Hylton | 2001-11-09 | 1 | -1/+1 |
| | |||||
* | Merge directory chooser into tkFileDialog. | Martin v. Löwis | 2001-11-08 | 2 | -54/+18 |
| | |||||
* | Clean up one comment, fix typos in others. | Fred Drake | 2001-11-08 | 1 | -7/+7 |
| | |||||
* | Patch #478654: Expose tk_chooseDirectory. | Martin v. Löwis | 2001-11-07 | 1 | -4/+11 |
| | | | | Also delegate kw arguments through ** calls. | ||||
* | Add a regression test for SF bug #478536: If a value cannot be weakly | Fred Drake | 2001-11-06 | 1 | -1/+5 |
| | | | | | referenced, WeakKeyDictionary.has_key() should return 0 instead of raising TypeError. | ||||
* | WeakKeyDictionary.has_key(): If the key being tested is not weakly | Fred Drake | 2001-11-06 | 1 | -1/+5 |
| | | | | | | referencable (weakref.ref() raises TypeError), return 0 instead of propogating the TypeError. This closes SF bug #478536; bugfix candidate. | ||||
* | A couple more test cases to ensure join() doesn't add an "extra" backslash | Tim Peters | 2001-11-05 | 1 | -0/+2 |
| | | | | in the presence of empty-string arguments. | ||||
* | SF bug 478425: Change in os.path.join (ntpath.py) | Tim Peters | 2001-11-05 | 2 | -0/+14 |
| | | | | | | ntpath.join('a', '') was producing 'a' instead of 'a\\' as in 2.1. Impossible to guess what was ever *intended*, but since split('a\\') produces ('a', ''), I think it's best if join('a', '') gives 'a\\' back. | ||||
* | walk(): Fix docstring; traversal is depth-first. Closes mimelib bug | Barry Warsaw | 2001-11-05 | 1 | -1/+1 |
| | | | | #477864. | ||||
* | Add regression test for SF bug #476616 -- make sure copy of a derived class | Fred Drake | 2001-11-05 | 1 | -0/+4 |
| | | | | does not share data with the original. | ||||
* | copy(): Make sure the copy of a derived class cannot share the data of the | Fred Drake | 2001-11-05 | 1 | -1/+8 |
| | | | | | | original by replacing self.data temporarily, then using the update() method on the new mapping object to populate it. This closes SF bug #476616. | ||||
* | new config implementation | Steven M. Gava | 2001-11-04 | 2 | -55/+40 |
| | |||||
* | further config system work | Steven M. Gava | 2001-11-04 | 4 | -17/+56 |
| | |||||
* | Two bug fixes for problems reported by Sverre: | Barry Warsaw | 2001-11-04 | 1 | -1/+6 |
| | | | | | | | | | __getaddr(): Watch out for empty addresses that can happen when something like "MAIL FROM:<CR>" is received. This avoids the IndexError and rightly returns an SMTP syntax error. parseargs(): We didn't handle the 2-arg case where both the localspec and the remotespec were provided on the command line. | ||||
* | Improved error msg when a symbolic group name is redefined. Added docs | Tim Peters | 2001-11-03 | 1 | -2/+4 |
| | | | | | | and NEWS. Bugfix candidate? That's a dilemma for Anthony <wink>: /F did fix a longstanding bug here, but the fix can cause code to raise an exception that previously worked by accident. | ||||
* | added ability to set hilightthickness | Steven M. Gava | 2001-11-03 | 1 | -3/+9 |
| | |||||
* | further config system work | Steven M. Gava | 2001-11-03 | 2 | -112/+74 |
| | |||||
* | more work to support new config system | Steven M. Gava | 2001-11-03 | 3 | -87/+121 |
| | |||||
* | Patch #471120: Improved doc strings and new wrappers. | Martin v. Löwis | 2001-11-02 | 1 | -45/+382 |
| | |||||
* | Correct getnameinfo refcounting and tuple parsing. Fixes #476648. | Martin v. Löwis | 2001-11-02 | 1 | -0/+14 |
| | |||||
* | [Patch #477336] Add an extensive PyUnit based testsuite for the hmac | Andrew M. Kuchling | 2001-11-02 | 1 | -1/+108 |
| | | | | module | ||||
* | [Patch #477336] Make hmac.py match PEP247, and fix the copy method() so that | Andrew M. Kuchling | 2001-11-02 | 1 | -23/+13 |
| | | | | it works | ||||
* | [Patch #476612] Add test suite for PEP247 compliance | Andrew M. Kuchling | 2001-11-02 | 1 | -0/+50 |
| | |||||
* | Fix comment typo | Andrew M. Kuchling | 2001-11-02 | 1 | -1/+1 |
| | |||||
* | SF bug #476912: flag repeated use of the same groupname as | Fredrik Lundh | 2001-11-02 | 1 | -1/+3 |
| | | | | the error it really is (and always has been) | ||||
* | Brute-force performance hackery; buys back about 20% of the time for | Fred Drake | 2001-11-01 | 1 | -121/+165 |
| | | | | saferepr(), a bit less for pformat(). | ||||
* | Documentation patches by bsherwood | Chui Tey | 2001-10-31 | 1 | -4/+13 |
| | |||||
* | SF patch #474485: pydoc generates some bad html, from Rich Salz. | Tim Peters | 2001-10-31 | 1 | -5/+5 |
| | |||||
* | Huh. In an effort to be less thorough <wink>, seems I checked in a new | Tim Peters | 2001-10-31 | 1 | -1/+1 |
| | | | | test that wouldn't even compile, | ||||
* | Fix bad bug in structseq slicing (NULL pointers in result). Reported by | Tim Peters | 2001-10-30 | 3 | -5/+21 |
| | | | | | | Jack Jansen on python-dev. Add simple test case. Move vereq() from test_descr to test_support (it's handy!). | ||||
* | /F observes that we need an else: in connect() | Jeremy Hylton | 2001-10-30 | 1 | -1/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-10-30 | 4 | -5/+5 |
| | |||||
* | To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis). | Tim Peters | 2001-10-30 | 1 | -0/+4 |
| | |||||
* | Just changed some continued-line indentation to read better, due to | Tim Peters | 2001-10-30 | 1 | -3/+3 |
| | | | | the earlier s/dictionary/dict/ change. | ||||
* | Fix SF bug #456386: test_commands regression failure (Andrew Dalke) | Guido van Rossum | 2001-10-30 | 1 | -1/+1 |
| | | | | | | | | | test_commands does not work on IRIX It assumes the output of "ls /bin/ls" is a line that starts with a '-'. On IRIX that file is a symbolic link, so the first character is an l. This causes test_getstatus to fail. |