summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Move an indented #define to column 1.Guido van Rossum1998-08-231-1/+1
|
* There is no <ISINPUT> element, just <ISINDEX>. ;-)Fred Drake1998-08-211-1/+1
|
* The .subn() method wasn't setting _num_regs, which is used by the .groups()Andrew M. Kuchling1998-08-211-0/+1
| | | | | method, so .groups() didn't work inside the replacement function called by re.sub. One-line fix: set self._num_regs inside subn().
* Update commentary. For most stuff, point people to the web pageBarry Warsaw1998-08-201-58/+18
|
* (py-shell-map): New variable contains the keymap used in *Python*Barry Warsaw1998-08-201-5/+12
| | | | | | | | shell buffers. (py-shell): Moved the require of comint to the top level. Also use-local-map py-shell-map instead of hacking on the comint-mode-map. This eliminates breakage of other comint-mode buffers (e.g. shell).
* (py-shell): comint-output-filter-functions is already buffer-localBarry Warsaw1998-08-201-1/+0
|
* (py-process-filter): Deleted this function. In order to fixBarry Warsaw1998-08-201-116/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interactions with newer Emacsen, I've rewritten the way all the process filters work in the *Python* buffer. We use more of the comint infrastructure, specifically the default process filter. This means that scrolling is now handled by the default comint variables including comint-scroll-to-bottom-on-output. Note that this is somewhat experimental change! (py-comint-output-filter-function): Moved to here from the obsolete py-process-filter function, the logic to pop and exec the next queued file waiting to be executed. (py-execute-file): Don't bind comint-scroll-to-bottom-on-output to t, and save the excursion when inserting the "working on" message. This lets the standard comint scrolling variables as set by the user, continue to work. (python-mode, py-shell, py-describe-mode): Remove description of py-scroll-process-buffer. Also in py-shell, make comint-output-filter-functions buffer-local, and add py-comint-output-filter-function to this hook (instead of setting the process filter). (py-scroll-process-buffer): Deleted this variable. See comint variables including comint-scroll-to-bottom-on-output. (py-execute-region): When exec files are being queued, push the next temp file on the end of the list. (py-submit-bug-report): Removed reporting of py-scroll-process-buffer.
* All libraries have now been moved to their new location, with their new names.Jack Jansen1998-08-209-0/+0
| | | | | As everything is also under CVS this should greatly simplify the work to be done when a new version of one of the libraries we use is released.
* A new project that builds cwgusi, tcl, tk and all image libraries needed.Jack Jansen1998-08-201-0/+0
|
* Replaced all remaining BinHex files with their binary counterparts.Jack Jansen1998-08-2048-4041/+0
|
* Binhextree doesn't binhex anymore, it just copies the projects around. ThisJack Jansen1998-08-201-4/+6
| | | | does make the name a bit of a non-sequitur:-)
* I guess I'll have to commit this file occasionally...Jack Jansen1998-08-201-1/+1
|
* Define some things to 1 (in stead of empty) to be compatible with new PILJack Jansen1998-08-201-2/+2
|
* Various libraryies have been moved around and renamed, now that we haveJack Jansen1998-08-193-0/+0
| | | | them under cvs too.
* Added an example that uses signal.alarm() to time out an os.open() thatAndrew M. Kuchling1998-08-181-1/+29
| | | | | | | | | takes too long. This example relies on the fact that raising an exception in a signal handler causes the exception to be re-raised when the main line of the program resumes execution. Is this guaranteed in CPython, or is this something that just happens to work by accident? Also fixed a typo.
* Raise the right exception (ValueError) for attempted I/O on closed StringIOFred Drake1998-08-181-1/+14
| | | | | objects; this makes the emulation of file objects a bit better, and the exceptions explain things a bit better.
* Replaced binhexed version of project files by normal ones (in binary mode)Jack Jansen1998-08-1844-9217/+0
|
* Updated for 1.5.2a1Jack Jansen1998-08-182-3/+1
|
* Replaced the hand-generated .hqx files by the binary resourcefiles themselvesJack Jansen1998-08-1814-6572/+0
| | | | (in AppleSingle format, so should be readable with MacCVS Pro too)
* Initial revisionJack Jansen1998-08-1836-0/+8306
|
* Initial revisionJack Jansen1998-08-1824-0/+5316
|
* Putting Python-specific GUSI modifications under CVS.Jack Jansen1998-08-186-0/+3264
|
* Putting TCL mods for Python under CVS.Jack Jansen1998-08-183-0/+967
|
* I give in (after all these years): renaming config.c to macconfig.c to forestallJack Jansen1998-08-181-0/+0
| | | | the continuous name conflicts which cause the wrong config.c to be found.
* Support for freezing packages (Just).Jack Jansen1998-08-184-12/+58
|
* Replace first sys.path entry with the directory where the script livesJack Jansen1998-08-181-1/+5
| | | | (Just).
* (imenu-example--create-python-index-engine): Fix nesting breakage whenBarry Warsaw1998-08-181-0/+2
| | | | | | a method definition has args that span multiple lines; be sure to go to the beginning of the method definition -- but watch out for the match-data!
* Clean up the HTML a bit; update the version number.Fred Drake1998-08-171-21/+22
|
* Fix arguments for renames(); bug spotted by Oliver AndrichFred Drake1998-08-171-1/+1
| | | | <oli@rhein-zeitung.de>.
* Fix markup where C include files get named in <...> form; bug reported byFred Drake1998-08-144-5/+4
| | | | Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it>.
* img_tag(): For \n to be interpreted as a newline, the string must use doubleFred Drake1998-08-141-1/+1
| | | | quote, not single quotes. Ugh.
* Clarify wording in the description of re.splitAndrew M. Kuchling1998-08-141-5/+5
| | | | Simplify the patterns in the examples for re.split
* Enter Jim Fulton's latest version. He writes:Jeremy Hylton1998-08-131-20/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | I had to make a slight diddle to work with Python 1.4, which we and some of our customers are still using. :( I've also made a few minor enhancements: - You can now both get and set the memo using a 'memo' attribute. This is handy for certain advanced applications that we have. - Added a 'binary' attribute to get and set the binary mode for a pickler. - Added a somewhat experimental 'fast' attribute. When this is set, objects are not placed in the memo during pickling. This should lead to faster pickling and smaller pickles in cases where: o you *know* there are no circular references, and o either you've: - preloaded the memo with class information by pickling classes in non-fast mode or by manipilating the memo directly, or - aren't pickling instances.
* Don't need these anymore....Fred Drake1998-08-136-0/+0
|
* Do the magic to use the new buttons (with shorter names!) instead of the oldFred Drake1998-08-131-20/+32
| | | | | ones. Get the <IMG> width & height right. New design for the navigation bars, including the document title as well as the navigation links/buttons.
* Change interface to sendmail: if the destination address is a stringJeremy Hylton1998-08-131-1/+6
| | | | | | | instead of a list, turn it into a list containing that string. This avoids an apparently common newbie mistake -- passing in a single string for the destination and have it treated as a sequence of characters.
* Add l2hinit.perl to COMMONPERL.Fred Drake1998-08-131-1/+2
|