- 23 Jun, 2001 24 commits
-
-
Tim Peters authored
but it's a heck of a good generator exerciser (think about it <wink>).
-
Tim Peters authored
-
Tim Peters authored
together.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Contributed by Jun-ichiro "itojun" Hagino. get{addr,name}info emulation code taken from WIDE.
-
Andrew M. Kuchling authored
-
Eric S. Raymond authored
-
Tim Peters authored
Iterators list and Python-Dev; e.g., these all pass now: def g1(): try: return except: yield 1 assert list(g1()) == [] def g2(): try: return finally: yield 1 assert list(g2()) == [1] def g3(): for i in range(3): yield None yield None assert list(g3()) == [None] * 4 compile.c: compile_funcdef and com_return_stmt: Just van Rossum's patch to compile the same code for "return" regardless of function type (this goes back to the previous scheme of returning Py_None). ceval.c: gen_iternext: take a return (but not a yield) of Py_None as meaning the generator is exhausted.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
chapter number. This also makes the reference a hyperlink in the HTML version.
-
Tim Peters authored
not NULL. I don't think it can be NULL from Python code, but if using generators via the C API I expect a NULL frame is possible.
-
Fred Drake authored
-
Tim Peters authored
the next free valuestack slot, not to the base (in America, stacks push and pop at the top -- they mutate at the bottom in Australia <winK>). eval_frame(): assert that f_stacktop isn't NULL upon entry. frame_delloc(): avoid ordered pointer comparisons involving f_stacktop when f_stacktop is NULL.
-
Fred Drake authored
Fix a very minor (but annoying when looking for things!) markup nit.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
cuts for the complex math functions. Includes a brief description of what branch cuts are.
-
Fred Drake authored
standard \textbar macro (not supported in many versions of LaTeX2HTML). Added newline to error message.
-
Fred Drake authored
\plusminus: New macros to allow us to avoid math mode for these symbols.
-
Fred Drake authored
Make sure we do not lose track of the build directory -- convert a user- supplied directory to an absolute path.
-
Tim Peters authored
Derived from Thomas Wouters's patch on the Iterators list, but doesn't try to read c->c_block[c->c_nblocks].
-
- 22 Jun, 2001 10 commits
-
-
Fred Drake authored
-
Fred Drake authored
Added some comments about sys.exit(), SystemExit, and preventing restricted code from exiting the interpreter. This closes SF bug #434743.
-
Fred Drake authored
-
Fred Drake authored
extension types (the docs reflected a development version of the API). This closes SF bug #435066.
-
Fred Drake authored
attribute values, and make the logic surrounding the platform annotations just a little easier to read. Also make the platform notes appear in the generated page; they were supposed to, but did not.
-
Fred Drake authored
-
Guido van Rossum authored
I published it on the web as http://www.python.org/2.1/md5sum.py so I thought I might as well check it in. Works with Python 1.5.2 and later. Works like the Linux tool ``mdfsum file ...'' except it doesn't take any options or read stdin.
-
Fred Drake authored
for Linux. This closes SF bug #434975.
-
Just van Rossum authored
Changed the order of the buttons for EasyDialogs.AskYesNoCancel() from the unusual [cancel, no, yes] to the more standard [no, cancel, yes].
-
Tim Peters authored
-
- 21 Jun, 2001 6 commits
-
-
Just van Rossum authored
-
Just van Rossum authored
-
Just van Rossum authored
-
Guido van Rossum authored
Try to see if 'cvs delete' fixes this.
-
Tim Peters authored
giving up the goods. NEEDS DOC CHANGES
-
Neil Schemenauer authored
reference to f_back when its really needed. Do a little whitespace normalization as well. This whole file is a big war between tabs and spaces but now is probably not the time to reindent everything.
-