summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Geiger Ho's patch for better subclassingSteven M. Gava2002-05-271-1/+1
|
* This is patchMichael W. Hudson2002-05-271-3/+65
| | | | | | | [ 559250 ] more POSIX signal stuff Adds support (and docs and tests and autoconfery) for posix signal mask handling -- sigpending, sigprocmask and sigsuspend.
* GvR's rpc patchChui Tey2002-05-267-94/+1208
|
* Fix for SF bug 551412. When _PyType_Lookup() is called on a typeGuido van Rossum2002-05-241-0/+16
| | | | | | whose tp_mro hasn't been initialized, it would dump core. Fix this by checking for NULL and calling PyType_Ready(). Will fix this in 2.2.1 too.
* Don't require Unicode support.Guido van Rossum2002-05-241-2/+9
|
* Whitespace normalized.Raymond Hettinger2002-05-231-11/+11
|
* Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings.Raymond Hettinger2002-05-231-0/+81
|
* Whitespace normalization.Tim Peters2002-05-2320-101/+100
|
* parseaddr(): Fixed in the same way that Message.getaddrlist() wasBarry Warsaw2002-05-232-1/+10
| | | | fixed (re: SF bug #555035). Include a unittest.
* force gzip module to open files using 'b'inary mode.Skip Montanaro2002-05-232-1/+9
| | | | closes patch #536278.
* Closes: #556025 seg fault when doing list(xrange(1e9))Neal Norwitz2002-05-221-0/+11
| | | | | | | | | A MemoryError is now raised when the list cannot be created. There is a test, but as the comment says, it really only works for 32 bit systems. I don't know how to improve the test for other systems (ie, 64 bit or systems where the data size != addressable size, e.g. 64 bit data, but 48 bit addressable memory)
* Bump to version 2.0.4Barry Warsaw2002-05-221-1/+1
|
* getaddresses(): Like the change in rfc822.py, this one needs to accessBarry Warsaw2002-05-222-1/+8
| | | | | | the AddressList.addresslist attribute directly. Also, add a test case for the email.Utils.getaddresses() interface.
* add BooleanTypeSkip Montanaro2002-05-211-0/+1
|
* In both spilldata() functions, pretend that the docstring forGuido van Rossum2002-05-211-2/+8
| | | | | non-callable objects is always None. This makes for less confusing output and fixes the problem reported in SF patch #550290.
* Message.getaddrlist(): Use the AddressList.addresslist attributeBarry Warsaw2002-05-212-2/+21
| | | | | | | | instead of calling the getaddrlist() method, since the latter doesn't work with multiple calls (it will return the empty list for the second and subsequent calls). Closes SF bug #555035. Include a unittest.
* Patch 533291. Deprecate None return form of __reduce__.Raymond Hettinger2002-05-211-0/+4
|
* Munge the RCS keywords to avoid updates, so the version number matches thatFred Drake2002-05-211-1/+1
| | | | | | of the PyUNIT version of the same file. This helps people understand that this version is the same as the version from the independent PyUNIT release (confusion was indicated on the PyUNIT mailing list).
* Use types.StringTypes instead of explicit (str, unicode) listMichael W. Hudson2002-05-201-1/+1
|
* Guess what? --disable-unicode proofing.Michael W. Hudson2002-05-201-4/+7
| | | | This is a strange test.
* More --disable-unicode stuff.Michael W. Hudson2002-05-202-10/+15
| | | | I'm getting better at vi!
* Use types.StringTypes instead of (types.StringType, types.UnicodeType) --Michael W. Hudson2002-05-201-2/+2
| | | | | | works better (at all!) in --disable-unicode builds. Bugfix candidate, probably.
* tolerate --disable-unicode...Michael W. Hudson2002-05-201-2/+3
|
* More mindless --disable-unicode proofing.Michael W. Hudson2002-05-201-23/+24
|
* easy --disable-unicode proofing.Michael W. Hudson2002-05-201-2/+4
|
* A test message w/ CRLF line endingsBarry Warsaw2002-05-191-0/+45
|
* Add two new tests of recent email package fixes: CRLF line endings,Barry Warsaw2002-05-191-0/+26
| | | | and explicit maxlinelen arguments to the Header constructor.
* I've thought about it some more, and I believe it is proper for theBarry Warsaw2002-05-191-10/+20
| | | | | | | | | | | | email package's Parser to handle the three common line endings. Certain protocols such as IMAP define CRLF line endings and it doesn't make sense for the client app to have to normalize the line endings before handing it message off to the Parser. _parsebody(): Be more flexible in the matching of line endings for finding the MIME separators. Accept any of \r, \n and \r\n. Note that we do /not/ change the line endings in the payloads, we just accept any of those three around MIME boundaries.
* Fixed a bug in the splitting of lines, and improved the splitting forBarry Warsaw2002-05-191-11/+29
| | | | | | | | | | | | | | | | | single byte character sets. Also fixed a semantic problem with the constructor's default arguments. Specifically, __init__(): Change the maxlinelen argument default to None instead of MAXLINELEN. The semantics should have been (and now are) that if maxlinelen is given it is always honored. If it isn't given, but header_name is given, then the maximum line length is calculated. If neither are given then the default 76 characters is used. _split(): If the character set is a single byte character set then we can split the line at the maxlinelen because we know that encoding the header won't increase its length. If the charset isn't a single byte charset then we use the quicker divide-and-conquer line splitting algorithm as before.
* Complete a merge of the mimelib project and the Python cvs codebasesBarry Warsaw2002-05-197-45/+168
| | | | | | | | | | | | | for the email package. The former is now just a shell project that has some extra files for packaging for independent use (e.g. setup.py and README). Added a compatibility layer so that the same API can be used in Python 2.1 and 2.2/2.3 with the major differences shuffled off into helper modules (_compat21.py and _compat22.py). Also bumped the package version number to 2.0.3 for some fixes to be checked in momentarily.
* Added Mitchell Surface's regression tests for base64. Closes patch #550002.Raymond Hettinger2002-05-181-0/+59
|
* This is patchMichael W. Hudson2002-05-151-28/+30
| | | | | | | [ 555382 ] test_array v.s. --disable-unicode + MvL's suggestions. Just the 32 failing tests in --disable-unicode builds now...
* Added docstrings excerpted from Python Library Reference.Raymond Hettinger2002-05-154-1/+121
| | | | Closes patch 556161.
* Fixed bug: Split RPC message into two parts instead of threeChui Tey2002-05-141-1/+1
|
* Simplify code to remove an unnecessary test.Fred Drake2002-05-141-2/+1
|
* Use spaces, not tabs for indents.Guido van Rossum2002-05-141-4/+4
| | | | Raymond Hettinger, beware! This caused the Unix install to fail!
* Added tests for new degree/radian conversions.Raymond Hettinger2002-05-141-0/+2
|
* Closes patch 529408 deprecating random.stdgamma().Raymond Hettinger2002-05-141-11/+35
|
* smtp_RCPT(): Removed a somewhat embarrassing debugging line, found byBarry Warsaw2002-05-141-3/+0
| | | | | | Scot Stevenson. Could be a bug fix candidate, but probably doesn't matter much unless a certain blue-nosed cat suddenly becomes corporeal and starts emailing some stmp.py (sic) fronted mailer.
* Closes SF bug 527139. Moved temp variables inside guard.Raymond Hettinger2002-05-131-7/+6
|
* Jim Fulton reported a segfault in dir(). A heavily proxied objectGuido van Rossum2002-05-131-0/+20
| | | | | | | | returned a proxy for __class__ whose __bases__ was also a proxy. The merge_class_dict() helper for dir() assumed incorrectly that __bases__ would always be a tuple and used the in-line tuple API on the proxy. I will backport this to 2.2 as well.
* SF 554663. Add OpenBSD3. Bugfix candidate if anyone cares.Guido van Rossum2002-05-131-1/+1
|
* SF 554073. Fix typo in error reporting of unrecognized characterGuido van Rossum2002-05-131-1/+1
| | | | following IAC. Bugfix candidate if anyone cares.
* Make StringIO work in --disable-unicode builds...Michael W. Hudson2002-05-132-2/+4
|
* Adds tests for degrees() and radians() functions added to mathmodule.Raymond Hettinger2002-05-131-0/+10
| | | | Closes patch 552452 and feature request 426539.
* SF bug 555042: zip() may trigger MemoryError.Tim Peters2002-05-121-1/+11
| | | | | NOT a bugfix candidate: this is a fix to an optimization introduced in 2.3.
* Closes SF patch 553277. Per GvR, reverting to original patch -- the way toRaymond Hettinger2002-05-121-1/+1
| | | | | | test if 'callable' has not been supplied is to test for None instead of False. The previous correction to 'if callable()' was wrong because an unusable callback would be ignored rather than raising an exception.
* Use isinstance() in preference to comparison of type by is.Jeremy Hylton2002-05-101-2/+2
|
* Patch #553277: Accept callbacks that are callable, not callbacks that are true.Martin v. Löwis2002-05-081-1/+1
|
* Prevent convert_path from crashing if the path is an empty string. Bugfix ↵Andrew M. Kuchling2002-05-061-2/+2
| | | | candidate.