Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A small tweak to avoid calling traceback.format_exception_only() with | Guido van Rossum | 2007-08-10 | 1 | -1/+1 |
| | | | | | a bogus (tuple) value. This should fix the "make install" issue Neal reported. | ||||
* | Use the encoding specification when reading the source file. | Guido van Rossum | 2007-07-15 | 1 | -1/+18 |
| | |||||
* | Make test_zipfile pass. | Guido van Rossum | 2007-05-22 | 1 | -5/+5 |
| | | | | | | | | | | The zipfile module now does all I/O in binary mode using bytes. (Maybe we should support wrapping a TextIOWrapper around it when text mode reading is requested?) Even the password is a bytes array now. Had to fix py_compile.py to use bytes while I was at it. The _struct needed a patch to support bytes, str8 and str for the 's' and 'p' formats. | ||||
* | Rip out 'long' and 'L'-suffixed integer literals. | Guido van Rossum | 2007-01-15 | 1 | -2/+2 |
| | | | | (Rough first cut.) | ||||
* | SF patch 1631942 by Collin Winter: | Guido van Rossum | 2007-01-10 | 1 | -2/+2 |
| | | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block | ||||
* | Patch #1171150: add a newline to py_compile error output | Georg Brandl | 2005-06-10 | 1 | -1/+1 |
| | |||||
* | Getting rid of macfs. | Jack Jansen | 2003-02-27 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-01-29 | 1 | -9/+9 |
| | |||||
* | Patch #661719: Expose compilation errors as exceptions on request. | Martin v. Löwis | 2003-01-15 | 1 | -17/+75 |
| | |||||
* | Added a main() function and support to run this module as a script. | Fred Drake | 2002-08-21 | 1 | -1/+19 |
| | | | | Closes SF feature request #588768. | ||||
* | Refactor: Remove some code that was obsoleted when this module was | Fred Drake | 2002-08-21 | 1 | -11/+17 |
| | | | | | | | | | changed to use universal newlines. Remove all imports from the compile() function; these are now done at the top of the module ("Python normal form"), and define a helper based on the platform instead of testing the platform in the compile() function. | ||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -2/+2 |
| | |||||
* | Replace boolean test with is None. | Raymond Hettinger | 2002-06-01 | 1 | -1/+1 |
| | |||||
* | Mass checkin of universal newline support. | Jack Jansen | 2002-04-14 | 1 | -1/+1 |
| | | | | | | | | Highlights: import and friends will understand any of \r, \n and \r\n as end of line. Python file input will do the same if you use mode 'U'. Everything can be disabled by configuring with --without-universal-newlines. See PEP278 for details. | ||||
* | __all__ for several more modules | Skip Montanaro | 2001-02-12 | 1 | -0/+2 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -2/+2 |
| | |||||
* | Support \r in source files. Closes bug #101425. | Martin v. Löwis | 2000-09-15 | 1 | -0/+5 |
| | |||||
* | More trivial comment -> docstring transformations by Ka-Ping Yee, | Guido van Rossum | 2000-02-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay. | ||||
* | Fix two bugs in the fstat() line, reported by Fredruk Lundh. | Guido van Rossum | 1998-10-07 | 1 | -1/+1 |
| | |||||
* | Fix suggested by Sjoerd (long ago!) to get a better error message when | Guido van Rossum | 1998-09-29 | 1 | -1/+9 |
| | | | | | | | | there's a syntax error. (In particular, display the correct filename). This changes the API: if there's a syntax error, the function now returns normally after dumping the error to sys.stderr. I changed Sjoerd's use of string.join(string.split(...)) with string.replace(). | ||||
* | On the mac, shouldn't change the creator+type of the *source* file! | Guido van Rossum | 1998-08-11 | 1 | -1/+0 |
| | |||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -9/+9 |
| | |||||
* | Typo (coestring -> codestring) discovered by Mark Hammond. | Guido van Rossum | 1998-03-02 | 1 | -1/+1 |
| | |||||
* | Added docstrings. | Guido van Rossum | 1998-01-19 | 1 | -32/+63 |
| | | | | | | | Added an optional third parameter giving the purported filename for error messages from the module. Append a newline to the code string if needed. | ||||
* | Use fstat if we can; write MAGIC into file last. | Guido van Rossum | 1997-11-22 | 1 | -2/+8 |
| | |||||
* | compile(): Use the __debug__ flag to determine the proper filename extension | Fred Drake | 1997-03-13 | 1 | -1/+1 |
| | | | | to use for the cached module code object. | ||||
* | Cast mtime gotten from stat() to long int -- else it won't work | Guido van Rossum | 1996-10-24 | 1 | -1/+1 |
| | | | | | | on the Mac. Jack! Please fix this in the Mac distributions! | ||||
* | change Mac creator/type | Guido van Rossum | 1996-05-28 | 1 | -2/+2 |
| | |||||
* | Get magic number from interpreter (using module imp). | Sjoerd Mullender | 1995-07-19 | 1 | -2/+3 |
| | |||||
* | Mac-specific code for setting filetype was outdated. | Jack Jansen | 1995-04-23 | 1 | -3/+3 |
| | |||||
* | changes for the Mac | Guido van Rossum | 1995-01-27 | 1 | -2/+7 |
| | |||||
* | New way of generating .pyc files, thanks to Sjoerd. | Guido van Rossum | 1994-08-29 | 1 | -0/+25 |
urllib.py: '+' is not always safe (even though the RFC says so :-( ) whrandom.py: throw away top bits of time to avoid overflow on Mac (where times can be negative) |