summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add a test case that checks that the proper exception is raisesWalter Dörwald2002-09-061-0/+15
| | | | | when the replacement from an encoding error callback is itself unencodable.
* Apply diff3.txt (plus additional documentation)Walter Dörwald2002-09-063-38/+154
| | | | | | | | | from SF patch http://www.python.org/sf/554192 This adds two new functions to mimetypes: guess_all_extensions() which returns a list of all known extensions for a mime type, and add_type() which adds one mapping between a mime type and an extension.
* update docs to reflect that \b considers underscore to be part of a word.Skip Montanaro2002-09-061-2/+2
|
* test_set_param(), test_del_param(): Test RFC 2231 encoding support byBarry Warsaw2002-09-061-1/+68
| | | | Oleg Broytmann in SF patch #600096. Whitespace normalized by Barry.
* _formatparam(), set_param(): RFC 2231 encoding support by OlegBarry Warsaw2002-09-061-3/+11
| | | | | | Broytmann in SF patch #600096. Specifically, the former function now encodes the triplets, while the latter adds optional charset and language arguments.
* test_mondo_message(): "binary" is not a legal content type, so withBarry Warsaw2002-09-061-2/+3
| | | | | the previous RFC 2045, $5.2 repair to get_content_type() this subpart's type will now be text/plain.
* test_replace_header(): New test for Message.replace_header().Barry Warsaw2002-09-061-0/+17
|
* replace_header(): New method given by Skip Montanaro in SF patchBarry Warsaw2002-09-061-1/+15
| | | | | #601959. Modified slightly by Barry (who added the KeyError in case the header is missing.
* SF bug # 585792, Invalid mmap crashes Python interpreterNeal Norwitz2002-09-054-1/+30
| | | | | Raise ValueError if user passes a size to mmap which is larger than the file.
* Added "that" to correct grammar, the rest is due to wrappingNeal Norwitz2002-09-051-4/+4
|
* PyObject_RichCompareBool() already returns -1, 0, or 1, so return its valueNeal Norwitz2002-09-052-10/+2
|
* --with(out)-thread is deprecated according to configure --helpNeal Norwitz2002-09-051-1/+1
|
* SF # 555779, import user doesn't work with CGIsNeal Norwitz2002-09-052-2/+6
|
* Micro-optimization for list_contains. Factored double if testRaymond Hettinger2002-09-051-7/+6
| | | | out of the loop.
* Micro-optimization for list_contains. Factored double if testRaymond Hettinger2002-09-051-8/+7
| | | | out of the loop.
* M PyShell.pyKurt B. Kaiser2002-09-053-57/+55
| | | | | | | | | | | | | | | | | | | | | | | | M RemoteDebugger.py M ScriptBinding.py Restart the execution server with a clean environment and execute the active module from scratch upon activation of Run/F5. Add functionality to PyShell.py to restart the execution server in a new subprocess. The server makes a connection to the Idle client which sends a block of code to be executed. Modify ScriptBinding.py to restart the subprocess upon Run/F5, assuming that an execution is not currently in progress. Remove Import Module functionality, not required now that the code is executed in a clean environment. If the Debugger is active, also restart the subprocess side of the split debugger. Add functionality to RemoteDebugger.py to support this. At this time breakpoints will be lost in the subprocess if Run/F5 is activated. A subsequent checkin of PyShell.py will implement reloading of the breakpoints into the subprocess debugger. I'm keeping this separate as the design may change.