summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove some redundant logic from walk() -- there's no need to checkGuido van Rossum2000-02-291-2/+0
| | | | for "." and "..", since listdir() no longer returns those.
* Correct type error in getopt.error handling code.Guido van Rossum2000-02-291-1/+1
|
* Script by Tim Peters to discover illegal append() calls.Guido van Rossum2000-02-291-0/+168
|
* Fix multi-arg append().Guido van Rossum2000-02-291-1/+1
|
* Update portability information for the spawn*() functions and relatedFred Drake2000-02-291-4/+11
| | | | | constants. Someone will need to fill in information on the spawn*() functions that aren't listed.
* Fix a typo in a commentAndrew M. Kuchling2000-02-291-1/+1
|
* Fix comments relating to the specific regexs used to parse section andFred Drake2000-02-281-2/+2
| | | | option names; errors noted by Greg Stein <gstein@lyra.org>.
* Patch by Piers Lauder, who writes:Guido van Rossum2000-02-281-5/+6
| | | | | | | | This patch is re: Lucas.Dejonge@awtpl.com.au: [Python-bugs-list] imaplib - not complying with RFC (PR#218) Lucas de Jonge reported that the code in imaplib that detects a read-write to read-only change doesn't comply with RFC 2060.
* (Finally!) Changes related to the ConfigParser/INI-file topicsFred Drake2000-02-281-5/+11
| | | | | | | discussed on c.l.py last January. Specifically: - more characters allowed in section & option names - if '=' is used to separate the option & value, the value can be followed by a comment of the form '\s;'
* Drop the support level for stdwin a notch -- the contents ofGuido van Rossum2000-02-281-1/+1
| | | | | | | | | | lib-stdwin is no longer installed. Increase the support level for other obsolete modules a bit: install lib-old by default. It still isn't in the path by default, but at least it's easier to add to your $PYTHONPATH this way. (This makes sense because in 1.6 we're much more aggressive with declaring modules obsolete.)
* Fix use of list.append() with multiple argumentsAndrew M. Kuchling2000-02-281-1/+1
|
* Simple changes by Gerrit Holl - move author acknowledgements out ofGuido van Rossum2000-02-289-43/+46
| | | | docstrings into comments.
* Patch by Mozhe Zadka, for __contains__ (overloading 'in'). This addsGuido van Rossum2000-02-281-0/+56
| | | | | | an instance method instance_contains as sq_contains. It looks for __contains__ and if not found falls back to previous behaviour. Done.
* Patch by Mozhe Zadka, for __contains__ (overloading 'in'). ThisGuido van Rossum2000-02-281-1/+8
| | | | | patches PySequence_Contains() to check for a valid sq_contains field. More to follow.
* Patch by Mozhe Zadka, for __contains__ (overloading 'in'). This addsGuido van Rossum2000-02-281-1/+7
| | | | | | a new proc type (objobjproc), a new slot sq_contains to PySequenceMethods, and a new flag Py_TPFLAGS_HAVE_SEQUENCE_IN to Py_TPFLAGS_DEFAULT. More to follow.
* Patch by Gerrit Holl to avoid doing two stat() calls in a row in walk().Guido van Rossum2000-02-281-1/+2
|
* Fix a typo in Barry's checkin.Guido van Rossum2000-02-271-1/+1
| | | | Reported both by Gerrit Holl and Mark Favas.
* Fixed a multi-arg append() call, discovered by Mark Favas.Guido van Rossum2000-02-271-4/+4
| | | | Also removed some unnecessary backslases (inside parens).
* Two buglet fixes. Peter Funk caught the bug in make_escapes:Barry Warsaw2000-02-271-7/+9
| | | | | | | This will fold all ISO 8859 chars from the upper half of the charset into the lower half, which is ...ummm.... unintened. The second is a typo in the reference to options.escape in main().
* Changes submitted by Peter Funk (some fixes/additions by B.Warsaw) toBarry Warsaw2000-02-261-40/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make pygettext more compatible with GNU xgettext, specifically: Added -E/--escape for allowing pass-thru of iso8859-1 characters above 7 bits. Added -o/--output option for renaming the output file from messages.pot (there's overlap with -d/--default-domain, but GNU xgettext has them both). Added -p/--output-dir for specifying the output directory for messages.pot. Added -V/--version for printing the version number. Added -w/--width for specifying the output page width (this is because now pygettext, like GNU xgettext will put several locations on the same line to cut down on vertical space). Added -x/--exclude-file for specifying a list of strings that are not to be extracted from the input files. Bumped version number to 1.0 Try to import fintl and use fintl.gettext as _ if available. Fall back is to use identity definition of _(). Moved the escape creation to a function make_escapes() so that its behavior can be controlled by the -E option. __openseen(): Support the -x option. write(): Support -w option and vertical space preserving feature. main(): Support new options.
* The "Distributing Python Modules" manual; currently empty (I'll get to itGreg Ward2000-02-261-0/+12
| | | | Real Soon Now(TM).
* Try to deal with pre-1.5.2 IOError exception objects.Greg Ward2000-02-261-2/+6
|
* Unfinished, untested implementation of the lovely baroque installation schemeGreg Ward2000-02-264-183/+118
| | | | | cooked up by Fred Drake and me. Only saved for posterity (whoever posterity is), as it is about to be ditched in favour of GvR's much simpler design.
* Better fix for mpzmodule problem reported by Peter Funk: just useAndrew M. Kuchling2000-02-251-6/+2
| | | | mp_bits_per_limb with GMP 2.0
* Changes inspired by Randall Hooper to allow callbacks when anBarry Warsaw2000-02-251-4/+15
| | | | | | | | | | | | | | | OptionMenu is modified. Somewhat rewritten and elaborated by myself. class _setit: The constructor now takes an optional argument `callback' and stashes this in a private variable. If set, the __call__() method will invoke this callback after the variable's value has changed. It will pass the callback the value, followed by any args passed to __call__(). class OptionMenu: The constructor now takes keyword arguments, the only one that's legally recognized is `command', which can be set to a callback. This callback is invoked when the OptionMenu value is set. Any other keyword argument throws a TclError.
* Pat Knight:Guido van Rossum2000-02-252-61/+61
| | | | | | | | | | | | | | | | | | | | | | | | Solaris 2 has stub implementations of the POSIX thread functions such as pthread_detach in libc. This means that configure tries to use them without -lpthread, then the test of pthread_create fails and the configuration falls back to the Solaris thread library. This patch moves the test for pthread_create in -lpthread ahead of the test for pthread_detach in libc. The patch also ensures that -lpthread is at the start of the library list when linking, to pick up POSIX thread semantics for fork (see below). Justification. Use of POSIX threads on Solaris ensures that the fork() call only runs the thread that called fork() in the child. This is desirable to prevent (for example) parent server or database threads running in the child. Sun's -lthread library uses a traditional fork() which replicates all the parent's threads in the child. I find this undesirable. Digression. The configure.in seems to always test for -lthread even if a POSIX library is found. I'm not enough of a configure.in wizard to decide whether this is desirable or how to fix it. It is also irrelevant to this patch - I just spotted it while testing. End of Digression.
* Test case for fork1() behavior.Guido van Rossum2000-02-252-0/+55
| | | | Only the main thread should survive in the child after a fork().
* Delete references to _SC_AIO_LIST_MAX; it appears that that symbol wasGuido van Rossum2000-02-251-3/+0
| | | | | just a typo in some Linux header; the real symbol is _SC_AIO_LISTIO_MAX.
* Gerrit forgot to remove the "import string".Guido van Rossum2000-02-251-2/+0
|
* Gerrit Holl's patch to move attribution from the docstring to aFred Drake2000-02-251-4/+4
| | | | comment. <gerrit@nl.linux.org>
* Fix a couple broken append() calls, spotted by Tim.Guido van Rossum2000-02-251-4/+4
|
* Fix a couple dozen broken ci.append(x, y, z) calls, spotted by Tim.Guido van Rossum2000-02-251-25/+25
|
* Fix a broken r.append(name, value) call, spotted by Tim.Guido van Rossum2000-02-251-1/+1
|
* OKOK, Greg's right, I should've used the :name option in the argumentGuido van Rossum2000-02-241-9/+9
| | | | format strings.
* Peter Funk:Guido van Rossum2000-02-241-0/+5
| | | | | | | This patch allows building the Python 'mpzmodule' under SuSE Linux without having to install the source package of the GMP-libary. The gmp-mparam.h seems to be an internal header file. The patch shouldn't hurt any other platforms.
* Made all list methods use PyArg_ParseTuple(), for more accurateGuido van Rossum2000-02-241-30/+29
| | | | | | | | diagnostics. *** INCOMPATIBLE CHANGE: This changes append(), remove(), index(), and *** count() to require exactly one argument -- previously, multiple *** arguments were silently assumed to be a tuple.
* Moshe Zadka:Guido van Rossum2000-02-241-4/+77
| | | | Added docstrings to tkSimpleDialog.py
* Fix from est@hyperreal.org: missing initialize in 'find_defaults()'.Greg Ward2000-02-241-0/+1
|
* Mark Favas discovered this: getatime() accidentally returned the MTIME!Guido van Rossum2000-02-241-1/+1
| | | | This fixes PR#211.
* Piers Lauder:Guido van Rossum2000-02-241-5/+5
| | | | | | | A change in my last patch could, under certain circumstances, cause a loop if the connection to the server dropped while waiting for a command completion. I've changed the code to re-raise the error after possible debugging output.
* Add tests to exercise sequence operations (multiplication, indexing,Andrew M. Kuchling2000-02-231-0/+25
| | | | slicing) using long integers
* Allow using long integers as arguments to PyObject_GetItem(), _SetItem(),Andrew M. Kuchling2000-02-231-1/+19
| | | | | | and _DelItem(). In sequence multiplication by a long, only call PyErr_Occurred() when the value returned is -1.
* Allow using long integers as slice indexesAndrew M. Kuchling2000-02-231-2/+34
|
* dict_has_key(): Accept only one parameter. PR#210 reported byFred Drake2000-02-231-4/+4
| | | | Andreas Jung <ajung@sz-sb.de>.
* Added entry for libtabnanny.tex.Fred Drake2000-02-231-0/+1
|
* Added dependency on libtabnanny.tex.Fred Drake2000-02-231-0/+1
|
* Initial version from Peter Funk <pf@artcom-gmbh.de>, with minorFred Drake2000-02-231-0/+62
| | | | consistency changes and a note that the API may change in the future.
* Deleting tabpolice.py; it was superceded by tabnanny.py long ago.Guido van Rossum2000-02-231-104/+0
|
* Moved tabnanny.py to standard library status.Guido van Rossum2000-02-231-368/+0
|
* Added tabnanny.py, by Tim Peters, formerly from Tools/scripts, to theGuido van Rossum2000-02-232-0/+8
| | | | | | | | standard library. Added some comments: # XXX Note: this is now a standard library module. # XXX The API needs to undergo changes however; the current code is too # XXX script-like. This will be addressed later.