- 11 Feb, 2000 5 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
folder and then move it to the Python hierarchy.
-
Jeremy Hylton authored
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
-
Greg Ward authored
'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).
-
Greg Ward authored
* 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.
-
- 10 Feb, 2000 16 commits
-
-
Jeremy Hylton authored
Loop object to handle StackRegs loops stack attr on CodeGenreeator to hold the current loop object add support for nodes While, Break, Continue
-
Jeremy Hylton authored
-
Barry Warsaw authored
classes, NNTP.__init__() grows a new optional argument to set reader mode on the server).
-
Barry Warsaw authored
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.
-
Fred Drake authored
version only). Enable -tt for the regression test. Very similar to Skip's patch.
-
Jeremy Hylton authored
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
-
Fred Drake authored
-
Fred Drake authored
I ran "expand" instead of using Skip's patch, but it's all the same.
-
Jack Jansen authored
button (i.e. an empty label hides the button).
-
Fred Drake authored
-
Greg Ward authored
function names, dbetter (hopefully) ocstrings, and comments.
-
Greg Ward authored
-
Greg Ward authored
/export option mini-kludge.
-
Greg Ward authored
* 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 authored
* 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 authored
-
- 09 Feb, 2000 5 commits
-
-
Greg Ward authored
-
Greg Ward authored
to fallback to if the user doesn't set it for those commands.
-
Greg Ward authored
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 authored
'-g' flag to compiler/linker command lines when it's true.
-
Greg Ward authored
Doc fix: several paragraphs under 'link_static_lib()' moved to 'link_shared_lib()', where they belong.
-
- 08 Feb, 2000 9 commits
-
-
Jeremy Hylton authored
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 authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
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 authored
-
Jeremy Hylton authored
add varargs and kwargs attributes to Function nodes
-
Fred Drake authored
_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 authored
harder to find the MSVC compiler (mainly by using the registry).
-
Greg Ward authored
-
- 07 Feb, 2000 3 commits
-
-
Fred Drake authored
database is closed. Raise gdbm.error instead. Bug report #198 submitted by Barry Haddow <bhaddow@orbism.com>.
-
Fred Drake authored
it should raise gdbm.error.
-
Guido van Rossum authored
for the other projects, to move the x86 project names back to what they were.
-
- 05 Feb, 2000 2 commits