- 10 Şub, 2000 7 kayıt (commit)
-
-
Fred Drake yazdı
-
Greg Ward yazdı
function names, dbetter (hopefully) ocstrings, and comments.
-
Greg Ward yazdı
-
Greg Ward yazdı
/export option mini-kludge.
-
Greg Ward yazdı
* don't need to mention python<ver>.lib -- it's done by a pragma * add debug flags for compile and link, and use them * fix 'link_shared_library()' to pass everything to 'link_shared_object()' * change filename when shared object with debug info (ugh)
-
Jeremy Hylton yazdı
* prints out examples of nodes that are handled by visitor. simply a development convenience remove NestedCodeGenerator -- it was bogus after all replace with generateFunctionCode, a method to call to generate code for a function instead of a top-level module fix impl of visitDiscard (most pop stack) emit lineno for pass handle the following new node types: Import, From, Getattr, Subscript, Slice, AssAttr, AssTuple, Mod, Not, And, Or, List LocalNameFinder: remove names declared as globals for locals PythonVMCode: pass arg names to constructor, force varnames to contain them all (even if they aren't referenced) add -q option on command line to disable stdout
-
Jeremy Hylton yazdı
-
- 09 Şub, 2000 5 kayıt (commit)
-
-
Greg Ward yazdı
-
Greg Ward yazdı
to fallback to if the user doesn't set it for those commands.
-
Greg Ward yazdı
someone who knows Windows/MSVC++ to come along and add the right flags. Comment noting that 'link_static_lib()' signature is inconsistent with the other compiler classes (uh-oh!)
-
Greg Ward yazdı
'-g' flag to compiler/linker command lines when it's true.
-
Greg Ward yazdı
Doc fix: several paragraphs under 'link_static_lib()' moved to 'link_shared_lib()', where they belong.
-
- 08 Şub, 2000 9 kayıt (commit)
-
-
Jeremy Hylton yazdı
VERBOSE setting for the ASTVisitor add getopt handling for one or more -v args rename ForwardRef to StackRef, because it isn't necessarily directional CodeGenerator: * add assertStackEmpty method. prints warning if stack is not empty when it should be * define methods for AssName, UNARY_*, For PythonVMCode: * fix mix up between hasjrel and hasjabs for address calculation
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
language. CodeGenerator: * modify to track stack depth * add emit method that call's PythonVMCode's makeCodeObject * thread filenames through in hackish way * set flags for code objects for modules and functions XXX the docs for the flags seem out of date and/or incomplete PythonVMCode: * add doc string describing the elements of a real code object LineAddrTable: * creates an lnotab (no quite correctly though)
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
add varargs and kwargs attributes to Function nodes
-
Fred Drake yazdı
_init_nt(): Use get_config_h_filename() instead of figuring out the name directly. g['SO'] should be set to '.pyd'. Adjust some minor coding nits.
-
Greg Ward yazdı
harder to find the MSVC compiler (mainly by using the registry).
-
Greg Ward yazdı
-
- 07 Şub, 2000 3 kayıt (commit)
-
-
Fred Drake yazdı
database is closed. Raise gdbm.error instead. Bug report #198 submitted by Barry Haddow <bhaddow@orbism.com>.
-
Fred Drake yazdı
it should raise gdbm.error.
-
Guido van Rossum yazdı
for the other projects, to move the x86 project names back to what they were.
-
- 05 Şub, 2000 4 kayıt (commit)
- 04 Şub, 2000 9 kayıt (commit)
-
-
Fred Drake yazdı
Attached is patch (against 1.5.2 release) to allow some modules to be buildable as pyd's (usual &PyType_Type stuff).
-
Jeremy Hylton yazdı
handle most of the language syntax yet) create NestedCodeGenerator used to generator the separate code object that needs to be passed as an argument to MAKE_FUNCTION when a def stmt is found (probably useful for class too) change CodeGenerator.visitFunction to use the NestedCG add CompiledModule class to handle creation of .pyc (pretty minimal for now) add makeCodeObject method to PythonVMCode that replaces symbolic names with indexes into slots of the code code. the design of this class will probably need to be revised.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
*this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
-
Guido van Rossum yazdı
The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
-
Guido van Rossum yazdı
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.
-
Jeremy Hylton yazdı
compile.py: ASTVisitor framework plus bits of a code generator that should be bug-for-buf compatible with compile.c misc.py: Set and Stack helpers test.py: a bit of simple sample code that compile.py will work on
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
revision number the p2c cvs tree. COPYRIGHT: 1.1 ast.py: 1.3 transformer.py: 1.11
-
- 03 Şub, 2000 3 kayıt (commit)
-
-
Greg Ward yazdı
Announce when we start building each extension (better feedback).
-
Greg Ward yazdı
feedback and, theoretically, the opportunity to set compiler flags on a per-file basis.
-
Guido van Rossum yazdı
before the patch by Trent Mick. Since he now also works for ActiveState, I suppose he overrides Trent. :-)
-