Neal Norwitz
|
4737b2348b
|
Last batch of ref leaks in new AST code.
Also converted a bunch of assert(0) to SystemError's.
There are still printfs, etc that need to be cleaned up.
|
2005-11-19 23:58:29 +00:00 |
|
Nick Coghlan
|
944d3eb154
|
Correctly handle identifiers for anonymous scopes and align genexpr name with symtable.c
|
2005-11-16 12:46:55 +00:00 |
|
Nick Coghlan
|
99b2533539
|
Bring handling of genexpr in line with other anonymous scope names
|
2005-11-16 12:45:24 +00:00 |
|
Neal Norwitz
|
a3fd07d524
|
add more doc
|
2005-11-16 05:49:04 +00:00 |
|
Neal Norwitz
|
ef78529e86
|
version was not initialized properly
|
2005-11-16 05:04:51 +00:00 |
|
Neal Norwitz
|
6b34789046
|
Fix another memory leak or two (one real, one potential)
|
2005-11-15 07:17:53 +00:00 |
|
Neal Norwitz
|
af8f974967
|
Add a note about how to do the memory deallocation a bit.
This needs a lot of work.
|
2005-11-15 05:09:44 +00:00 |
|
Neal Norwitz
|
e76adcd78a
|
Fix a whole bunch of potential memory leaks (and some real ones too)
in error conditions.
|
2005-11-15 05:04:31 +00:00 |
|
Neal Norwitz
|
79792651c4
|
Convert all internal errors from Exception to SystemError
Remove an abort() and let a SystemError be raised.
|
2005-11-14 04:25:03 +00:00 |
|
Neal Norwitz
|
daae6161b5
|
Use convenience function
|
2005-11-14 00:47:57 +00:00 |
|
Neal Norwitz
|
e8c0536d57
|
Fix memory leak with bad generator expression
|
2005-11-14 00:18:03 +00:00 |
|
Neal Norwitz
|
7b3d5e1779
|
remove useless debug print helper. fix a couple of exceptions
|
2005-11-13 21:17:28 +00:00 |
|
Neal Norwitz
|
7b5a604d24
|
Whoops, checkin consistent versions of *all* files to stop polluting
a bunch of names
|
2005-11-13 19:14:20 +00:00 |
|
Neal Norwitz
|
b6fc9df8fc
|
Fix a lot of memory and ref leaks in error paths.
(Call symtable_exit_block or compiler_exit_scope as appropriate)
Use PyMem_Free on c_future since it was allocated with PyMem_Malloc
|
2005-11-13 18:50:34 +00:00 |
|
Neal Norwitz
|
6576bd844f
|
Prevent name pollution by making lots of internal functions static.
|
2005-11-13 18:41:28 +00:00 |
|
Neal Norwitz
|
2744c6cc35
|
make internal method static
|
2005-11-13 01:08:38 +00:00 |
|
Neal Norwitz
|
67715f0420
|
- SF Bug #1350188, "setdlopenflags" leads to crash upon "import"
It was possible dlerror() returns a NULL pointer, use a default error
message in this case.
|
2005-11-09 06:59:35 +00:00 |
|
Martin v. Löwis
|
ab0f947a21
|
Remove .cvsignore files, as they live in svn:ignore
properties now.
|
2005-10-30 22:01:41 +00:00 |
|
Neil Schemenauer
|
982e8d671c
|
Refactor code for translating "power" nodes.
|
2005-10-25 09:16:05 +00:00 |
|
Neil Schemenauer
|
c5dd10aa1d
|
Write a separate ast_for_testlist_gexp() function instead of overloading
ast_for_testlist(). Also, write a ast_for_class_bases() function and in
the process fix a memory leak. Add some assertions.
|
2005-10-25 07:54:54 +00:00 |
|
Neil Schemenauer
|
c396d9edd6
|
Ensure that compiler_exit_scope() is called as necessary to free memory
allocated by compiler_enter_scope(). Change return type for
compiler_exit_scope() to be void.
|
2005-10-25 06:30:14 +00:00 |
|
Neal Norwitz
|
62c2fac9a0
|
Do not pollute name block_ty, prefix with _Py_
|
2005-10-24 00:30:44 +00:00 |
|
Neal Norwitz
|
f1d50684c6
|
Fix problem handling EXTENDED_ARGs from SF bug # 1333982
|
2005-10-23 23:00:41 +00:00 |
|
Neal Norwitz
|
7d37f2ff40
|
cleanup a bit and reuse instrsize (instruction size). working towards fixing problems with EXTENDED_ARG
|
2005-10-23 22:40:47 +00:00 |
|
Neal Norwitz
|
12ebfd79f8
|
Use PyErr_NoMemory() instead of rolling our own.
Get rid of "int i" unused warnings from Python-ast.c which we are generating.
|
2005-10-23 19:22:48 +00:00 |
|