summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Setting textwrap.TextWrapper().expand_tabs to True calls expandtabs, notBrett Cannon2004-12-111-1/+1
| | | | expand_tabs, on the object being wrapped.
* SF bug #1083202L UnboundLocalError raised by atexit moduleRaymond Hettinger2004-12-111-3/+3
| | | | The sys module could be called before being imported.
* locale.py now uses an updated locale alias table (built usingMarc-André Lemburg2004-12-103-219/+946
| | | | | | | | | Tools/i18n/makelocalealias.py, a tool to parse the X11 locale alias file); the encoding lookup was enhanced to use Python's encoding alias table As sige-effect, this fixes SF bug [ 1080864 ] locale.py doesn't recognize valid locale setting.
* Rearranged mappings to value sorting order.Marc-André Lemburg2004-12-101-13/+13
|
* SF bug #1082944: Incorrect docs for PyUnicode_TailMatchRaymond Hettinger2004-12-101-1/+2
| | | | | * Note correct return type is int. * Note that -1 returned on failure.
* Whitespace normalization.Tim Peters2004-12-071-13/+13
|
* remove the other half of one of the regsub-related comments; the otherFred Drake2004-12-071-1/+0
| | | | half was removed in revision 1.25
* Combined several entries.Raymond Hettinger2004-12-071-6/+2
|
* Remove reference to old pickle feature.Raymond Hettinger2004-12-071-5/+0
|
* Remove outdated references to the regsub module.Raymond Hettinger2004-12-073-5/+2
|
* Eliminate the deprecated option to return None instead of a tuple of ↵Raymond Hettinger2004-12-074-33/+16
| | | | arguments in __reduce__().
* Change code in setup.py for parsing LDFLAGS and CPPFLAGS to use optparseBrett Cannon2004-12-073-7/+11
| | | | | instead of getopt. Required making use of gettext._ as optional (optparse changed OK'ed by Greg Ward in private email).
* setup.py now uses the library directories specified in LDFLAGS (``-L``Brett Cannon2004-12-073-10/+31
| | | | | | | | | | | | | | | | | | | directories) and the include directories specified in CPPFLAGS (``-I`` directories) for compiling the extension modules. This has led to the core being compiled with the values in the shell's CPPFLAGS. It has also removed the need for special casing to use Fink and DarwinPorts under darwin since the needed directories can now be specified in LDFLAGS and CPPFLAGS (e.g., DarwinPorts users can now do ``LDFLAGS=-L/opt/local/lib; CPPFLAGS=-I/opt/local/include; ./configure`` for everything to work properly). Parsing the values in the environment variables is done with getopt. While optparse would have been a nicer solution it cannot be used because of dependency issues at execution time; optparse uses gettext which uses struct which will not have been compiled when the code is imported. If optparse ever makes its importation of gettext optional by catching ImportError and setting _() to an identity function then it can be used.
* Put parentheses around the assignment in the 'while' loop conditionalBrett Cannon2004-12-071-1/+1
| | | | expression in min_max() to shut gcc up.
* Patch #1075928: AUTH PLAIN in smtplib.Johannes Gijsbers2004-12-061-1/+1
| | | | | | smtplib can not log in to some server using command AUTH PLAIN, it sends ``user\0user\0pass'' to the server, but ``\0user\0pass'' has better compatibility.
* SF bug #1076467: don't run test_on_error as root, as the permissionJohannes Gijsbers2004-12-061-2/+6
| | | | | errors don't get provoked that way. Also add a bunch of cross-references to bugs.
* Remove deprecated xmllib from inclusion in the docs.Raymond Hettinger2004-12-062-2/+1
|
* Fix for SF bug #947894: calendar.weekheader() undocumentedWalter Dörwald2004-12-061-0/+5
|
* Have test_mkalias_relative check that sys.prefix already exists; otherwise testBrett Cannon2004-12-062-2/+12
| | | | | | | | | | is pointless. Also add a note to the docs for the 'test' package that test cases should check first that any conditions needed in the operating system are met before having a test run. Closes bug #1077302. THanks, Ian Holsman.
* Very minor grammatical fix and removal of a tab.Brett Cannon2004-12-061-2/+2
|
* Changed signature of call function to avoid confusion: this 'args' is not ↵Peter Astrand2004-12-052-4/+4
| | | | the same as the one to the Popen constructor
* Removed deprecated tzparse module.Raymond Hettinger2004-12-053-1/+2
|
* Added optional None arguments to itertools.islice().Raymond Hettinger2004-12-054-14/+27
|
* remove dependencies that are no longer used for the library referenceFred Drake2004-12-051-3/+0
|
* Remove the deprecated statcache module.Raymond Hettinger2004-12-052-61/+0
|
* Removed the deprecated bin parameter from the pickle module.Raymond Hettinger2004-12-053-45/+18
|
* Remove the deprecated statcache module.Raymond Hettinger2004-12-055-12/+2
|
* Removed deprecated method arguments from the shelve module.Raymond Hettinger2004-12-054-34/+25
|
* Fixes for SF #1076485, which I'll apply to the CVS head too. The problem wasBarry Warsaw2004-12-054-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.
* Removed deprecated method from pstats.Raymond Hettinger2004-12-053-12/+2
|
* Removed deprecated use_statcache argument.Raymond Hettinger2004-12-053-16/+8
|
* SF bug #1078905: Docs for unittest run() methods are misleadingRaymond Hettinger2004-12-042-4/+9
|
* For the benefit of historians . . .Raymond Hettinger2004-12-041-0/+144
|
* Remove the deprecated whrandom module.Raymond Hettinger2004-12-046-257/+8
|
* Add itemAndrew M. Kuchling2004-12-031-1/+2
|
* Hyphenate 'one-argument'Andrew M. Kuchling2004-12-031-2/+2
|
* AAdd item. (And so it beegins again.)Andrew M. Kuchling2004-12-031-1/+18
|
* Fill in various bits of the templateAndrew M. Kuchling2004-12-031-27/+5
|
* Remove PyRange_New().Raymond Hettinger2004-12-033-47/+2
|
* Acknowledge contribution of a thorough tutorial review.Raymond Hettinger2004-12-031-0/+1
|
* SF patch #1077353: add key= argument to min and maxRaymond Hettinger2004-12-035-45/+164
| | | | (First draft of patch contributed by Steven Bethard.)
* Fixed errors reported in SF bug #1074693Vinay Sajip2004-12-021-6/+23
|
* Restore Python 2.1 compatibility (os.extsep was introduced in Python 2.2).Marc-André Lemburg2004-12-021-2/+4
|
* Fixing bug #1072259 in SRE.Gustavo Niemeyer2004-12-021-7/+10
|
* Add key= argument to heapq.nsmallest() and heapq.nlargest().Raymond Hettinger2004-12-024-8/+90
|
* Update the MSC6 pythoncore projects to compile for Py2.5Raymond Hettinger2004-12-021-2/+2
|
* Fix typo.Raymond Hettinger2004-12-021-1/+1
|
* SF bug #1076955: Tutorial corrections Part IIRaymond Hettinger2004-12-022-34/+36
|
* SF bug #1076955: Tutorial corrections Part IRaymond Hettinger2004-12-021-54/+67
| | | | (Submitted by some anonymous person with an amazing eye for grammer nits.)
* Add all readme files in Tools.Martin v. Löwis2004-12-011-1/+2
|