- 13 Apr, 2001 31 commits
-
-
Guido van Rossum authored
-
Jeremy Hylton authored
now raises NameError instead of UnboundLocalError, because the var in question is definitely not local. (This affects test_scope.py) Also update the recent fix by Ping using get_func_name(). Replace tests of get_func_name() return value with call to get_func_desc() to match all the other uses.
-
Fred Drake authored
-
Fred Drake authored
Wrap some long lines and fix some markup nits.
-
Guido van Rossum authored
Calling an unbound method on a C extension class without providing an instance can yield a segfault. Try "Exception.__init__()" or "ValueError.__init__()". This is a simple fix. The error-reporting bits in call_method mistakenly treat the misleadingly-named variable "func" as a function, when in fact it is a method. If we let get_func_name take care of the work, all is fine.
-
Ka-Ping Yee authored
-
Guido van Rossum authored
-
Guido van Rossum authored
- Removed the subsection numbering in section B (each time a new license is inserted in the front, the others have to be renumbered). - Changed the words in the intro to avoid implying that 1.6.1 is GPL-compatible.
-
Ka-Ping Yee authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Fixes SF bug #405427. If an http response has a bogus return code, e.g. 400.100, raise BadStatusLine.
-
Jeremy Hylton authored
-
Fred Drake authored
-
Jeremy Hylton authored
-
Fred Drake authored
Turn reference to the cmd module into a hyperlink.
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
Tools/idle/idlelib link doesn't cause an infinite loop -- aack!)
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
(such as the exceptions in _weakref and _locale!)
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
Restore Helper.__repr__ for now.
-
Ka-Ping Yee authored
Make synopsis() load modules as '__temp__' so they don't clobber anything. Change "constants" section to "data" section. Don't show __builtins__ or __doc__ in "data" section. For Bob Weiner: don't boldface text in Emacs shells or dumb terminals. Remove Helper.__repr__ (it really belongs in site.py, and should be guarded by a check for len(inspect.stack) <= 2).
-
Ka-Ping Yee authored
Make getmodule() on a module return the module itself.
-
Martin v. Löwis authored
fixes bug #414940, and redoes the fix for #129417 in a different way. It also fixes a number of other problems with locale-specific formatting: If there is leading or trailing spaces, then no grouping should be applied in the spaces, and the total length of the string should not be changed due to grouping. Also added test case which works only if the en_US locale is available.
-
Tim Peters authored
-
Fred Drake authored
this version avoids having to build a separate authenticated connection to push the update-docs.sh script to SF.
-
Fred Drake authored
-
Fred Drake authored
something out of this documentation release as well. ;-)
-
Guido van Rossum authored
-
Eric S. Raymond authored
-
- 12 Apr, 2001 9 commits
-
-
Fred Drake authored
value for the 'using' parameter of the get() function or the BROWSER environment variable, if the thing passed in is a path (as seems to be the case with KDE) instead of a short name, examine the available controllers to see if we can synthesize one based on a pre-registered controller that shares the same base name. get(): If the user specifies a browser we don't know about, use _synthesize() to attempt to create a usable controller. Some small adjustments were needed in some of the browser classes to support this.
-
Jeremy Hylton authored
Otherwise, continue/break will attempt to affect the wrong loop. A few more fiddles to get the SET_LINENOs consistent across compilers.
-
Jeremy Hylton authored
Always emit a SET_LINENO 0 at the beginning of the module. The builtin compiler does this, and it's much easier to compare bytecode generated by the two compilers if they both do. Move the SET_LINENO inside the FOR_LOOP block for list comprehensions. Also for compat. with builtin compiler.
-
Guido van Rossum authored
CNRI copyright should be updated to include 2001.
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
Fix handling of unbound top-level methods.
-
Fred Drake authored
basic authentication is needed. Added documentation for FancyURLopener.prompt_user_passwd(), explaining that subclasses should provide more appropriate behavior for the hosting environment.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Fix annoying bugs in flow graph layout code. In some cases the implicit control transfers weren't honored. In other cases, JUMP_FORWARD instructions jumped backwards. Remove unused arg from nextBlock(). pycodegen.py Add optional force kwarg to set_lineno() that will emit a SET_LINENO even if it is the same as the previous lineno. Use explicit LOAD_FAST and STORE_FAST to access list comp implicit variables. (The symbol table doesn't know about them.)
-