summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Typo for Mac code, fixing SF bug 12195.Guido van Rossum2000-11-131-1/+1
|
* Allow new.function() called with explicit 3rd arg of None, asGuido van Rossum2000-11-131-1/+6
| | | | | | documented, and as is reasonable (since it is optional, but there's another argument following it that may require you to specify a value). This solves SF bug 121887.
* Added _HAVE_BSDI and __APPLE__ to the list of platforms that require aGuido van Rossum2000-11-131-1/+1
| | | | | hack for TELL64()... Sounds like there's something else going on really. Does anybody have a clue I can buy?
* Fix syntax error. Submitted by Bill Bumgarner. Apparently this isGuido van Rossum2000-11-131-1/+1
| | | | still in use, for Apple Mac OSX.
* Rip out DOS and Win16 support.Guido van Rossum2000-11-131-103/+1
|
* Rip out DOS-8x3 support.Guido van Rossum2000-11-131-17/+2
|
* Rip out Win3.1 and DOS supportGuido van Rossum2000-11-1327-8352/+10
|
* Removing DOS 8x3 supportGuido van Rossum2000-11-13113-18934/+0
|
* Jack Jansen: added 'get_command_list()' method, and Mac-specific code toGreg Ward2000-11-111-0/+38
| | | | | use it to generate a dialog for users to specify the command-line (because providing a command-line with MacPython is so awkward).
* No reason to keep "Run as Python" in binhex form anymore, just put the ↵Jack Jansen2000-11-101-0/+1
| | | | binary in the repository.
* Fix for SF bug 117402, crashes on str(array) and repr(array). This was anTim Peters2000-11-101-3/+5
| | | | | unfortunate consequence of somebody switching from PyArg_Parse to PyArg_ParseTuple but without changing the argument from a NULL to a tuple.
* Committing autoconf output forGuido van Rossum2000-11-091-111/+71
| | | | Fred.
* Implement the suggestion of bug_id=122070: surround tell() call withGuido van Rossum2000-11-091-1/+5
| | | | try/except.
* SMTP.connect(): If the socket.connect() raises a socket.error, be sureBarry Warsaw2000-11-081-1/+5
| | | | | to call self.close() to reclaim some file descriptors, the reraise the exception. Closes SF patch #102185 and SF bug #119833.
* Remove AC_C_INLINE test from configure.in, since the only place the symbolFred Drake2000-11-082-4/+0
| | | | | | | occurs in the Python sources appears to be as text in comments. We do not want to interfere with C++ keywords! This closes bug #119851.
* Added test cases to detect regression on SourceForge bug #121965.Fred Drake2000-11-081-0/+14
|
* Fixed support for containment test when a negative step is used; thisFred Drake2000-11-081-8/+34
| | | | | | | *really* closes bug #121965. Added three attributes to the xrange object: start, stop, and step. These are the same as for the slice objects.
* In the containment test, get the boundary condition right. ">" was usedFred Drake2000-11-081-2/+2
| | | | | | where ">=" should have been. This closes bug #121965.
* Add 1994 Coroutine module by Tim PetersGuido van Rossum2000-11-084-0/+332
|
* Last CW Pro 5.3 projects.Jack Jansen2000-11-071-0/+0
|
* More names...Fred Drake2000-11-071-0/+2
|
* Fix for SF bug #117606:Greg Ward2000-11-072-9/+9
| | | | | | | - when compiling with GCC on Solaris, use "$(CC) -shared" instead of "$(CC) -G" to generate .so files - when compiling with GCC on any platform, add "-fPIC" to OPT (without this, "$(CC) -shared" dies horribly)
* Patch #102278: add tparm() function to _curses moduleAndrew M. Kuchling2000-11-072-4/+62
|
* Document the proper exception to be raised by I/O operations on closedFred Drake2000-11-061-15/+19
| | | | | | files; error reported by Ng Pheng Siong <ngps@post1.com>. Make sure that various special object attributes are properly indexed.
* This fixes several bug reports concering memory bloating during largeBarry Warsaw2000-11-061-5/+1
| | | | | | | | | | | | | | | | | | | file uploads. In response to SF bugs 110674 and 119806, and discussions on python-dev, we are removing the self.lines attribute from the FieldStorage class. Specifically touched where methods __init__(), read_lines_to_eof(), and skip_lines(). No one can remember why self.lines was added. Technically, it's part of the public interface for the class, but it was never documented. It's possible clever or nosy code will break because of this, but it was decided to remove it and see who complains. This resolution also closes the second half of the cgi.py entry in PEP 42. The first half of that PEP concerns specifically binary file uploads, where there may be no end-of-line marker for a very long time. This patch does not address that issue.
* a few small optimizations that seem to give a 5-10% speedup; theJeremy Hylton2000-11-062-152/+160
| | | | further optimization of com_node makes the most difference.
* move pruneNext method to correct object (doh!)Jeremy Hylton2000-11-062-48/+48
|
* Change the graph structure to contain the code generator object forJeremy Hylton2000-11-066-42/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | embedded code objects (e.g. functions) rather than the generated code object. This change means that the compiler generates code for everything at the end, rather then generating code for each function as it finds it. Implementation note: _convert_LOAD_CONST in pyassem.py must be change to call getCode(). Other changes follow. Several changes creates extra edges between basic blocks to reflect control flow for loops and exceptions. These missing edges had gone unnoticed because they do not affect the current compilation process. pyassem.py: Add _enable_debug() and _disable_debug() methods that print instructions and blocks to stdout as they are generated. Add edges between blocks for instructions like SETUP_LOOP, FOR_LOOP, etc. Add pruneNext to get rid of bogus edges remaining after unconditional transfer ops (e.g. JUMP_FORWARD) Change repr of Block to omit block length. pycodegen.py: Make sure a new block is started after FOR_LOOP, etc. Change assert implementation to use RAISE_VARARGS 1 when there is no user-specified failure output. misc.py: Implement __contains__ and copy for Set.
* If a function contains a doc string, remove the doc string node fromJeremy Hylton2000-11-062-2/+10
| | | | | | | the function's body. If assert is used without an error message, make the AST node None rather than Name('None').
* Application of [ Patch #102226 ] freeze/modulefinder.py should use _winreg, ↵Mark Hammond2000-11-061-15/+6
| | | | not win32api
* Added 38,642 missing characters to the Unicode database (first-lastFredrik Lundh2000-11-034-196/+241
| | | | | | | ranges) -- but thanks to the 2.0 compression scheme, this doesn't add a single byte to the resulting binaries (!) Closes bug #117524
* Fix Makefile so at least it uses Python 2.0, and compiles out of theGuido van Rossum2000-11-031-2/+2
| | | | box on Linux.
* Move our own getopt() implementation to _PyOS_GetOpt(), and use itThomas Wouters2000-11-037-130/+73
| | | | | | | | | regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it.
* Make sure we clean up the index data each time it is written by LaTeX.Fred Drake2000-11-031-1/+4
|
* Fix cut & paste error that describes three paramters when there are onlyFred Drake2000-11-021-4/+3
| | | | | | | two [bug #119729]. Update use of distutils.sysconfig that "broke" when Greg W. changed the API [bug #119645].
* New configure script from latest configure.in with autoconf 2.13Guido van Rossum2000-11-021-1/+4
|
* Make sure the Modules/ directory is created before writing Modules/Setup.Fred Drake2000-11-021-0/+3
|
* Patch from Randall Hopper to fix PR #116172, "curses module fails toAndrew M. Kuchling2000-11-011-4/+38
| | | | | | | build on SGI": * Check for 'sgi' preprocessor symbol, not '__sgi__' * Surround individual character macros with #ifdef's, instead of making them all rely on STRICT_SYSV_CURSES
* Typo: writeable --> writableFred Drake2000-11-011-2/+2
| | | | Reported by Erno Kuusela <erno@iki.fi>.
* Hack ndiff to display lines w/ leading tabs more intuitively. This synchsTim Peters2000-11-011-9/+24
| | | | ndiff w/ a custom version I made for Guido during the pre-2.0 freeze.
* track recent change to test_extcall.pyJeremy Hylton2000-10-301-0/+4
|
* Hack to force -lpthread instead instead of -lcma on HPUX, by PhilippGuido van Rossum2000-10-302-433/+461
| | | | | Jocham. Philipp asks: "Are there any success stories with HP-UX 11.00 and -lcma? Maybe libcma is broken."
* Fix for SF bug #117241Jeremy Hylton2000-10-302-1/+33
| | | | | | | | | When a method is called with no regular arguments and * args, defer the first arg is subclass check until after the * args have been expanded. N.B. The CALL_FUNCTION implementation is getting really hairy; should review it to see if it can be simplified.
* define_module(): Change the "index sub-item" for definitions at moduleFred Drake2000-10-301-1/+1
| | | | | | | scope to be " (in module <name>)" instead of " (in <name>)" to be consistent with \withsubitem usage throughout the documentation. This achieves consistency in indexing throughout the documentation.
* Fix \withsubitem so that it actually works if the only indexing macro inFred Drake2000-10-301-10/+5
| | | | | | | | | the content body is the \ttindex macro, which seems to match actual usage. Adjust \funcline to restore the "index sub-item" for functions to be " (in module <name>)" instead of " (in <name>)". This is need to match uses of \withsubitem throughout the documentation. (Not ideal, but gets achieves consistency.)
* Revise the message to be a little nicer.Fred Drake2000-10-291-3/+6
| | | | Have the mail sent to the python-dev and Doc-SIG lists.
* Avoid using \withsubitem and \ttindex internally; they have not provenFred Drake2000-10-291-20/+26
| | | | | | to be very robust. Using \index directly fixes a lot of entries in the index that had to be specifically read to determine that they had the wrong parenthesized description.
* Many small markup revisions to be more consistent with markup elsewhere,Fred Drake2000-10-291-47/+61
| | | | | | | | and to provide more consistent indexing. Added an index entry. Added documentation for the error and XMLParserType objects.
* ParserCreate(): Added test that the namespace_separator value, if given,Fred Drake2000-10-291-0/+9
| | | | | | | has the required length. initpyexpat(): Provide the type object for the ParserCreate() return value as XMLParserType.
* Do not echo the echo command with the message telling the user that SetupFred Drake2000-10-291-1/+1
| | | | may be out of date.