| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(XXX: the debugger doesn't yet use this.)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
it out in a more convenient format than CVS).
|
| |
|
|
|
|
|
|
| |
messages from "OverflowError: integer pow()" to "OverflowError:
integer exponentiation". (Not that this takes care of the complaint
in general that the error messages could be greatly improved. :-)
|
|
|
|
| |
(real intent is to test out rsync install)
|
| |
|
| |
|
|
|
|
| |
* In crlf.py and lfcr.py: regsub -> re
|
|
|
|
|
|
| |
* In logmerge.py: added '-r' flag to show the oldest checkin
first instead of the newest, and getopt.getopt was used
wrong.
|
|
|
|
| |
compiles correctly)
|
|
|
|
| |
(so they are common with other binary ops)
|
|
|
|
|
| |
colorspace name abbreviations, based on email from Gerrit Holl
<gerrit.holl@pobox.com>.
|
|
|
|
|
|
| |
Exec: expr, locals, globals
Dict: items
Assert: test, fail
|
|
|
|
| |
should be calls to BUILD_ ops for these types with no arguments
|
|
|
|
|
|
| |
If we attempt to import a dynamic module in a newer (or older) version
of Python give an error message tailored to the situation (Python too
new/old).
|
|
|
|
|
| |
add StackDepthFinder (and remove push/pop from CodeGen)
add several nodes, including Ellipsis, Bit&|^, Exec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
named OPTIMIZED, which matches compile.c and makes more sense for
classes
revamp call signature for PythonVMCode.__init__; doesn't really matter
'cuz this code is going to be refactored out of existence
add generateClassCode and modify Func & Lambda generation
add support for nodes Classdef, Keyword,
fix CallFunc to generate right op arg when calling w/ keywords
add ugly hack to properly compute offsets when the same stack ref is
used multiple times
|
| |
|
|
|
|
| |
folder and then move it to the Python hierarchy.
|
|
|
|
|
|
|
| |
change resolution of local name ops (LOAD_FAST). i think it makes
sense now. if it is an argument or a local var name that it used, it
must be in varnames. if it is a local var name that is used, it must
also be in names
|
|
|
|
|
|
|
|
| |
'get_msvc_paths()'.
Renamed '_do_SET()' to 'set_path_env_var()', tweaked docstring, and
cosmetically tweaked code.
Stylistic changes to MSVCCompiler constructor (variable renaming
and type consistency).
|
|
|
|
|
|
|
|
|
|
| |
* tweak my docstrings
* fix None returns to empty list
* reshuffle responsibilities between '_find_exe()', '_find_SET()', and
the MSVCCompiler constructor -- now the constructor worries about
fetching the version list and determining the most recent one
* added "/W3" compile option
Also, I added/tweaked some docstrings.
|
|
|
|
|
|
|
| |
Loop object to handle StackRegs
loops stack attr on CodeGenreeator to hold the current loop object
add support for nodes While, Break, Continue
|
| |
|
|
|
|
|
| |
classes, NNTP.__init__() grows a new optional argument to set reader
mode on the server).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NNTPError - derived from Exception, it's the base class for all
other exceptions in this module
NNTPReplyError - what used to be error_reply
NNTPTemporaryError - what used to be error_temp
NNTPPermanentError - what used to be error_perm
NNTPProtocolError - what used to be error_proto
NNTPDataError - what used to be error_data
All the old names are retained for backwards compatibility; they point
to the class that replaces them. Also, any code in this module that
raises an exception, now does so with the exception class.
NNTP.__init__(): Added a new optional argument `readermode', which is
a flag that defaults to false. When set to true, the "mode reader"
command is sent to the NNTP server before user authentication. Reader
mode is sometimes necessary if you are connecting to an NNTP server on
the local machine and intend to call reader-specific comamnds, such as
`group'. If you get unexpected NNTPPermanentErrors, you might need to
set readermode. Patch provided by Thomas Wouters (who include the
standard disclaimer on is patches@python.org submission), and inspired
by Jim Tittsler.
|
|
|
|
|
|
|
|
| |
version only).
Enable -tt for the regression test.
Very similar to Skip's patch.
|
|
|
|
|
|
|
|
|
|
|
| |
FUNCTION_NAMESPACE. initialize in __init__ and reset in
generateFunctionCode.
replace direct issue of STORE_FAST, STORE_GLOBAL, etc. with call to
storeName; same for loadName and deleteName
the new {store,load,delete}Name methods use the namespace attr and the
local variable stack to determine the correct bytecode to issue
|
| |
|
|
|
|
| |
I ran "expand" instead of using Skip's patch, but it's all the same.
|
|
|
|
| |
button (i.e. an empty label hides the button).
|
| |
|
|
|
|
| |
function names, dbetter (hopefully) ocstrings, and comments.
|
| |
|
|
|
|
| |
/export option mini-kludge.
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
| |
to fallback to if the user doesn't set it for those commands.
|
|
|
|
|
|
| |
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!)
|
|
|
|
| |
'-g' flag to compiler/linker command lines when it's true.
|
|
|
|
|
| |
Doc fix: several paragraphs under 'link_static_lib()' moved to
'link_shared_lib()', where they belong.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|