Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use PyErr_NoMemory() instead of rolling our own. | Neal Norwitz | 2005-10-23 |
| | | | | Get rid of "int i" unused warnings from Python-ast.c which we are generating. | ||
* | Remove unnecessary local variable. | Neil Schemenauer | 2005-10-23 |
| | |||
* | Fix check_unoptimized() function. The only optimized namespaces are | Neil Schemenauer | 2005-10-23 |
| | | | | | in function blocks. This elimiates spurious warnings about "import *" and related statements at the class level. | ||
* | Fix private name mangling. The symtable also must do mangles so that | Neil Schemenauer | 2005-10-23 |
| | | | | the scope of names can be correctly determined. | ||
* | Use PyTuple_Pack instead of Py_BuildValue. | Neil Schemenauer | 2005-10-23 |
| | |||
* | Fix arigo's funky LOAD_NAME bug: implicit globals inside classes have | Neil Schemenauer | 2005-10-23 |
| | | | | | historically been looked up using LOAD_NAME, not LOAD_GLOBAL. looked up by LOAD_NAME, not | ||
* | Don't stop generating code for import statements after the first "import as" | Neil Schemenauer | 2005-10-23 |
| | | | | part. Fixes one bug from #1333982. | ||
* | Add an assert. | Neil Schemenauer | 2005-10-23 |
| | |||
* | Use <lamba> as the function name for lambdas (matches old compiler). | Neil Schemenauer | 2005-10-21 |
| | |||
* | Fix a bunch of imports to use code.h instead of compile.h. | Jeremy Hylton | 2005-10-21 |
| | | | | Remove duplicate declarations from compile.h | ||
* | ANSI-C-ify the placement of local var declarations. | Armin Rigo | 2005-10-21 |
| | |||
* | the ast-branch changed the stack discipline of MAKE_CLOSURE, so we need to | Michael W. Hudson | 2005-10-21 |
| | | | | bump MAGIC. | ||
* | Fix SF bug #1167751, Argument genexp corner case | Neal Norwitz | 2005-10-21 |
| | | | | | | | | | | | | | Incorrect code was generated for: foo(a = i for i in range(10)) This should have generated a SyntaxError. Fix the Grammar so it raises a SyntaxError and test it. I'm uncertain whether this should be backported. It makes something that was Syntactically valid invalid. However, the code would either be completely broken or do the wrong thing. | ||
* | Oops, "=" is not a comparison operator | Neal Norwitz | 2005-10-21 |
| | |||
* | Fix some mods that got dropped from the AST merge | Neal Norwitz | 2005-10-21 |
| | |||
* | Merge ast-branch to head | Jeremy Hylton | 2005-10-20 |
| | | | | | | | | | | This change implements a new bytecode compiler, based on a transformation of the parse tree to an abstract syntax defined in Parser/Python.asdl. The compiler implementation is not complete, but it is in stable enough shape to run the entire test suite excepting two disabled tests. | ||
* | Fix SF bug #976608, Unhelpful error message when mtime of a module is -1 | Neal Norwitz | 2005-10-03 |
| | | | | Will backport. | ||
* | SF bug #887946, segfault if redirecting directory | Neal Norwitz | 2005-10-03 |
| | | | | | | | Also provide a warning if a directory is passed on the command line. Add minimal command line test. Will backport. | ||
* | - Fix segfault with invalid coding. | Neal Norwitz | 2005-10-02 |
| | | | | | | | - SF Bug #772896, unknown encoding results in MemoryError, which is not helpful I will only backport the segfault fix. I'll let Anthony decide if he wants the other changes backported. I will do the backport if asked. | ||
* | Forward port bugfix: | Michael W. Hudson | 2005-09-30 |
| | | | | | | [ 1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code) (note that this only happens in a threads-disabled build). | ||
* | Convert iterator __len__() methods to a private API. | Raymond Hettinger | 2005-09-24 |
| | |||
* | clean-up tracing of C functions. In particular, don't call the trace func | Armin Rigo | 2005-09-20 |
| | | | | with an exception currently set! | ||
* | Removed a check "if (args != NULL)" which is always True and makes no sense. | Armin Rigo | 2005-09-20 |
| | |||
* | Don't call memset() before checking that the ptr is not NULL. | Armin Rigo | 2005-09-20 |
| | |||
* | patch [ 1119423 ] python -c readlink()s and stat()s '-c' | Georg Brandl | 2005-09-15 |
| | |||
* | bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault. | Georg Brandl | 2005-09-15 |
| | |||
* | Complete format code support in getargs.c::skipitem(), which is called when | Georg Brandl | 2005-09-14 |
| | | | | evaluating keyword arguments. | ||
* | - Changes donated by Elemental Security to make it work on AIX 5.3 | Guido van Rossum | 2005-09-14 |
| | | | | | with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron). | ||
* | - Changes donated by Elemental Security to make it work on HP-UX 11 on | Guido van Rossum | 2005-09-14 |
| | | | | Itanium2 with HP's 64-bit compiler (SF patch #1225212). | ||
* | Patch #1290454: Fix reload() error message when parent module is not in | Georg Brandl | 2005-09-14 |
| | | | | sys.modules. | ||
* | Whitespace normalization. | Georg Brandl | 2005-08-31 |
| | |||
* | Disallow keyword arguments for type constructors that don't use them. | Georg Brandl | 2005-08-26 |
| | | | | (fixes bug #1119418) | ||
* | Forward UnicodeDecodeError into SyntaxError for source encoding errors. | Martin v. Löwis | 2005-08-24 |
| | | | | Will backport to 2.4. | ||
* | SF bug #1242657: list(obj) can swallow KeyboardInterrupt | Raymond Hettinger | 2005-08-21 |
| | | | | | | Fix over-aggressive PyErr_Clear(). The same code fragment appears in various guises in list.extend(), map(), filter(), zip(), and internally in PySequence_Tuple(). | ||
* | Add a C API for sets and frozensets. | Raymond Hettinger | 2005-08-16 |
| | |||
* | Port from the Python 2.4 branch, patches for SF bug # 900092, | Barry Warsaw | 2005-08-15 |
| | | | | hotshot.stats.load. | ||
* | com_yield_expr(): Squash new compiler wng about unreferenced local. | Tim Peters | 2005-08-03 |
| | |||
* | PEP 342 implementation. Per Guido's comments, the generator throw() | Phillip J. Eby | 2005-08-02 |
| | | | | | method still needs to support string exceptions, and allow None for the third argument. Documentation updates are needed, too. | ||
* | * Improve code for the empty frozenset singleton: | Raymond Hettinger | 2005-08-01 |
| | | | | | | | | | | | - Handle both frozenset() and frozenset([]). - Do not use singleton for frozenset subclasses. - Finalize the singleton. - Add test cases. * Factor-out set_update_internal() from set_update(). Simplifies the code for several internal callers. * Factor constant expressions out of loop in set_merge_internal(). * Minor comment touch-ups. | ||
* | Fix cleanup DECREF logic in builtin_filter function. | Georg Brandl | 2005-07-19 |
| | |||
* | bug 1234979 addition | Georg Brandl | 2005-07-09 |
| | |||
* | bug [ 1234979 ] Lock.acquire treats only 1 as True | Georg Brandl | 2005-07-08 |
| | |||
* | Fix signedness of various char variables to stop causing a warning under gcc 4. | Brett Cannon | 2005-06-25 |
| | |||
* | Add comments about PyThreadState and the usage of its fields. | Brett Cannon | 2005-06-25 |
| | |||
* | Fix bug: | Michael W. Hudson | 2005-06-20 |
| | | | | | | | | [ 1163563 ] Sub threads execute in restricted mode basically by fixing bug 1010677 in a non-broken way. Backport candidate. | ||
* | You can have more than one thread state for a thread if they | Michael W. Hudson | 2005-06-16 |
| | | | | | correspond to different interpreters (I hope, please revert if this is wrong :). | ||
* | Fix bug | Michael W. Hudson | 2005-06-13 |
| | | | | | | | | [ 1180997 ] lax error-checking in new-in-2.4 marshal stuff which I'd assigned to Martin, but actually turned out to be easy to fix. Also, a test. | ||
* | Remove extraneous format character from PyArg_ParseTuple call in | Michael W. Hudson | 2005-06-13 |
| | | | | | | marshal_loads. Bugfix candidate. | ||
* | Fix a couple of crashing-on-malformed data marshal bugs. | Michael W. Hudson | 2005-06-03 |
| | |||
* | This is my patch: | Michael W. Hudson | 2005-06-03 |
| | | | | | | | | | [ 1180995 ] binary formats for marshalling floats Adds 2 new type codes for marshal (binary floats and binary complexes), a new marshal version (2), updates MAGIC and fiddles the de-serializing of code objects to be less likely to clobber the real reason for failing if it fails. |