History log of /external/python/cpython2/Lib/py_compile.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1bc53c6e0bae375a58286654d2e75126b11217c6 14-Apr-2015 Berker Peksag <berker.peksag@gmail.com> Issue #23811: Add missing newline to the PyCompileError error message.

Patch by Alex Shkop.
/external/python/cpython2/Lib/py_compile.py
c32b678fd057f10ef1bf8999b7785f51e0e5f81b 20-Feb-2013 R David Murray <rdmurray@bitdance.com> #7842: backport fix for py_compile.compile syntax error message handling.
/external/python/cpython2/Lib/py_compile.py
c166b4021facb0cac9e54bfb1b8c48cc0e6cba6f 20-Apr-2010 Matthias Klose <doko@ubuntu.com> fix typo in r79533, introduced by the fix for issue #8233
/external/python/cpython2/Lib/py_compile.py
f7f2d6f51e8ea429b9db44eed0dcc6a4e22708df 31-Mar-2010 Barry Warsaw <barry@python.org> - Issue #8233: When run as a script, py_compile.py optionally takes a single
argument `-` which tells it to read files to compile from stdin. Each line
is read on demand and the named file is compiled immediately. (Original
patch by Piotr Ożarowski).
/external/python/cpython2/Lib/py_compile.py
e30b3fa17a7f89fac3ef5e2b6546dad95204032e 18-Mar-2010 Benjamin Peterson <benjamin@python.org> these lines can now be dispensed with
/external/python/cpython2/Lib/py_compile.py
f56813997fb546207ef1f9d15325dff2929dc455 15-Mar-2010 Benjamin Peterson <benjamin@python.org> clean up files correctly
/external/python/cpython2/Lib/py_compile.py
5a4c0f5cc2328d2f1dee504e1f71292b2290fd4a 15-Mar-2010 Benjamin Peterson <benjamin@python.org> remove mac 9 code
/external/python/cpython2/Lib/py_compile.py
a7bd27f0a8dd7acbf0098f50d28ed9783fdce605 06-Mar-2008 Georg Brandl <georg@python.org> #2225: return nonzero status code from py_compile if not all files could be compiled.
/external/python/cpython2/Lib/py_compile.py
e537d6e93e0b5c37a96090df9ec831bd1bf8e2fb 10-Jun-2005 Georg Brandl <georg@python.org> Patch #1171150: add a newline to py_compile error output
/external/python/cpython2/Lib/py_compile.py
98fc683719ed2c4c99b89b8e8f3762fe79a0be9f 28-Feb-2003 Jack Jansen <jack.jansen@cwi.nl> Getting rid of macfs.
/external/python/cpython2/Lib/py_compile.py
2c60f7a13697bbc19c4d5ef0b052c34cf1848244 29-Jan-2003 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/py_compile.py
0c6774d92b48c4c4097a3a3bea2294093092e4e3 15-Jan-2003 Martin v. Löwis <martin@v.loewis.de> Patch #661719: Expose compilation errors as exceptions on request.
/external/python/cpython2/Lib/py_compile.py
61cf4407be9c726c935e1fe82b06a2617b15287e 21-Aug-2002 Fred Drake <fdrake@acm.org> Added a main() function and support to run this module as a script.
Closes SF feature request #588768.
/external/python/cpython2/Lib/py_compile.py
a96f1a3c08fbe9452c24bb163b4480b5c67d1e8d 21-Aug-2002 Fred Drake <fdrake@acm.org> Refactor: Remove some code that was obsoleted when this module was
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.
/external/python/cpython2/Lib/py_compile.py
32200aeac697fcb3f2b4528127a2fbf0a22a8f17 01-Jun-2002 Raymond Hettinger <python@rcn.com> Replaced obsolete stat module constants with equivalent attributes
/external/python/cpython2/Lib/py_compile.py
16e3c427f35589ac3b83e8c13a8ec6495ec6cfa1 01-Jun-2002 Raymond Hettinger <python@rcn.com> Replace boolean test with is None.
/external/python/cpython2/Lib/py_compile.py
7b8c7546ebc1fc3688ef95768fa8b82f0f205490 14-Apr-2002 Jack Jansen <jack.jansen@cwi.nl> Mass checkin of universal newline support.
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.
/external/python/cpython2/Lib/py_compile.py
c62c81e013fbc9a726493870c3624b60ae63a757 12-Feb-2001 Skip Montanaro <skip@pobox.com> __all__ for several more modules
/external/python/cpython2/Lib/py_compile.py
6b71e747b19c41e0665ee14eb755c924a40dd774 09-Feb-2001 Eric S. Raymond <esr@thyrsus.com> String method conversion.
/external/python/cpython2/Lib/py_compile.py
ff1ce0f44f0c732fdffd24facb14e8a763a2fbf3 15-Sep-2000 Martin v. Löwis <martin@v.loewis.de> Support \r in source files. Closes bug #101425.
/external/python/cpython2/Lib/py_compile.py
54f22ed30bab2e64909ba2d79205cb4b87c69db2 04-Feb-2000 Guido van Rossum <guido@python.org> More trivial comment -> docstring transformations by Ka-Ping Yee,
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.
/external/python/cpython2/Lib/py_compile.py
56440a58f7a9e4aff1877c86772c846093ea5fd3 07-Oct-1998 Guido van Rossum <guido@python.org> Fix two bugs in the fstat() line, reported by Fredruk Lundh.
/external/python/cpython2/Lib/py_compile.py
f984a6526711513e1af035d2fcee545c51ab51fe 29-Sep-1998 Guido van Rossum <guido@python.org> Fix suggested by Sjoerd (long ago!) to get a better error message when
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().
/external/python/cpython2/Lib/py_compile.py
9279ec25047007154eb419f6c1f855e8bf2905b5 11-Aug-1998 Guido van Rossum <guido@python.org> On the mac, shouldn't change the creator+type of the *source* file!
/external/python/cpython2/Lib/py_compile.py
45e2fbc2e70ef28b1f0327207f33dab3a4e825c5 26-Mar-1998 Guido van Rossum <guido@python.org> Mass check-in after untabifying all files that need it.
/external/python/cpython2/Lib/py_compile.py
d8c5b8c90f342767620f70acbb8b56bc2176288a 02-Mar-1998 Guido van Rossum <guido@python.org> Typo (coestring -> codestring) discovered by Mark Hammond.
/external/python/cpython2/Lib/py_compile.py
63566e2ef22f48be9975c9994bc7889e6526264a 19-Jan-1998 Guido van Rossum <guido@python.org> Added docstrings.

Added an optional third parameter giving the purported filename for
error messages from the module.

Append a newline to the code string if needed.
/external/python/cpython2/Lib/py_compile.py
e6c128f428de3e6cb44549983644fa610082cb52 22-Nov-1997 Guido van Rossum <guido@python.org> Use fstat if we can; write MAGIC into file last.
/external/python/cpython2/Lib/py_compile.py
ef8dc06c01e71889122d7cfb2590cde12b8a9515 13-Mar-1997 Fred Drake <fdrake@acm.org> compile(): Use the __debug__ flag to determine the proper filename extension
to use for the cached module code object.
/external/python/cpython2/Lib/py_compile.py
9b67621b66d459bca4e4b21c0174640764c8d5c6 24-Oct-1996 Guido van Rossum <guido@python.org> Cast mtime gotten from stat() to long int -- else it won't work
on the Mac.

Jack! Please fix this in the Mac distributions!
/external/python/cpython2/Lib/py_compile.py
dc42b8aa3dc22fc4bbe79eff5f3c1315eddb6388 29-May-1996 Guido van Rossum <guido@python.org> change Mac creator/type
/external/python/cpython2/Lib/py_compile.py
2e5168c9fce4b4ce876feb6999bad5e5fa411afb 19-Jul-1995 Sjoerd Mullender <sjoerd@acm.org> Get magic number from interpreter (using module imp).
/external/python/cpython2/Lib/py_compile.py
e99c824bad777224cdba0ea3f2ca6ef4bc94701f 24-Apr-1995 Jack Jansen <jack.jansen@cwi.nl> Mac-specific code for setting filetype was outdated.
/external/python/cpython2/Lib/py_compile.py
7e4b2def34f5cb6c954148a7458c8e1aa4584320 27-Jan-1995 Guido van Rossum <guido@python.org> changes for the Mac
/external/python/cpython2/Lib/py_compile.py
3bb54487675cd28166fc7271b5788b185bcc1b63 29-Aug-1994 Guido van Rossum <guido@python.org> New way of generating .pyc files, thanks to Sjoerd.
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)
/external/python/cpython2/Lib/py_compile.py