summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adjust to understand use of either single- or double-quotes to quoteFred Drake2001-06-221-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 Drake2001-06-221-0/+1
|
* This is a trivial command line utility to print MD5 checksums.Guido van Rossum2001-06-221-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 supportFred Drake2001-06-221-4/+3
| | | | | | for Linux. This closes SF bug #434975.
* Changed the order of the buttons for EasyDialogs.AskYesNoCancel() from the ↵Just van Rossum2001-06-221-0/+0
| | | | unusual [cancel, no, yes] to the more standard [no, cancel, yes].
* Record Windows build number for 2.0.1 final.Tim Peters2001-06-221-0/+2
|
* don't blow up when the charno SyntaxError value is NoneJust van Rossum2001-06-211-1/+3
|
* repaired expandselection and uncomment breakageJust van Rossum2001-06-211-4/+5
|
* Added support for the gc module (!).Just van Rossum2001-06-211-0/+6
|
* Somehow, under certain circumstances, config.h and rename1.h would pop back up.Guido van Rossum2001-06-212-442/+0
| | | | Try to see if 'cvs delete' fixes this.
* Teach the UNPACK_SEQUENCE opcode how to tease an iterable object intoTim Peters2001-06-213-32/+93
| | | | | giving up the goods. NEEDS DOC CHANGES
* Try to avoid creating reference cycles involving generators. Only keep aNeil Schemenauer2001-06-211-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 Jansen2001-06-201-1/+1
|
* Move license information to a less annoying location in the document.Fred Drake2001-06-201-0/+13
| | | | Add documentation for PyErr_SetFromErrnoWithFilename().
* Update to include the license information in a less annoying place.Fred Drake2001-06-205-0/+16
|
* Separate the copyright statements and license text; include some newFred Drake2001-06-202-96/+261
| | | | comments regarding the history of Python licensing from Guido.
* Separate the version number and release status into two separate values.Fred Drake2001-06-201-1/+2
|
* Update to use the newly separated values $PACKAGE_VERSION and $RELEASE_INFO.Fred Drake2001-06-201-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 Jansen2001-06-203-24/+5
| | | | Blacklist SendControlMessage: it's signature has changed between Universal Headers 3.3 and 3.4.
* Added support for new \setreleaseinfo macro.Fred Drake2001-06-201-65/+76
| | | | | | | Normalize all generated HTML so that attribute names come out as name="value" instead of name='value'. Changed the target of RFC links to point to the hypertext RFCs at www.faqs.org instead of the plain text RFCs at www.ietf.org.
* {Is,Set}AntiAliasedTextEnabled don't exist on MacOS 8.5.5 and earlier. For ↵Jack Jansen2001-06-202-36/+5
| | | | now: cop out and blacklist them.
* ANSIfied function headers to shut up compiler warnings on OSX/Mach-o.Jack Jansen2001-06-204-4/+4
|
* Added a const to shut up a compiler warning.Jack Jansen2001-06-202-2/+2
|
* Reversed the order of the checks for None or a Dialog where a Window is ↵Jack Jansen2001-06-202-22/+8
| | | | expected so it doesn't crash under OSX/Mach-o.
* Add a little more support for describing version information. ThisFred Drake2001-06-201-0/+3
| | | | is not pretty, but does what is needed.
* Removed some unused routines under Carbon. They caused compile errors with UH34.Jack Jansen2001-06-201-0/+3
|
* Adapted to Universal Headers 3.4: new refcontype and use UPP names in stead ↵Jack Jansen2001-06-202-3/+18
| | | | of Proc names for callback creation.
* Adapted for Universal Headers 3.4: refcon type has changed (sigh) and use ↵Jack Jansen2001-06-201-6/+12
| | | | modern (UPP in stead of Proc) names for callback object creation.
* Override bdb's canonic() method with a no-op: with bdb's version we couldn't ↵Just van Rossum2001-06-201-0/+5
| | | | edit breakpoints in file-less ("Untitled" script windows). Besides, we did't need it as we always use full path names anyway.
* write(): Karl Eichwalder points out that the #, flag comments shouldBarry Warsaw2001-06-201-1/+4
| | | | be outputted just before the msgid lines.
* gen_iternext(): repair subtle refcount problem.Tim Peters2001-06-201-0/+5
| | | | | | | | | | | | NeilS, please check! This came from staring at your genbug.py, but I'm not sure it plugs all possible holes. Without this, I caught a frameobject refcount going negative, and it was also the cause (in debug build) of _Py_ForgetReference's attempt to forget an object with already- NULL _ob_prev and _ob_next pointers -- although I'm still not entirely sure how! Part of the difficulty is that frameobjects are stored on a free list that gets recycled very quickly, so if there's a stray pointer to one of them it never looks like an insane frameobject (never goes trough the free() mangling MS debug forces, etc).
* Remove unused code.Neil Schemenauer2001-06-201-9/+0
|
* Add a bunch of sample strings to test soft line breaks of varying endBarry Warsaw2001-06-191-1/+28
| | | | cases.
* encode(): Fixed the handling of soft line breaks for lines over 76Barry Warsaw2001-06-191-14/+12
| | | | | characters in length. Remember that when calculating the soft breaks, the trailing `=' sign counts against the max length!
* made 7-bit-clean.Just van Rossum2001-06-191-2/+2
|
* Some long overdue maintainance. Made all IDE sources 7-bit-clean, to avoid ↵Just van Rossum2001-06-1914-84/+86
| | | | any further encoding conversion troubles.
* - _filename_to_abs() didn't cater for .. components in the pathname. Fixed.Jack Jansen2001-06-191-1/+14
| | | | | - compile() didn't return a (empty) list of objects. Fixed. - the various _fix_xxx_args() methods weren't called (are they new or did I overlook them?). Fixed.
* The test used int(time.time()) to get a random number, but this doesn't work ↵Jack Jansen2001-06-191-1/+1
| | | | on the mac (where times are bigger than ints). Changed to int(time.time()%1000000).
* An import MacOS was missing after the code-rearranging. Added.Jack Jansen2001-06-191-0/+1
|
* Test by Martin v. Loewis for the new UTF-16 codec handling of BOMMarc-André Lemburg2001-06-191-0/+25
| | | | marks.
* This patch by Martin v. Loewis changes the UTF-16 codec to onlyMarc-André Lemburg2001-06-191-3/+33
| | | | | | | | | | | write a BOM at the start of the stream and also to only read it as BOM at the start of a stream. Subsequent reading/writing of BOMs will read/write the BOM as ZWNBSP character. This is in sync with the Unicode specifications. Note that UTF-16 files will now *have* to start with a BOM mark in order to be readable by the codec.
* write(): It's been generally agreed on the i18n-sig that the docstringBarry Warsaw2001-06-191-1/+1
| | | | marker should be output as a #, flag, e.g. "#, docstring".
* Document the new encodestring() and decodestring() functions. Also,Barry Warsaw2001-06-191-2/+19
| | | | | | add some description of what the quotetabs argument does for the encode*() functions. Finally, add a "see also" pointing to the base64 module.
* Fixed -D emulation for symbols with a value, as specified with the ↵Just van Rossum2001-06-191-1/+1
| | | | define_macros Extension argument.
* A unittest-based test for the quopri module.Barry Warsaw2001-06-191-0/+112
|
* Better support for RFC 1521 quoted-printable specification, along withBarry Warsaw2001-06-191-25/+77
| | | | | | | | | | | | | | | | | | | | | | addition of interface for consistency with base64 module. Namely, encodestring(), decodestring(): New functions which accept a string object and return a string object. They just wrap the string in StringIOs and pass them to the encode() and decode() methods respectively. encodestring() accepts a default argument of quotetabs, defaulting to zero, which is passed on straight through to encode(). encode(): Fix the bug where an extra newline would always be added to the output, which prevented an idempotent roundtrip through encode->decode. Now, if the source string doesn't end in a newline, then the result string won't end in a newline. Also, extend the quotetabs argument semantics to include quoting embedded strings, which is also optional according to the RFC. test() -> main() "from quopri import *" also imports encodestring() and decodestring().
* (python-font-lock-keywords): Add "yield" as a keyword to support theBarry Warsaw2001-06-191-2/+2
| | | | new "simple generators" feature of 2.2. See PEP 255.
* Added a MACHDEP_OBJS to the python link. Use this on MacOSX to includeNeil Schemenauer2001-06-191-137/+158
| | | | | | | Mac/macglue.c into the core interpreter. This file contains the glue code that allows extension modules for Mac toolboxes to live in different shared libraries but still communicate with each other. The glue code is controlled by the USE_MAC_TOOLBOX_GLUE define. [checked in for Jack]
* Added a MACHDEP_OBJS to the python link. Use this on MacOSX to includeJack Jansen2001-06-193-1/+24
| | | | | | | Mac/macglue.c into the core interpreter. This file contains the glue code that allows extension modules for Mac toolboxes to live in different shared libraries but still communicate with each other. The glue code is controlled by the USE_MAC_TOOLBOX_GLUE define.
* Taught IDLE's autoident parser that "yield" is a keyword that begins aTim Peters2001-06-191-0/+1
| | | | | stmt. Along w/ the preceding change to keyword.py, making all this work w/ a future-stmt just looks harder and harder.