57 Commits (bbfe6c3986dc61eecd592fb3a290fce6c089c4e7)

Author SHA1 Message Date
Eric Snow 32439d6eb6 Issue #23911: Move path-based bootstrap code to a separate frozen module. 11 years ago
Berker Peksag 34c9be7ebd Issue #23811: Add missing newline to the PyCompileError error message. 11 years ago
Brett Cannon f299abdafa Issue #23731: Implement PEP 488. 11 years ago
Brett Cannon 9674bd0a94 Issue #17222: fix a mix-up in some exception messages. 13 years ago
Brett Cannon df960682a5 Issue #17177: Stop using imp with py_compile 13 years ago
Brett Cannon 33915eba7c Issue #17222: Raise FileExistsError when py_compile.compile would 13 years ago
Brett Cannon edfd6ae79c Issue #17244: Don't mask exceptions raised during the creation of 13 years ago
R David Murray c32b678fd0 #7842: backport fix for py_compile.compile syntax error message handling. 14 years ago
Brett Cannon 14581d5dc4 Port py_compile over to importlib 14 years ago
Andrew Svetlov f7a17b48d7 Replace IOError with OSError (#16715) 14 years ago
Antoine Pitrou 5136ac0ca2 Issue #13645: pyc files now contain the size of the corresponding source 15 years ago
Meador Inge 22b9b37915 Issue #12618: py_compile cannot create files in current directory 15 years ago
Georg Brandl 8334fd9285 Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile. 16 years ago
Victor Stinner 58c0752a33 Issue #10335: Add tokenize.open(), detect the file encoding using 16 years ago
Benjamin Peterson 25216baf32 Create __pycache__ dir when the pyc path is explicitly given 16 years ago
Matthias Klose 1c994733bb Merged revisions 80274 via svnmerge from 16 years ago
Matthias Klose c166b4021f fix typo in r79533, introduced by the fix for issue #8233 16 years ago
Barry Warsaw 28a691b7fd PEP 3147 16 years ago
Barry Warsaw d5f9bf5ecf - Issue #8233: When run as a script, py_compile.py optionally takes a single 17 years ago
Barry Warsaw f7f2d6f51e - Issue #8233: When run as a script, py_compile.py optionally takes a single 17 years ago
Benjamin Peterson 5c86d45a52 Merged revisions 79070 via svnmerge from 17 years ago
Benjamin Peterson e30b3fa17a these lines can now be dispensed with 17 years ago
Benjamin Peterson 0088893447 kill py_compile's homemade encoding detection in favor of tokenize.detect_encoding() (see #8168) 17 years ago
Benjamin Peterson 32ca4547a4 Merged revisions 78971-78972 via svnmerge from 17 years ago
Benjamin Peterson f56813997f clean up files correctly 17 years ago
Benjamin Peterson 5a4c0f5cc2 remove mac 9 code 17 years ago
Antoine Pitrou fd036451bf #2834: Change re module semantics, so that str and bytes mixing is forbidden, 18 years ago
Christian Heimes dd15f6c315 Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,61285-61286,61288-61290,61298,61303-61305,61312-61314,61317,61329,61332,61344,61350-61351,61363-61376,61378-61379,61382-61383,61387-61388,61392,61395-61396,61402-61403 via svnmerge from 19 years ago
Georg Brandl a7bd27f0a8 #2225: return nonzero status code from py_compile if not all files could be compiled. 19 years ago
Georg Brandl 1a3284ed69 #1535: rename __builtin__ module to builtins. 19 years ago
Christian Heimes 8bd14fb398 Fixed #1403 where compileall and py_compile choked on an encoding header in a py file. Both modules need more unit tests. 19 years ago
Guido van Rossum bd4a63e091 A small tweak to avoid calling traceback.format_exception_only() with 19 years ago
Guido van Rossum 88079f472e Use the encoding specification when reading the source file. 19 years ago
Guido van Rossum d6ca546091 Make test_zipfile pass. 19 years ago
Guido van Rossum e2a383d062 Rip out 'long' and 'L'-suffixed integer literals. 20 years ago
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter: 20 years ago
Georg Brandl e537d6e93e Patch #1171150: add a newline to py_compile error output 21 years ago
Jack Jansen 98fc683719 Getting rid of macfs. 24 years ago
Tim Peters 2c60f7a136 Whitespace normalization. 24 years ago
Martin v. Löwis 0c6774d92b Patch #661719: Expose compilation errors as exceptions on request. 24 years ago
Fred Drake 61cf4407be Added a main() function and support to run this module as a script. 24 years ago
Fred Drake a96f1a3c08 Refactor: Remove some code that was obsoleted when this module was 24 years ago
Raymond Hettinger 32200aeac6 Replaced obsolete stat module constants with equivalent attributes 24 years ago
Raymond Hettinger 16e3c427f3 Replace boolean test with is None. 24 years ago
Jack Jansen 7b8c7546eb Mass checkin of universal newline support. 25 years ago
Skip Montanaro c62c81e013 __all__ for several more modules 26 years ago
Eric S. Raymond 6b71e747b1 String method conversion. 26 years ago
Martin v. Löwis ff1ce0f44f Support \r in source files. Closes bug #101425. 26 years ago
Guido van Rossum 54f22ed30b More trivial comment -> docstring transformations by Ka-Ping Yee, 27 years ago
Guido van Rossum 56440a58f7 Fix two bugs in the fstat() line, reported by Fredruk Lundh. 28 years ago