History log of /external/python/cpython2/Parser/pgen.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6a35bf6ca051f07edf0044278a1bf71b88111320 08-Oct-2016 Serhiy Storchaka <storchaka@gmail.com> Silenced compiler warnings.
/external/python/cpython2/Parser/pgen.c
646b528467b171148143980452d2aa4294cbe5c8 22-Jun-2016 Martin Panter <vadmium+py@gmail.com> Issue #22463: Backport compiler warning fixes and workarounds

* Set but unused variable in Parser/pgen.c in non-debug builds. Patch by
Christian Heimes.
* Unused static function in Modules/readline.c. Patch by Georg Brandl.
* main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith.
* Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett
Cannon.
* Expression result unused in PyObject_INIT macro expansions. Based on
patches by Christian Heimes.
* Load expat_config.h and therefore pyconfig.h before C stdlib headers are
loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE
redefined'. Extracted from patch by Christian Heimes.
/external/python/cpython2/Parser/pgen.c
c83ea137d7e717f764e2f31fc2544f522de7d857 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Untabify C files. Will watch buildbots.
/external/python/cpython2/Parser/pgen.c
7b1e119f8c28cf8b46ab5933c389a6d0b742ef21 18-Jan-2008 Christian Heimes <christian@cheimes.de> Coverity issue CID #167
Event alloc_fn: Called allocation function "metacompile" [model]
Event var_assign: Assigned variable "gr" to storage returned from "metacompile"
gr = metacompile(n);
Event pass_arg: Variable "gr" not freed or pointed-to in function "maketables" [model]
g = maketables(gr);
translatelabels(g);
addfirstsets(g);
Event leaked_storage: Returned without freeing storage "gr"
return g;
/external/python/cpython2/Parser/pgen.c
a7d329a9b2d01895cb2e6b695ead74855bfeb02a 12-Oct-2007 Neal Norwitz <nnorwitz@gmail.com> Fix Coverity 180: Don't overallocate. We don't need structs, but pointers.
Also fix a memory leak.
/external/python/cpython2/Parser/pgen.c
114900298ea26e5e25edd5d05f24648dcd5ea95b 11-Apr-2006 Anthony Baxter <anthonybaxter@gmail.com> Fix the code in Parser/ to also compile with C++. This was mostly casts for
malloc/realloc type functions, as well as renaming one variable called 'new'
in tokensizer.c. Still lots more to be done, going to be checking in one
chunk at a time or the patch will be massively huge. Still compiles ok with
gcc.
/external/python/cpython2/Parser/pgen.c
2c4e4f98397bcc591ad3a551e1e57cea0e2bd986 10-Apr-2006 Neal Norwitz <nnorwitz@gmail.com> SF patch #1467512, fix double free with triple quoted string in standard build.

This was the result of inconsistent use of PyMem_* and PyObject_* allocators.
By changing to use PyObject_* allocator almost everywhere, this removes
the inconsistency.
/external/python/cpython2/Parser/pgen.c
46aae198ad5178313271790cf7209843045346b6 08-Jan-2006 Neal Norwitz <nnorwitz@gmail.com> Revert previous checkin, the check is for <, not ==. i is unsed in non-debug builds, but is used in debug builds
/external/python/cpython2/Parser/pgen.c
056a2d6582acf2c7f661279ab7df2003cbad1315 08-Jan-2006 Neal Norwitz <nnorwitz@gmail.com> Fix icc warnings. This couldn't have been correct since i is checked
for 2 different values without changing. I think this was the intent.
The unused warning only occurs when not building in debug mode.
/external/python/cpython2/Parser/pgen.c
bd311d8e4eba6c8f9a24a068861aed2da88f5d4a 15-Dec-2003 Guido van Rossum <guido@python.org> Remove a "temporary" piece of code that was probably unneeded since
mid 1990. Remove an untrue XXX comment.
/external/python/cpython2/Parser/pgen.c
d3ab37f1df86b86d340360412331078a1da63d58 17-Apr-2003 Guido van Rossum <guido@python.org> Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
work. This includes some more code that used to be part of pgen in
the main parser; I'm okay with that. I'll see if the Windows build
needs work next.
/external/python/cpython2/Parser/pgen.c
edaa071eb45cecbcf4d74b886bfac1ac2a780916 28-Feb-2003 Barry Warsaw <barry@python.org> compile_atom(): Neal's last checkin removing the setting of i broke
the build, so I'm restoring it. I'm not sure what Neal's intent was,
since the line following the one he removed was "REQN(i, 1)" so i is
obviously used. ;)
/external/python/cpython2/Parser/pgen.c
5f16a3178cd234576bc251df1f3040a2a7c418f7 28-Feb-2003 Neal Norwitz <nnorwitz@gmail.com> Remove setting i since it isn't used. Found in unrelated bug 690012.
/external/python/cpython2/Parser/pgen.c
5352d8c0c6ae6cce7af2fef7a3fb9ee26c6aad9b 31-May-2002 Neal Norwitz <nnorwitz@gmail.com> Py_IgnoreEnvironmentFlag should be extern, since it is declared in pythonrun.c
/external/python/cpython2/Parser/pgen.c
44c4c6dbd6044291ca139edd4f0add84d784df04 22-Apr-2002 Neil Schemenauer <nascheme@enme.ucalgary.ca> Py_GETENV is used by obmalloc and needs Py_IgnoreEnvironmentFlag. Provide it.
/external/python/cpython2/Parser/pgen.c
1ca12961579c6a27597fc95b610b01af37734827 04-Dec-2001 Tim Peters <tim.peters@gmail.com> The parser doesn't need its own implementation of assert, and having its
own interfered with including Python.h. Remove Python's assert.h.
/external/python/cpython2/Parser/pgen.c
25dfe2c09599228d57941a8cf8c0040670f389fd 11-Sep-2001 Guido van Rossum <guido@python.org> Silence parser generator output.
/external/python/cpython2/Parser/pgen.c
8586991099e4ace18ee94163a96b8ea1bed77ebe 02-Sep-2000 Guido van Rossum <guido@python.org> REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
/external/python/cpython2/Parser/pgen.c
23c9e0024af99379ae517b016b874d57127e9a97 22-Jul-2000 Thomas Wouters <thomas@python.org> Mass ANSIfication.

Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to
'Py_AddPendingCall' by providing a (static) wrapper function that has the
right number of arguments.
/external/python/cpython2/Parser/pgen.c
7e47402264cf87b9bbb61fc9ff610af08add7c7b 16-Jul-2000 Thomas Wouters <thomas@python.org> Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
/external/python/cpython2/Parser/pgen.c
dbd9ba6a6c19c3d06f5684b3384a934f740038db 09-Jul-2000 Tim Peters <tim.peters@gmail.com> Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
/external/python/cpython2/Parser/pgen.c
ffcc3813d82e6b96db79f518f4e67b940a13ce64 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice - 2nd try.
/external/python/cpython2/Parser/pgen.c
fd71b9e9d496caa510dec56a9b69966558d6ba5d 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice.
/external/python/cpython2/Parser/pgen.c
bb3649e2ba386adc16fadc2e0d1f2606c047e6aa 11-Apr-1998 Guido van Rossum <guido@python.org> Make new gcc -Wall happy
/external/python/cpython2/Parser/pgen.c
86bea46b3d16c4ed0453e17f241ddbdfade76c98 29-Apr-1997 Guido van Rossum <guido@python.org> Another directory quickly renamed.
/external/python/cpython2/Parser/pgen.c
408027ea4635de5c892b28c4fdf41840eb9089a4 30-Dec-1996 Guido van Rossum <guido@python.org> Rename DEBUG macro to Py_DEBUG
/external/python/cpython2/Parser/pgen.c
fd8a393086fbf43597965d5e55bec158a094a466 02-Dec-1996 Guido van Rossum <guido@python.org> Make gcc -Wall happy
/external/python/cpython2/Parser/pgen.c
d266eb460e20ded087d01a29da0a230e235afc40 25-Oct-1996 Guido van Rossum <guido@python.org> New permission notice, includes CNRI.
/external/python/cpython2/Parser/pgen.c
b9f8d6e54d72d108648a411174e57779c212871a 04-Jan-1995 Guido van Rossum <guido@python.org> Added 1995 to copyright message.
/external/python/cpython2/Parser/pgen.c
588633daa2fe7276ae4b0c99723094add0d965ff 30-Dec-1994 Guido van Rossum <guido@python.org> Parser/tokenizer.c (tok_nextc): zap tok->buf after freeing;
rest: abort() -> fatal(); small things
/external/python/cpython2/Parser/pgen.c
1d5735e84621a7fe68d361fa0e289fa2c3310836 30-Aug-1994 Guido van Rossum <guido@python.org> Merge back to main trunk
/external/python/cpython2/Parser/pgen.c
9bfef44d97d1ae24e03717e3d59024b44626a9de 29-Mar-1993 Guido van Rossum <guido@python.org> * Changed all copyright messages to include 1993.
* Stubs for faster implementation of local variables (not yet finished)
* Added function name to code object. Print it for code and function
objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version
number has changed accordingly)
* Print address of self for built-in methods
* New internal functions getattro and setattro (getattr/setattr with
string object arg)
* Replaced "dictobject" with more powerful "mappingobject"
* New per-type functio tp_hash to implement arbitrary object hashing,
and hashobject() to interface to it
* Added built-in functions hash(v) and hasattr(v, 'name')
* classobject: made some functions static that accidentally weren't;
added __hash__ special instance method to implement hash()
* Added proper comparison for built-in methods and functions
/external/python/cpython2/Parser/pgen.c
bab9d0385585fcddf6ee96a4ca38dd18e3517f54 05-Apr-1992 Guido van Rossum <guido@python.org> Copyright for 1992 added
/external/python/cpython2/Parser/pgen.c
71f477c797da1f9cfb1fc82b2940d2141981f8c8 03-Apr-1991 Guido van Rossum <guido@python.org> Added forward declarations.
/external/python/cpython2/Parser/pgen.c
f70e43a073b36c6f6e9894c01025243a77a452d4 19-Feb-1991 Guido van Rossum <guido@python.org> Added copyright notice.
/external/python/cpython2/Parser/pgen.c
3f5da24ea304e674a9abbdcffc4d671e32aa70f1 20-Dec-1990 Guido van Rossum <guido@python.org> "Compiling" version
/external/python/cpython2/Parser/pgen.c
85a5fbbdfea617f6cc8fae82c9e8c2b5c424436d 14-Oct-1990 Guido van Rossum <guido@python.org> Initial revision
/external/python/cpython2/Parser/pgen.c