3571 Commits

Author SHA1 Message Date
Guido van Rossum
dc3e329106 Fix SF #433233: syntax error. 2001-06-15 16:43:54 +00:00
Guido van Rossum
f502c73012 Bring SRE up do date with Python 2.1 2001-06-13 15:15:02 +00:00
Barry Warsaw
5cf87aaf48 Backported two fixes from the Py2.1 tree (pre-unittest rewrite):
----------------------------
revision 1.3
date: 2001/04/10 15:01:20;  author: gvanrossum;  state: Exp;  lines: +6 -0
Some other tests, when failing, don't always remove their TESTFN file.
Try to do it for them, so our mkdir() operation doesn't fail.
----------------------------
revision 1.2
date: 2001/03/02 05:46:17;  author: gvanrossum;  state: Exp;  lines: +3 -3
When catching errors from os.rmdir(), test for os.error, not IOError!
----------------------------

except I used OSError instead of os.error.
2001-06-04 19:35:04 +00:00
Barry Warsaw
cbe99a1f1d The SF patch (#129288 - urllib.py - chanign %02x to %02X in quoting)
was applied to urllib.py, but the corresponding change to
test_urllib.py was not applied.  Backport revision 1.6 of this file
into the 2.0 maintenance branch.

----------------------------
revision 1.6
date: 2001/01/19 07:00:08;  author: tim_one;  state: Exp;  lines: +8 -3
urllib.py very recently changed to produce uppercase escapes, but no
corresponding changes were made to its std test.
----------------------------
2001-06-04 18:59:53 +00:00
Moshe Zadka
a5beccf6bb Lib/xml/sax/xmlreader.py - import the exceptions this module can raise 2001-04-13 15:52:40 +00:00
Moshe Zadka
097cf85dae Inspired by Tim Peters' 1.14->1.15 checkin to asynchat
Quoting orignal message:
'''
Fix from the Madusa mailing list:
    http://groups.yahoo.com/group/medusa/message/333

It's clear that Medusa should not be checking for an empty buffer
via "buf is ''".  The patch merely changes "is" to "==".  However,
there's a mystery here all the same:  Python attempts to store null
strings uniquely, so it's unclear why "buf is ''" ever returned
false when buf actually was empty.  *Some* string operations produce
non-unique null strings, e.g.
'''
2001-04-11 08:06:02 +00:00
Moshe Zadka
67c2759c5a - #233253 - distutils/command/build_ext.py - the --define and --undef options
didn't work, whether specified on the command-line or in setup.cfg.
- distutils/command/build_ext.py - make docstrings raw
- #128930 - distutils/command/build_ext.py - split rpath argument
Suggested by AMK, but had to be massaged a bit from the cvs diff
2001-03-31 16:09:32 +00:00
Moshe Zadka
bf9183ee33 - distutils/command/install.py - make .get_outputs() produce a list of unique
filenames
2001-03-31 15:03:07 +00:00
Moshe Zadka
6aae5c3082 - #227562 - urllib.py - call URLopener.http_error_default when
an invalid 401 request is being handled.
- urllib.py - provide simple recovery/escape from apparent redirect recursion
- #129288 - urllib.py - chanign %02x to %02X in quoting
- urllib.py - HTTPS now works with string URLs
2001-03-31 14:58:20 +00:00
Moshe Zadka
7c9bcf8243 - xmllib.py - Moved clearing of "literal" flag. The flag is set in setliteral
which can be called from a start tag handler.  When the corresponding end
  tag is read the flag is cleared.  However, it didn't get cleared when
  the start tag was for an empty element of the type <tag .../>.  This
  modification fixes the problem.
2001-03-31 14:26:54 +00:00
Moshe Zadka
ea96661b1a Treat \r as whitespace too, when removing trailing whitespace 2001-03-31 14:14:43 +00:00
Moshe Zadka
b91dffe109 - #12195 - webbrowser.py - there was typo in Mac code 2001-03-31 14:13:26 +00:00
Moshe Zadka
2a56667a90 The ".pth" code knew about the layout of Python trees on unix and
windows, but not on the mac. Fixed.
2001-03-31 13:52:02 +00:00
Moshe Zadka
98cf19babe - #130306 - statcache.py - full of thread problems.
- Made statcache.forget_dir more portable
2001-03-31 13:46:34 +00:00
Moshe Zadka
805e7c61f7 Fix two typos in __imul__. Closes Bug #117745. 2001-03-31 13:32:38 +00:00
Moshe Zadka
2c476bb2e7 curses.ascii - space (ASCII 32) is now considered whitespace 2001-03-31 10:06:18 +00:00
Moshe Zadka
2112200478 atexit.py - mutate list of functions in thread-safe way 2001-03-31 09:45:04 +00:00
Moshe Zadka
d4e74812fe #123924: Windows - using OpenSSL, problem with socket in httplib.py. 2001-03-31 09:32:01 +00:00
Moshe Zadka
9539076399 - #119833 - close socket in smtplib if there was an error connecting
- #126863 - getopt long option handling fixed
2001-03-31 09:12:51 +00:00
Moshe Zadka
a60cde3d7b Fixing #125452 - shlex.shlex hangs when it encounters a string with an
unmatched quote
2001-03-31 08:42:37 +00:00
Moshe Zadka
2b2ac3a1e8 #126161 and 123634 -- Unicode strings could not be pickled correctly.
This is *backwards incompatible* with the previous pickling scheme,
which wasnot reversible
2001-03-30 17:20:58 +00:00
Moshe Zadka
ff905353a7 Fixing #409651 -- \ in a character group 2001-03-30 15:37:31 +00:00
Moshe Zadka
5984783593 In Lib/locale.py, setlocale emulation, use != and not is not to compare
strings
2001-03-30 14:48:14 +00:00
Guido van Rossum
c9a822a7c6 Merge Moshe's patch (fix argcnt for _cmp() into the 2.0.1 branch. 2001-03-20 16:18:30 +00:00
cvs2svn
0ae1490d6f This commit was manufactured by cvs2svn to create branch
'release20-maint'.
2001-01-02 17:07:49 +00:00