summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* On Windows, tempnam() is spelled with a leading underscore.Fred Drake2001-07-171-0/+4
|
* Define the constants needed to allow the os.tempnam(), os.tmpfile(), andFred Drake2001-07-171-0/+3
| | | | | | os.tmpnam() functions to be made available. This is part of SF patch #435492.
* A new attempt at rationalizing the "history of the software" section,Guido van Rossum2001-07-171-45/+60
| | | | | | with a table clarifying which releases are GPL-compatible. Also unified the headings for the various licenses.
* Adding what's done of the documentation for the new profiling &Fred Drake2001-07-171-0/+53
| | | | | tracing interface. Incomplete, but better to check it in since I've been including it in my updates.
* Use the "st" versions of the "ast" calls in the parser module -- there isFred Drake2001-07-171-2/+2
| | | | no reason to pretend the syntax trees we're dealing with are abstract.
* The syntax trees handled by this module are not "abstract," so take theFred Drake2001-07-171-132/+136
| | | | | "A" out of the internal abbreviations. For published functions with "ast" in their names, make alternate offerings using just "st".
* Typo repair.Tim Peters2001-07-171-1/+1
|
* Remove code to initialize globals that are never used.Fred Drake2001-07-171-22/+11
| | | | | | Add some casts to quiet warnings from an unspecified non-GCC compiler. This closes SF patch #436258.
* Delete sentence fragment (noted by Fred Bremmer)Andrew M. Kuchling2001-07-171-5/+5
|
* - Add news about generators.Guido van Rossum2001-07-171-1/+15
| | | | | - Change header to 2.2a1. - Add separator between 2.2 and 2.1 news.
* Bump the release number.Fred Drake2001-07-171-65/+62
| | | | | | | | Make the syntax of compound command lines more portable (nmake, CygWin). These changes are an adaptation of SF patch #429611. Use the new tools/rewrite.py instead of grep/date/sed to transform html/index.html.in into html/index.html; this is required for portability.
* Add a really stupid warning about 'yield' used as an identifier.Guido van Rossum2001-07-171-0/+12
| | | | | | | | | | | | | | | This is really stupid because it cannot be suppressed or altered using the warning framework; that's because the warning framework is built on Python interpreter internals, and the parser generator doesn't have access to any of those (you cannot use anything of type PyObject * in the parser). But it's better than nothing, and implementing a proper check for this appears to require modifying compile.c in a dozen places, for which I don't have the stamina today. I promise we'll do better in 2.2a2. At least it tells you the filename and line number (unlike the first hack I considered :-).
* Make the syntax for compound command lines more portable (nmake, CygWin).Fred Drake2001-07-171-8/+8
| | | | | | This is probably not sufficient by itself for the info generation, and is being done mostly to keep the style consistent with additional patches that will be applied to Doc/Makefile.
* Script to re-write @FOO@-style marks with values, initializing theFred Drake2001-07-171-0/+55
| | | | | | | | | | | | replacement for @DATE@ from a TeX file containing a \date{...} mark (such as texinputs/boilerplate.tex). This will be used to re-write the html/index.html.in file instead of a combination of grep, date, and sed -- this is more portable to non-Unix platforms. This solves part of the problem reported in SF patch #429611, but does not use the suggested patch.
* Update the release information.Fred Drake2001-07-171-1/+1
|
* Deleting zombiesGuido van Rossum2001-07-1722-2716/+0
|
* Now we're picking nits: get my name right! ;-)Fred Drake2001-07-171-1/+1
|
* Add FLD to credit listAndrew M. Kuchling2001-07-171-2/+3
| | | | Correct grammatical error
* Job.__init__(): Only create the builddir directory if it will be used (byFred Drake2001-07-171-6/+7
| | | | | | | | building the HTML or text documentation). There is no need to create it for other formats. Job.build_html(): The builddir parameter is always passed in, so it need not be optional.
* Deleting merge zombie.Guido van Rossum2001-07-171-480/+0
|
* Cleaned up a number of minor nits, use markup a little more consistently.Fred Drake2001-07-171-16/+25
|
* Minor rewrites to iterator and generator sectionsAndrew M. Kuchling2001-07-171-63/+75
| | | | | Credit both Neil and Tim for generators Fix indentation of a few paragraphs
* Fix a couple of minor markup nits.Fred Drake2001-07-171-5/+5
| | | | | Footnotes should be added *after* punctuation, not before. (Yes, this should be merged with the descr branch. Sorry, Tim!)
* INSTALLATION: Remove the coexist.patch instructionsKurt B. Kaiser2001-07-172-21/+10
| | | | | | | | **************** setup.py: Remove the idles script, add some words on IDLE Fork to the long_description, and clean up some line spacing.
* Put this in the attic, at least for now...Kurt B. Kaiser2001-07-171-186/+0
|
* Implement idle command interface as suggested by GvR [idle-dev] 16 JulyKurt B. Kaiser2001-07-173-38/+26
| | | | | | | | | | | | | | | | | | | | | | | | | **************** PyShell: Added functionality: usage: idle.py [-c command] [-d] [-i] [-r script] [-s] [-t title] [arg] ... idle file(s) (without options) edit the file(s) -c cmd run the command in a shell -d enable the debugger -i open an interactive shell -i file(s) open a shell and also an editor window for each file -r script run a file as a script in a shell -s run $IDLESTARTUP or $PYTHONSTARTUP before anything else -t title set title of shell window Remaining arguments are applied to the command (-c) or script (-r). ****************** idles: Removed the idles script, not needed ****************** idle: Removed the IdleConf references, not required anymore
* Prepare Windows installer for 2.2a1.Tim Peters2001-07-173-4/+7
|
* Added tests for the new yield support in the parser module.Fred Drake2001-07-171-1/+132
| | | | (Should be merged with descr branch.)
* Add support for yield statements.Fred Drake2001-07-171-1/+17
| | | | (Should be merged with descr branch.)
* Typo in the classic mlte build line.Jack Jansen2001-07-161-1/+1
|
* The TNXDraw gworld argument is optional.Jack Jansen2001-07-163-2/+35
|
* It now works under Carbon. Under Classic the scrollbars don't showJack Jansen2001-07-161-104/+15
| | | | up, for reasons unknown.
* This has never worked on Windows. Now it does. If it breaks on Unix now,Tim Peters2001-07-161-1/+7
| | | | great, it's your turn to watch it fail for months <0.9 wink>.
* Updated the documentation in several respects:Barry Warsaw2001-07-161-14/+46
| | | | | | | | | | | - This module, despite its name, now should conform to RFC 2822, the update to RFC 822. - This module doesn't just represent "email headers", but entire email messages. - Added documentation for other useful public functions such as quote(), unquote(), praseaddr(), and dump_address_pair().
* test_basic(): Add a test for "person@dom.ain (User J. Person)" whichBarry Warsaw2001-07-161-0/+12
| | | | | | | | was already correctly parsed (contrary to a comment in Mailman). test_rfc2822_phrases(): RFC 2822 now requires that we allow `.' in phrases, which means we must accept dots in unquoted realname parts. Add a test to check the change in rfc822.py 1.58.
* Stoopid change, just to mention that the last checkin resolves SF bugBarry Warsaw2001-07-161-1/+1
| | | | #437395
* Fix address parsing to be RFC 2822 conformant. Specifically, dots areBarry Warsaw2001-07-161-105/+123
| | | | | | | | | | | | | | | | | | | | | | | | now allowed in unquoted RealName areas (technically, they are defined as "obsolete syntax" we MUST accept in phrases, as part of the obs-phrase production). Thus, parsing To: User J. Person <person@dom.ain> correctly returns "User J. Person" as the RealName. AddrlistClass.__init__(): Add definition of self.phraseends which is just self.atomends with `.' removed. getatom(): Add an optional argument `atomends' which, if None (the default) means use self.atomends. getphraselist(): Pass self.phraseends to getatom() and break out of the loop only when the current character is in phraseends instead of atomends. This allows dots to continue to serve as atom delimiters in all contexts except phrases. Also, loads of docstring updates to document RFC 2822 conformance (sorry, this should have been two separate patches).
* File handlers don't work on the mac, so don't pretend they do. I guess this ↵Jack Jansen2001-07-161-1/+2
| | | | is a 2.1.1 candidate, if it isn't too late for that.
* Add a unit test for sgmllib (needs work, but has already caught problems).Fred Drake2001-07-161-0/+243
| | | | Based on the test for the HTMLParser module.
* Give more useful information about a failing PyUnit-style test.Fred Drake2001-07-161-2/+11
|
* Remove a duplicate test.Fred Drake2001-07-161-1/+0
|
* Document doctest's generator-future hack.Tim Peters2001-07-161-0/+7
|
* In CDATA mode, make sure entity-reference syntax is not interpreted;Fred Drake2001-07-161-8/+26
| | | | | | | entity references are not allowed in that mode. Do a better job of scanning <!DOCTYPE ...> declarations; based on the code in HTMLParser.py.
* jcompile(): inherit the CO_GENERATOR_ALLOWED flag from the 'base'Guido van Rossum2001-07-161-0/+1
| | | | compiling struct.
* PyRun_StringFlags(): forgot to pass the flags on toGuido van Rossum2001-07-161-1/+4
| | | | | PyParser_SimpleParseString(). Now calls PyParser_SimpleParseStringFlags() with the correct flag.
* Fix SF #441664: Python crash on del of a slice of a mmapThomas Wouters2001-07-161-0/+10
| | | | | | Check for slice/item deletion, which calls slice/item assignment with a NULL value, and raise a TypeError instead of coredumping. Bugreport and suggested fix by Alex Martelli.
* Revise the description of time.clock() so that it correctly describes theFred Drake2001-07-161-5/+11
| | | | | | Windows version of the function as well as the Unix flavor. This fixes SF bug #441357.
* Fix a mismatched parenthesis in the last patch.Guido van Rossum2001-07-161-1/+1
|
* Use \longprogramopt, as suggested by FLDAndrew M. Kuchling2001-07-161-2/+2
|
* [Bug #441527] Fixes for preprocessor support, contributed by TarnAndrew M. Kuchling2001-07-161-4/+5
| | | | Weisner Burton