summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* One more crack at join(): stop trying to pretend this isn't a mass ofTim Peters2001-07-272-16/+47
| | | | special cases. test_pkg works again on Windows.
* Change ntpath.join() so that join("d:/", "/whatever") returnsTim Peters2001-07-262-5/+7
| | | | | | | d:/whatever instead of /whatever. While I'm afraid changing isabs() to be *consistent* with this would break lots of code, it makes best sense for join() to do it this way. Thanks to Alex Martelli for pushing back on this one!
* SF bug #444510: int() should guarantee truncation.Tim Peters2001-07-261-0/+13
| | | | It's guaranteed now, assuming the platform modf() works correctly.
* Add backwards compatibility.Marc-André Lemburg2001-07-261-1/+6
|
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-263-13/+13
|
* Untabify IPv6 changes.Martin v. Löwis2001-07-265-126/+126
|
* Fix a denial-of-service attack, SF bug #443120.Guido van Rossum2001-07-251-4/+14
| | | | Code by Evan Simpson.
* Undo revision 1.7: always mangle a #! line containing "python" to pointGreg Ward2001-07-251-4/+2
| | | | | | | | | | | | | | to the current Python interpreter (ie. the one used for building/installation), even (especially!) if "/usr/bin/env" appears in the #! line. Rationale: installing scripts with "#!/usr/bin/env python" is asking for trouble, because 1) it might pick the wrong interpreter (not the one used to build/install the script) 2) it doesn't work on all platforms (try it on IRIX 5, or on Linux with command-line options for python) 3) "env" might not be in /usr/bin
* Don't "import *" from stat at all -- just import what's needed, andGreg Ward2001-07-251-1/+1
| | | | do it back in copy_file() (not at module level).
* Fix for bug #444493: u'\U00010001' segfaults with current CVS onMarc-André Lemburg2001-07-251-1/+2
| | | | wide builds.
* Remove unused imports from previous checkin.Martin v. Löwis2001-07-251-2/+0
|
* Patch #401196: Use getaddrinfo and AF_INET6 in TCP servers and clients.Martin v. Löwis2001-07-247-49/+160
|
* Oh, ok, so plainpager is probably marginally better.Fred Drake2001-07-231-1/+1
|
* If $TERM is "dumb" or "emacs", just dump the text instead of trying to runFred Drake2001-07-231-0/+2
| | | | | | "less". Patch contributed by Alex Convertry. This closes SF patch #443551.
* Make this test work under Windows as well.Fred Drake2001-07-231-2/+5
|
* Test for the "glob" module, contributed by Nick Mathewson.Fred Drake2001-07-231-0/+110
| | | | | Heavily modified so this doesn't break on Windows. This closes SF patch #441175.
* Whitespace normalization.Tim Peters2001-07-231-4/+3
| | | | Note: This test fails on Windows. Don't know why yet.
* Tests for the "commands" module, contributed by Nick Mathewson.Fred Drake2001-07-231-0/+45
| | | | This closes SF patch #440291.
* New tests by Nick Mathewson, for the fpformat module.Fred Drake2001-07-231-0/+67
| | | | This closes SF patch #440290.
* updated about info for 0.8.1 releaseSteven M. Gava2001-07-211-3/+3
|
* 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
|