summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* include <string.h> to get prototype for strcmpJeremy Hylton1998-09-101-7/+9
| | | | | | | change error messages to be a little more straightforward change definition of FULL_PATH so that an error is raised if the setuid wrapper is used un-edited
* Fix typo in URL; reported by Michael Ernst <mernst@cs.washington.edu>.Fred Drake1998-09-101-1/+1
|
* Apparently on AIX when using gcc you need to call pthread_init()Guido van Rossum1998-09-101-0/+3
| | | | | (which is not a POSIX threads call!). Reported and confirmed by Brad Howes.
* \itembreak,Fred Drake1998-09-091-20/+7
| | | | | | \itemjoin: Remove obsolete macros. \itemnewline: Rename to \py@itemnewline, since it's only used internally.
* Fix a bug where comparison of a rational with a float failed becauseGuido van Rossum1998-09-091-9/+9
| | | | | | | the difference got converted to float. Put brackets around the string representation of (non-integer) rationals. (Sjoerd Mullender.)
* Michael P. Reilly suggested this fix: makesetup wants to prependGuido van Rossum1998-09-091-0/+1
| | | | "$(srcdir)/" before all source files even when is starts with "/".
* Patch suggested by Perry Stoll -- os.path.normpath(".//x") returnedGuido van Rossum1998-09-081-0/+2
| | | | "/x", should return "x".
* Split tcl/tk libs out of other libraries (don't want to build these always)Jack Jansen1998-09-081-0/+0
|
* Mods by Just to allow aliases in sys.path entriesJack Jansen1998-09-071-0/+20
|
* Beh, new version must be edited in a separate file.Guido van Rossum1998-09-041-1/+1
|
* Use SCRIPT_NAME (if defined) instead of hardcoding /cgi-bin/ whenGuido van Rossum1998-09-041-1/+2
| | | | sending the cookie. (Suggestion by AMK.)
* Correct typo in #ifdef: PY_THREAD_D4, should be PY_PTHREAD_D4.Guido van Rossum1998-09-041-1/+1
| | | | Reported by Jonathan Giddy.
* Should no longer surround PyOS_Readline() call withGuido van Rossum1998-09-031-4/+0
| | | | | Py_{BEGIN,END}_ALLOW_THREADS macros. Also get rid of the declaration for it (it's now in pythonrun.h).
* Easy optimizations of urlparse for the common case of parsing an http URL.Jeremy Hylton1998-09-021-8/+33
| | | | | | | 1. use dict.get instead of try/except KeyError 2. if the url scheme is 'http' then avoid the series of 'if var in [someseq]:'. instead, inline all of the code. 3. find = string.find
* Fix suggested by movits@lockstar.com (plus doc string by myself)Guido van Rossum1998-09-021-4/+7
| | | | for LIST command with msg argument.
* Make bind variants without a sequence return a tuple of sequencesGuido van Rossum1998-08-311-1/+27
| | | | | | (formerly it returned a string, which wasn't very convenient). Add image commands to the Text widget (these are new in Tk 8.0).
* Now that we have standard (optional) long long support, the long longGuido van Rossum1998-08-311-66/+0
| | | | | support in this module can go. The patch only deletes code (PyLong_FromLongLong() and PyLong_AsLongLong()). By Sjoerd Mullender.
* The previous fix was still broken; the Py_END_ALLOW_THREADS macro wasGuido van Rossum1998-08-291-1/+3
| | | | never executed because of a return statement. Sigh.
* (py-in-literal): How'd this get through? c-point => py-pointBarry Warsaw1998-08-291-1/+1
|
* Ignore the generated README file.Fred Drake1998-08-282-0/+2
|
* When building the tarball of the PostScript files, also generate & include aFred Drake1998-08-281-1/+2
| | | | little README giving the page count of each file when printed.
* Target to generate a little README file with the page counts of the PostScriptFred Drake1998-08-281-0/+4
| | | | files.
* Script to generate page counts of the PostScript files.Fred Drake1998-08-281-0/+23
|
* Support long options that take arguments of the form --option=value as wellFred Drake1998-08-281-5/+40
| | | | | | as --option value. Minor nits cleaned up.
* Markup changes in the section on disciplines to match method descriptionsFred Drake1998-08-281-165/+171
| | | | | | a little better, and produce better HTML. Add some index entries.
* We now assume that PyOS_Readline() is called with the interpreter lockGuido van Rossum1998-08-271-11/+3
| | | | | held. It releases the lock around the call to the function pointed to by PyOS_ReadlineFunctionPointer (default PyOS_StdioReadline()).
* Add a 'volatile' to the declaration of threadid in get_thread_ident().Guido van Rossum1998-08-271-1/+1
| | | | | According to Vladimir Marangozov, this is necessary for AIX, where high optimization levels inline this function and then get it wrong :-(
* Don't release the interpreter lock around PyParser_ParseFile().Guido van Rossum1998-08-271-4/+0
| | | | It is needed so that tokenizer.c can use PySys_WriteStderr().
* Changes by Richard Wolff:Guido van Rossum1998-08-271-13/+21
| | | | | | | | | | | | | | | | 1) I added a command queue which is helpful to me (at least so far) and would also allow syntax like 's;s' (step; step) in conjunction with precmd 2) doc_leader allows the derived class to print a message before the help output. Defaults to current practise of a blank line 3) nohelp allows one to override the 'No help on' message. I need 'Undefined command: "%s". Try "help".' 4) Pass line to self.precmd to allow one to do some parsing: change first word to lower case, strip out a leading number, whatever. 5) Pass the result of onecmd and the input line to postcmd. This allows one to ponder the stop result before it is effective. 6) emptyline() requires a if self.lastcmd: conditional because if the first command is null (<cr>), you get an infinite recursion with the code as it stands.
* Added a note about the buildlibs script.Jack Jansen1998-08-271-4/+11
|
* fix typo in keyword argument 'allow_frament' should be 'allow_fragment'Jeremy Hylton1998-08-251-6/+6
|
* __file__ used to be always set to the .pyc (or .pyo) file, even ifGuido van Rossum1998-08-251-1/+2
| | | | | | | that file in fact did not exist or at least was not used. Change this so that __file__ is *only* set to the .pyc/.pyo file when it actually read the code object from it; otherwise __file__ is set to the .py file.
* Comment out the print statement about underflow. (This only seems toGuido van Rossum1998-08-251-2/+2
| | | | | | | | happen when you use a non-keyword argument after a keyword argument, and in this case you also get a syntax error. I fully suspect that the underflow is caused by the code that stops generating code when it detects the syntax error, but I can't find the culprit right now. I know, I know.)
* Add the type of the object to the error message about calling a non-function.Guido van Rossum1998-08-251-3/+5
|
* Replace all calls to fprintf(stderr, ...) with PySys_WriteStderr(...).Guido van Rossum1998-08-251-5/+6
|
* Add a version of PySys_WriteStderr() that writes to stderr, so we canGuido van Rossum1998-08-251-0/+27
| | | | use it in tokenizer.c.
* Restructure the file so that it is never empty. No longer needsGuido van Rossum1998-08-251-10/+10
| | | | Metrowerks specific #ifdef.
* Patch by Mark Hammond to support 64-bit ints on MS platforms.Guido van Rossum1998-08-255-33/+38
| | | | | | The MS compiler doesn't call it 'long long', it uses __int64, so a new #define, LONG_LONG, has been added and all occurrences of 'long long' are replaced with it.
* Ignore cruft generating by the test run for hello.py.Guido van Rossum1998-08-251-0/+6
|
* Y2K fix affecting asctime(), mktime(), strftime().Guido van Rossum1998-08-251-19/+37
| | | | | | | | | | | | | | | | 2-digit years are now converted using rules that are (according to Fredrik Lundh) recommended by POSIX or X/Open: 0-68 mean 2000-2068, 69-99 mean 1969-1999. 2-digit years are now only accepted if time.accept2dyear is set to a nonzero integer; if it is zero or not an integer or absent, only year values >= 1900 are accepted. Year values 100-1899 and negative year values are never accepted. The initial value of time.accept2dyear depends on the environment variable PYTHONY2K: if PYTHONY2K is set and non-empty, time.accept2dyear is initialized to 0; if PYTHONY2K is empty or not set, time.accept2dyear is initialized to 0.
* Describe what happens when ``raise C, x'' is called where C is a classGuido van Rossum1998-08-251-7/+13
| | | | and x is not an instance of C (nor of a class derived of C).
* Clarify Y2K behavior when a tuple with a 2-digit date is passed toGuido van Rossum1998-08-251-2/+15
| | | | mktime() and such.
* New version, with contributions from Sjoerd Mullender and Mark Hammond.Guido van Rossum1998-08-258-89/+189
| | | | | | | | | | | | Sjoerd writes: This version of freeze creates one file per Python module, instead of one humongous file for all Python modules. bkfile: new module to used to write files with backups. No new file is produced if the new contents is identical to the old. New option "-x excluded-module" for modulefinder test program. New option "-i filename" for freeze main program to include a list of options in place of the -i option.
* There was still something wrong. The original NOTTESTS are replacedGuido van Rossum1998-08-251-3/+6
| | | | | | by the new '-x' arguments, losing the previous items. Thus, test_support, test_b1 & test_b2 are executed (and warnings issued). (Discovered by Vladimir Marangozov.)
* Patch by Chris Herborth (posted to comp.lang.python)to make it behaveGuido van Rossum1998-08-241-3/+3
| | | | with tags that have - or . in their names.
* round(): Mark the second (optional) parameter as optional, since it'sFred Drake1998-08-241-4/+4
| | | | | | described that way. setattr(): Clarify that the attribute doesn't need to exist to be set.
* Added some cross-references to the end.Fred Drake1998-08-241-0/+6
|
* spoking --> speakingFred Drake1998-08-241-7/+7
| | | | object whose method this is --> object on which the method operates
* Ted Horst writes in psa-members@python.org:Guido van Rossum1998-08-241-0/+41
| | | | | | This is a patch that Bill Bummgarner did for 1.4 that hasn't made its way into the distribution yet. This is important if you want to use the ObjC module.
* Should pass explicit arguments to findtests(). Should initialize 'nottests'.Guido van Rossum1998-08-241-2/+4
|