summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* At Jim Fulton's request, increase the maxstring value of _saferepr toGuido van Rossum2002-09-101-1/+7
| | | | | | a more reasonable value. Backport candidate.
* I left some debugging junk in here; removed it. Also replaced a fewTim Peters2002-09-101-2/+3
| | | | | more instances of the bizarre "del f; del m" ways to spell .close() (del won't do any good here under Jython, etc).
* All set for 2.3 installer, except for upgrade of Vise version.Jack Jansen2002-09-101-0/+0
|
* A few days ago a test was added here to ensure that creating an mmapTim Peters2002-09-101-4/+15
| | | | | | | | | | with a size larger than the underlying file worked on Windows. It does <wink>. However, merely creating an mmap that way has the side effect of growing the file on disk to match the specified size. A *later* test assumed that the file on disk was still exactly as it was before the new "size too big" test was added, but that's no longer true. So added a hack at the end of the "size too big" test to truncate the disk file back to its original size on Windows.
* Fixed typo spotted by Whomas Touters.Jack Jansen2002-09-101-1/+1
|
* _parsebody(): Instead of raising a BoundaryError when no startBarry Warsaw2002-09-101-2/+5
| | | | | boundary could be found -- in a lax parser -- the entire body is assigned to the message payload.
* Import _isstring() from the compatibility layer.Barry Warsaw2002-09-101-2/+12
| | | | | | | | | | | _handle_text(): Use _isstring() for stringiness test. _handle_multipart(): Add a test before the ListType test, checking for stringiness of the payload. String payloads for multitypes means a message with broken MIME chrome was parsed by a lax parser. Instead of raising a BoundaryError in those cases, the entire body is assigned to the message payload (but since the content type is still multipart/*, the Generator needs to be updated too).
* _isstring(): Factor out "stringiness" test, e.g. for StringType orBarry Warsaw2002-09-102-2/+10
| | | | UnicodeType, which is different between Python 2.1 and 2.2.
* _ascii_split(): Don't lstrip continuation lines. Closes SF bug #601392.Barry Warsaw2002-09-101-1/+1
|
* test_splitting_first_line_only_is_long(): New test for SF bug #601392,Barry Warsaw2002-09-101-1/+38
| | | | broken wrapping of long ASCII headers.
* A sample message with broken MIME boundaries.Barry Warsaw2002-09-101-0/+15
|
* extract_time(): Squash compiler warning about possibly information-Tim Peters2002-09-101-1/+1
| | | | losing implicit double->long cast.
* Add missing return statement.Martin v. Löwis2002-09-101-0/+1
|
* Document type and semantics of the tp_print return value. Closes SF 606464.Raymond Hettinger2002-09-101-1/+3
|
* Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.Jack Jansen2002-09-105-2/+40
| | | | Bugfix candidate.
* Reverted previous change, I was confused.Jack Jansen2002-09-101-1/+1
|
* Use utimes(2) where available to support microsecond timestamps.Martin v. Löwis2002-09-104-8/+55
|
* Always generate floats for stat_result; fix configure test.Martin v. Löwis2002-09-095-20/+10
|
* Patch #606592: Subsecond timestamps in stat_result.Martin v. Löwis2002-09-096-11/+112
|
* The .preprocess() method didn't work, because it didn't add the input fileAndrew M. Kuchling2002-09-091-0/+1
| | | | to the command-line arguments. Fix this by adding the source filename.
* Include an empty body when checking for a header fileAndrew M. Kuchling2002-09-091-1/+2
| | | | (Bugfix candidate for 2.2, and likely 2.1 as well)
* Fix escaping of non-ASCII characters.Martin v. Löwis2002-09-092-2/+5
|
* Fix typo. Close SF Bug 606354.Raymond Hettinger2002-09-081-1/+1
|
* Clarified that the footnote applies to versions 1.5 and after instead ofRaymond Hettinger2002-09-081-4/+4
| | | | just version 1.5. Closes SF bug 577793.
* shutil.copyfile(src,dst) was clobbering the file when the src and dst wereRaymond Hettinger2002-09-081-0/+5
| | | | | | | the same. Added check to verify the two names are not the same. Does not check the actual files to see if there is a symbolic link. Closes SF bug 490165 and Tzot's patch 604600.
* Fix API typo. The write buffer is not const. Closes SF 606216.Raymond Hettinger2002-09-081-1/+1
|
* Extended IDLE's open module menu item to handle hierarchical module names.Raymond Hettinger2002-09-081-2/+15
| | | | | | | Will look at doing something similar in import.c so that the effort won't have to be repeated elsewhere. Closes SF patch 600152.
* A little refactoring.Jeremy Hylton2002-09-081-60/+46
| | | | | | | | | | | | Add read(), write(), and readwrite() helper functions to shorten poll functions. Use get() instead of try/except KeyError for lookup. XXX How could the lookup ever fail? Remove module-level DEBUG flag. Use iteritems() instead of items() when walking the socket map. Reformat the functions I touched so that are consistently Pythonic.
* tightened up the definition of \b and \B some more based upon discussionSkip Montanaro2002-09-071-7/+11
| | | | after the last checkin.
* Try to get test to pass on WindowsNeal Norwitz2002-09-071-1/+2
|
* Change UserDict to IterableUserDictRaymond Hettinger2002-09-071-1/+1
|
* Next few steps towards a 2.3 installer.Jack Jansen2002-09-071-0/+0
|
* First steps towards a 2.3 installer.Jack Jansen2002-09-065-29/+31
|
* Enable _AH module.Jack Jansen2002-09-062-0/+2
|
* Import Carbon.AH, not Carbon.HelpJack Jansen2002-09-061-1/+1
|
* Reorganized order of help menu, and don't show Carbon documentationJack Jansen2002-09-061-3/+4
| | | | | entries on OS9 (where they are never available, and simply disabling them might lead people to think otherwise).
* Silly me, I enabled the old help module. Fixed.Jack Jansen2002-09-062-2/+3
|
* Added carbon Help module.Jack Jansen2002-09-063-1/+2
|
* Upped the stack size to 256KB. test_class ran afoul of the 64K limit, and ↵Jack Jansen2002-09-062-0/+0
| | | | this is probably a better fix than lowering the recursion limit.
* Skip UDP testing for MacPython (for now), it hangs. This may be due toJack Jansen2002-09-061-1/+3
| | | | GUSI/Threading interaction, I'm not sure, but I don't have the time to fix this right now.
* Updated the notes on building a binary installer.Jack Jansen2002-09-061-2/+15
|
* The script was very sloppy about which variables held source pathnamesJack Jansen2002-09-061-56/+54
| | | | and which held destination pathnames. Fixed.
* Fixed a typo in the binary install notesJack Jansen2002-09-061-66/+72
| | | | rewrapped: as usual with my files everything was far wider than 80 chars.
* Get rid of non-ascii characters.Jack Jansen2002-09-061-4/+4
|
* Use PyString_CHECK_INTERNED.Jack Jansen2002-09-061-3/+3
|
* Started on documentation for building a MacOSX binary installer.Jack Jansen2002-09-061-1/+28
| | | | Unfinished.
* Remove .pyo files too.Jack Jansen2002-09-061-2/+2
|
* Script to generate .pkg packages, donated by Dinu Gherman. This is hisJack Jansen2002-09-062-0/+465
| | | | | original code, it still needs fiddling to make it work in general circumstances.
* Have os.environ() inherit from the iterable version of UserDict.Raymond Hettinger2002-09-061-1/+1
| | | | Closes SF bug 605731.
* Added a tutorial note and example regarding the scope of loop variablesRaymond Hettinger2002-09-061-0/+13
| | | | | | | in a list comprehension. Includes a justification and a comparision to regular for-loops. Closes SF bug 605047.