summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* new material for 0.8.1 releaseSteven M. Gava2001-07-212-9/+30
|
* On WIndows, skip the part of test_dircache that can't work on Windows.Tim Peters2001-07-211-9/+15
|
* Whitespace normalization, plus:Tim Peters2001-07-215-19/+19
| | | | | | + test_quopri.py relied on significant trailing spaces. Fixed. + test_dircache.py (still) doesn't work on Windows (directory mtime on Windows doesn't work like it does on Unix).
* Make the add*() helper functions more robust for use after intializationFred Drake2001-07-201-6/+33
| | | | | | | | is complete: recompute _dirs_in_sys_path each time these functions are entered after module initialization is complete, and reset before returning to user code. This closes SF patch #442983.
* Patch #429442 from Jason Tishler: Corrects sys.platform andAndrew M. Kuchling2001-07-201-0/+1
| | | | | distutils.util.get_platform() problems caused by the cruft contained in Cygwin's uname -s.
* Use string.ascii_letters instead of string.letters (SF bug #226706).Fred Drake2001-07-208-8/+8
|
* Use string.ascii_letters instead of string.letters (SF bug #226706).Fred Drake2001-07-201-3/+3
| | | | Work-around a font-lock bogosity.
* Use string.ascii_letters instead of string.letters.Fred Drake2001-07-201-2/+2
| | | | Remove unused import.
* Added the constants ascii_letters, ascii_lowercase, and ascii_uppercaseFred Drake2001-07-201-0/+3
| | | | | to the string module. This was determined to be the right approach in SF bug #226706.
* Make the unicode-escape and the UTF-16 codecs handle surrogatesMarc-André Lemburg2001-07-201-0/+8
| | | | | | | | correctly and thus roundtrip-safe. Some minor cleanups of the code. Added tests for the roundtrip-safety.
* Copying this 2.1.1 bugfix to the trunk:Guido van Rossum2001-07-201-1/+0
| | | | | | | | | Fix showstopper SF bug #442983: use of site.addsitedir() was broken because it references the global dirs_in_sys_path which is deleted. The fix avoids deleting that global. (My email through python.org or digicool.com is non-functional at the moment; use gvanrossum@home.com to reach me.)
* apply patch item #416253Piers Lauder2001-07-201-38/+115
|
* fix missed conversion in ESR's string conversionPiers Lauder2001-07-201-1/+1
|
* update in preparation for 0.8.1 alpha releaseSteven M. Gava2001-07-201-0/+567
|
* bring up to date for 0.8.1 releaseSteven M. Gava2001-07-202-4/+74
|
* Regression test for the dircache module, contributed by Nick Mathewson.Fred Drake2001-07-191-0/+62
| | | | | Modified by Fred Drake. This closes SF patch #440827.
* Test for the repr module, contributed by Nick Mathewson.Fred Drake2001-07-191-0/+108
| | | | This closes SF patch #440826.
* Make the new docstrings better conform to Guido's style guide.Fred Drake2001-07-191-7/+15
|
* Added docstrings based on a patch by Evelyn Mitchell.Fred Drake2001-07-191-11/+16
| | | | This closes SF patch #440153.
* Make sure path names inserted into ZIP files are normalized to use "/" asFred Drake2001-07-191-1/+12
| | | | | | the directory separator, as required by the format specification. This closes SF bug #440693.
* Add some test cases for ntpath.join().Tim Peters2001-07-191-3/+19
|
* Cosmetic: break the long lines in test_ntpath.py, and get rid of itsTim Peters2001-07-192-9/+14
| | | | expected-output file.
* SF bug #44271: os.path.expanduser problem w/o HOME set.Tim Peters2001-07-191-6/+16
| | | | | | | This is a Windows-specific glitch that's really due to that, e.g., ntpath.join("c:", "/abc") returned "/abc" instead of "c:/abc". Made join smarter. Bugfix candidate.
* Added function xml.sax.saxutils.quoteattr().Fred Drake2001-07-193-2/+46
| | | | This closes SF bug #440351. It should not be moved to Python 2.1.1.
* Patch #442512: put block indices in the right byte order on bigendian systems.Martin v. Löwis2001-07-191-2/+5
|
* Replace __import__ with import as.Martin v. Löwis2001-07-191-1/+1
|
* minor tidy-ups ready for 0.8.1 alpha tarball releaseSteven M. Gava2001-07-197-9/+31
|
* Remove some false comments.Fred Drake2001-07-191-159/+156
| | | | | | Reorganize so the initialization sequences does not bite us in the foot. (There is no good reason to discard classes that clients may want to subclass.)
* If the user's environment has set the BROWSER environment variable (as GnomeSkip Montanaro2001-07-181-6/+9
| | | | | | | seems to do), the user may not be aware of its contents. Attempt to add any to _browsers. closes bug #429136
* Minor changes for stylistic cleanliness and consistency.Fred Drake2001-07-181-16/+20
|
* Patch #432117: Record namespaces in the DOM tree using the DOM xmlns prefix.Martin v. Löwis2001-07-181-1/+18
|
* Remove a couple of lines from the test that proved not to be portable toFred Drake2001-07-171-2/+0
| | | | all platforms that offer tempnam().
* Start of a test suite for the "os" module -- this only tests the temporaryFred Drake2001-07-171-0/+60
| | | | | file management functions that have just been made available on more platforms.
* Use the "st" versions of the "ast" calls in the parser module -- there isFred Drake2001-07-171-2/+2
| | | | no reason to pretend the syntax trees we're dealing with are abstract.
* Deleting zombiesGuido van Rossum2001-07-173-383/+0
|
* INSTALLATION: Remove the coexist.patch instructionsKurt B. Kaiser2001-07-172-21/+10
| | | | | | | | **************** setup.py: Remove the idles script, add some words on IDLE Fork to the long_description, and clean up some line spacing.
* Put this in the attic, at least for now...Kurt B. Kaiser2001-07-171-186/+0
|
* Implement idle command interface as suggested by GvR [idle-dev] 16 JulyKurt B. Kaiser2001-07-173-38/+26
| | | | | | | | | | | | | | | | | | | | | | | | | **************** PyShell: Added functionality: usage: idle.py [-c command] [-d] [-i] [-r script] [-s] [-t title] [arg] ... idle file(s) (without options) edit the file(s) -c cmd run the command in a shell -d enable the debugger -i open an interactive shell -i file(s) open a shell and also an editor window for each file -r script run a file as a script in a shell -s run $IDLESTARTUP or $PYTHONSTARTUP before anything else -t title set title of shell window Remaining arguments are applied to the command (-c) or script (-r). ****************** idles: Removed the idles script, not needed ****************** idle: Removed the IdleConf references, not required anymore
* Added tests for the new yield support in the parser module.Fred Drake2001-07-171-1/+132
| | | | (Should be merged with descr branch.)
* This has never worked on Windows. Now it does. If it breaks on Unix now,Tim Peters2001-07-161-1/+7
| | | | great, it's your turn to watch it fail for months <0.9 wink>.
* test_basic(): Add a test for "person@dom.ain (User J. Person)" whichBarry Warsaw2001-07-161-0/+12
| | | | | | | | was already correctly parsed (contrary to a comment in Mailman). test_rfc2822_phrases(): RFC 2822 now requires that we allow `.' in phrases, which means we must accept dots in unquoted realname parts. Add a test to check the change in rfc822.py 1.58.
* Stoopid change, just to mention that the last checkin resolves SF bugBarry Warsaw2001-07-161-1/+1
| | | | #437395
* Fix address parsing to be RFC 2822 conformant. Specifically, dots areBarry Warsaw2001-07-161-105/+123
| | | | | | | | | | | | | | | | | | | | | | | | now allowed in unquoted RealName areas (technically, they are defined as "obsolete syntax" we MUST accept in phrases, as part of the obs-phrase production). Thus, parsing To: User J. Person <person@dom.ain> correctly returns "User J. Person" as the RealName. AddrlistClass.__init__(): Add definition of self.phraseends which is just self.atomends with `.' removed. getatom(): Add an optional argument `atomends' which, if None (the default) means use self.atomends. getphraselist(): Pass self.phraseends to getatom() and break out of the loop only when the current character is in phraseends instead of atomends. This allows dots to continue to serve as atom delimiters in all contexts except phrases. Also, loads of docstring updates to document RFC 2822 conformance (sorry, this should have been two separate patches).
* Add a unit test for sgmllib (needs work, but has already caught problems).Fred Drake2001-07-161-0/+243
| | | | Based on the test for the HTMLParser module.
* Give more useful information about a failing PyUnit-style test.Fred Drake2001-07-161-2/+11
|
* Remove a duplicate test.Fred Drake2001-07-161-1/+0
|
* Document doctest's generator-future hack.Tim Peters2001-07-161-0/+7
|
* In CDATA mode, make sure entity-reference syntax is not interpreted;Fred Drake2001-07-161-8/+26
| | | | | | | entity references are not allowed in that mode. Do a better job of scanning <!DOCTYPE ...> declarations; based on the code in HTMLParser.py.
* Fix a mismatched parenthesis in the last patch.Guido van Rossum2001-07-161-1/+1
|
* [Bug #441527] Fixes for preprocessor support, contributed by TarnAndrew M. Kuchling2001-07-161-4/+5
| | | | Weisner Burton