Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Another variant of the 2-3-5 test, mixing generators with a LazyList class. | Tim Peters | 2001-06-24 | 1 | -0/+37 |
| | | | | | | | Good news: Some of this stuff is pretty sophisticated (read nuts), and I haven't bumped into a bug yet. Bad news: If I run the doctest in an infinite loop, memory is clearly leaking. | ||||
* | Pure brute-force hackery to allow Python to build on Windows again, | Tim Peters | 2001-06-24 | 1 | -0/+12 |
| | | | | | because I need to make progress and don't have time now to think about whatever it is the new code is trying to accomplish. | ||||
* | More tests. | Tim Peters | 2001-06-24 | 1 | -1/+68 |
| | |||||
* | Add a recursive Sieve of Eratosthenes prime generator. Not practical, | Tim Peters | 2001-06-23 | 1 | -1/+39 |
| | | | | but it's a heck of a good generator exerciser (think about it <wink>). | ||||
* | Add all the examples from PEP 255, and a few email examples. | Tim Peters | 2001-06-23 | 1 | -2/+183 |
| | |||||
* | New std test for generators, initially populated with doctests NeilS put | Tim Peters | 2001-06-23 | 1 | -0/+139 |
| | | | | together. | ||||
* | Properly use &&. Closes bug #434988. | Martin v. Löwis | 2001-06-23 | 1 | -2/+2 |
| | |||||
* | Properly use &&. Closes bug #434989. | Martin v. Löwis | 2001-06-23 | 1 | -1/+1 |
| | |||||
* | Patch #401196: Configuration machinery for IPv6. | Martin v. Löwis | 2001-06-23 | 8 | -344/+2197 |
| | | | | | Contributed by Jun-ichiro "itojun" Hagino. get{addr,name}info emulation code taken from WIDE. | ||||
* | Fix typo | Andrew M. Kuchling | 2001-06-23 | 2 | -2/+2 |
| | |||||
* | Correct erroneous description of precmd. | Eric S. Raymond | 2001-06-23 | 1 | -2/+6 |
| | |||||
* | Change the semantics of "return" in generators, as discussed on the | Tim Peters | 2001-06-23 | 2 | -25/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Remove some bogus trailing whitespace. | Fred Drake | 2001-06-23 | 1 | -2/+2 |
| | |||||
* | Fix minor markup nits. | Fred Drake | 2001-06-23 | 2 | -6/+2 |
| | |||||
* | Use a named reference to another chapter instead of hard coding the | Fred Drake | 2001-06-23 | 1 | -2/+2 |
| | | | | | chapter number. This also makes the reference a hyperlink in the HTML version. | ||||
* | gen_iternext(): Don't assume that the current thread state's frame is | Tim Peters | 2001-06-23 | 1 | -2/+2 |
| | | | | | 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. | ||||
* | Fix a very minor (but annoying when looking for things!) markup nit. | Fred Drake | 2001-06-23 | 7 | -0/+43 |
| | |||||
* | PyFrameObject: rename f_stackbottom to f_stacktop, since it points to | Tim Peters | 2001-06-23 | 3 | -10/+14 |
| | | | | | | | | 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. | ||||
* | Add "yeild" to the list of keywords. | Fred Drake | 2001-06-23 | 1 | -2/+18 |
| | | | | Fix a very minor (but annoying when looking for things!) markup nit. | ||||
* | Consistently use semi-colons after the last property for each selector. | Fred Drake | 2001-06-23 | 1 | -26/+26 |
| | |||||
* | Give the pattern used to pick out a source anchor a more specific pattern. | Fred Drake | 2001-06-23 | 1 | -1/+1 |
| | |||||
* | Added several names. | Fred Drake | 2001-06-23 | 1 | -0/+4 |
| | |||||
* | Contributed updates from Harald Hanche-Olsen, giving details of the branch | Fred Drake | 2001-06-23 | 1 | -0/+49 |
| | | | | | cuts for the complex math functions. Includes a brief description of what branch cuts are. | ||||
* | Added support for our new \infinity and \plusminus macros, and the | Fred Drake | 2001-06-23 | 1 | -1/+4 |
| | | | | | | standard \textbar macro (not supported in many versions of LaTeX2HTML). Added newline to error message. | ||||
* | \infinity, | Fred Drake | 2001-06-23 | 1 | -0/+2 |
| | | | | \plusminus: New macros to allow us to avoid math mode for these symbols. | ||||
* | Miscellaneous code cleanups. | Fred Drake | 2001-06-23 | 1 | -4/+10 |
| | | | | | Make sure we do not lose track of the build directory -- convert a user- supplied directory to an absolute path. | ||||
* | Disallow 'yield' in a 'try' block when there's a 'finally' clause. | Tim Peters | 2001-06-23 | 1 | -0/+10 |
| | | | | | Derived from Thomas Wouters's patch on the Iterators list, but doesn't try to read c->c_block[c->c_nblocks]. | ||||
* | Remove an extra tab character. | Fred Drake | 2001-06-22 | 1 | -1/+1 |
| | |||||
* | Re-organize a little, clean up some markup. | Fred Drake | 2001-06-22 | 1 | -52/+73 |
| | | | | | | | Added some comments about sys.exit(), SystemExit, and preventing restricted code from exiting the interpreter. This closes SF bug #434743. | ||||
* | Add sha and _sre to the list of allowed built-in modules. | Fred Drake | 2001-06-22 | 1 | -1/+1 |
| | |||||
* | Corrected an error in the information on supporting weak references in | Fred Drake | 2001-06-22 | 1 | -9/+7 |
| | | | | | | extension types (the docs reflected a development version of the API). This closes SF bug #435066. | ||||
* | Adjust to understand use of either single- or double-quotes to quote | Fred Drake | 2001-06-22 | 1 | -20/+23 |
| | | | | | | 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. | ||||
* | Add the new texinputs/license.tex to the shared dependencies. | Fred Drake | 2001-06-22 | 1 | -0/+1 |
| | |||||
* | This is a trivial command line utility to print MD5 checksums. | Guido van Rossum | 2001-06-22 | 1 | -0/+32 |
| | | | | | | | | | | 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. | ||||
* | Fix & clean up the information about building Python with large file support | Fred Drake | 2001-06-22 | 1 | -4/+3 |
| | | | | | | for Linux. This closes SF bug #434975. | ||||
* | Changed the order of the buttons for EasyDialogs.AskYesNoCancel() from the ↵ | Just van Rossum | 2001-06-22 | 1 | -0/+0 |
| | | | | unusual [cancel, no, yes] to the more standard [no, cancel, yes]. | ||||
* | Record Windows build number for 2.0.1 final. | Tim Peters | 2001-06-22 | 1 | -0/+2 |
| | |||||
* | don't blow up when the charno SyntaxError value is None | Just van Rossum | 2001-06-21 | 1 | -1/+3 |
| | |||||
* | repaired expandselection and uncomment breakage | Just van Rossum | 2001-06-21 | 1 | -4/+5 |
| | |||||
* | Added support for the gc module (!). | Just van Rossum | 2001-06-21 | 1 | -0/+6 |
| | |||||
* | Somehow, under certain circumstances, config.h and rename1.h would pop back up. | Guido van Rossum | 2001-06-21 | 2 | -442/+0 |
| | | | | Try to see if 'cvs delete' fixes this. | ||||
* | Teach the UNPACK_SEQUENCE opcode how to tease an iterable object into | Tim Peters | 2001-06-21 | 3 | -32/+93 |
| | | | | | giving up the goods. NEEDS DOC CHANGES | ||||
* | Try to avoid creating reference cycles involving generators. Only keep a | Neil Schemenauer | 2001-06-21 | 1 | -14/+27 |
| | | | | | | 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. | ||||
* | Got rid of a silly #if. | Jack Jansen | 2001-06-20 | 1 | -1/+1 |
| | |||||
* | Move license information to a less annoying location in the document. | Fred Drake | 2001-06-20 | 1 | -0/+13 |
| | | | | Add documentation for PyErr_SetFromErrnoWithFilename(). | ||||
* | Update to include the license information in a less annoying place. | Fred Drake | 2001-06-20 | 5 | -0/+16 |
| | |||||
* | Separate the copyright statements and license text; include some new | Fred Drake | 2001-06-20 | 2 | -96/+261 |
| | | | | comments regarding the history of Python licensing from Guido. | ||||
* | Separate the version number and release status into two separate values. | Fred Drake | 2001-06-20 | 1 | -1/+2 |
| | |||||
* | Update to use the newly separated values $PACKAGE_VERSION and $RELEASE_INFO. | Fred Drake | 2001-06-20 | 1 | -5/+5 |
| | | | | | Normalize all HTML attributes to be written as name="value" instead of name='value'. | ||||
* | Don't use extern when we mean staticforward (OSX gcc is picky about it). | Jack Jansen | 2001-06-20 | 3 | -24/+5 |
| | | | | Blacklist SendControlMessage: it's signature has changed between Universal Headers 3.3 and 3.4. |