summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Patch #530105: Allow file object may to be subtypedMartin v. Löwis2002-03-152-11/+11
|
* (py-honor-comment-indentation, py-compute-indentation): Fix theBarry Warsaw2002-03-151-3/+7
| | | | | | | | | implementation to match the documentation for py-honor-comment-indentation w.r.t. not nil or t value. In that case it should still ignore ## for indentation purposes. Closes SF bug #523825, w/ patch provided by Christian Stork (mod'd by Barry). Python 2.2.1 candidate.
* Wrap a couple of long lines.Fred Drake2002-03-151-2/+4
|
* Corrected _localized_name.__getitem__ based on code in patch 503202 (which ISkip Montanaro2002-03-151-7/+9
| | | | | thought was just a bug report, so didn't notice - doh!). This handles slicing, which v 1.23 didn't.
* Patch #527427: minidom fails to use NodeList sometimes.Martin v. Löwis2002-03-151-5/+5
|
* Skip test_longexp for MacPython on Mac OS X. It triggers a pathological ↵Jack Jansen2002-03-151-1/+5
| | | | | | realloc slowdown. Some tests with shorter expressions lead me to the conclusion that it will eventually finish, but it may take a few weeks:-) 2.2.1 candidate.
* Patch 527434: Avoid double inclusion of thread.o on Sol2.8.Martin v. Löwis2002-03-152-212/+218
|
* If no webbrowsers were found _tryorder would be empty, cmd would never be ↵Jack Jansen2002-03-151-0/+1
| | | | | | set and the "del cmd" would fail. Fixed. 2.2.1 candidate.
* Patch #517521: Consider byte strings before Unicode stringsMartin v. Löwis2002-03-151-52/+60
| | | | in PyObject_Get/SetAttr.
* ....Michael W. Hudson2002-03-151-1/+1
|
* FixMichael W. Hudson2002-03-151-2/+9
| | | | | | | | [ 530236 ] os.py assumes existence of statvfs_resul This was pretty dense of me. Sorry. 2.2.1 candidate.
* Include Python.h first. Fixes #530159.Martin v. Löwis2002-03-151-1/+1
|
* make _localized_name instances work more like the tuples they replaced. InSkip Montanaro2002-03-151-5/+12
| | | | | | particular, negative indexes work and they are limited by the actual length of the names they represent (weekday and month names). This closes bug #503202.
* added test case to catch index errors with _localized_name classSkip Montanaro2002-03-151-0/+4
|
* first cut at skip-list for hp-ux 11 based upon input from Bill Lawler at HP.Skip Montanaro2002-03-151-0/+30
|
* Remove duplicate "import os"Neal Norwitz2002-03-141-1/+0
|
* Modifed for new included expat.Jack Jansen2002-03-141-6/+14
|
* Updated for new included expat and new waste.Jack Jansen2002-03-141-0/+0
|
* "Fix" for SF bug #520644: __slots__ are not pickled.Guido van Rossum2002-03-142-0/+95
| | | | | | | | | | | As promised in my response to the bug report, I'm not really fixing it; in fact, one could argule over what the proper fix should do. Instead, I'm adding a little magic that raises TypeError if you try to pickle an instance of a class that has __slots__ but doesn't define or override __getstate__. This is done by adding a bozo __getstate__ that always raises TypeError. Bugfix candidate (also the checkin to typeobject.c, of course).
* "Fix" for SF bug #520644: __slots__ are not pickled.Guido van Rossum2002-03-141-1/+37
| | | | | | | | | As promised in my response to the bug report, I'm not really fixing it; in fact, one could argule over what the proper fix should do. Instead, I'm adding a little magic that raises TypeError if you try to pickle an instance of a class that has __slots__ but doesn't define or override __getstate__. This is done by adding a bozo __getstate__ that always raises TypeError.
* Update master Windows buildno list to reflect impending 2.2.1c1.Tim Peters2002-03-141-1/+1
|
* News about zlib-1.1.4.Tim Peters2002-03-141-0/+5
|
* update text to refer to ServerProxy class in preference to Server, which isSkip Montanaro2002-03-141-8/+11
| | | | only retained for backward compatibility with older versions of the library.
* Move to zlib 1.1.4 on Windows (the new version that squashes the "doubleTim Peters2002-03-132-13/+12
| | | | | free" glitch). Bugfix candidate -- I'll backpatch this into 2.2.1 later this week.
* Describe how to support the iterator protocol in extension types.Fred Drake2002-03-131-4/+60
| | | | This closes SF bug #420851.
* SF #515015, raise exception if code not found in findsource()Neal Norwitz2002-03-131-0/+1
|
* Extend the list of special characters and magic markup used to produce themFred Drake2002-03-131-6/+10
| | | | | | to include various characters used in code samples, URLs, and other special contexts. This closes SF bug #525684.
* Change the way \textasciitilde is implemented so it works more consistentlyFred Drake2002-03-131-1/+1
| | | | | (dropping tildes into data that still goes through LaTeX-like processing is a bad idea).
* Verify arguments for nl_langinfo. Fixes #528879.Martin v. Löwis2002-03-121-84/+106
|
* Change the example code to prefer PyModule_Add*() instead of using theFred Drake2002-03-122-12/+12
| | | | | module dictionary directly. Also, be more careful about not re-initializing globals in the event of re-initialization of a C extension.
* Update docstrings to use te attribute names of the new structures returnedFred Drake2002-03-122-4/+7
| | | | | by stat and time functions. This closes SF patch #523271.
* Test for the fix I just checked in to moduleobject.c.Guido van Rossum2002-03-121-0/+12
| | | | Bugfix candidate.
* Fix for SF bug #529050 - ModuleType.__new__ crash.Guido van Rossum2002-03-121-7/+19
| | | | | | | | | | There were several places that assumed the md_dict field was always set, but it needn't be. Fixed these to be more careful. I changed PyModule_GetDict() to initialize md_dict to a new dictionary if it's NULL. Bugfix candidate.
* Add a note that Py_None needs the same reference count treatment as anyFred Drake2002-03-121-1/+2
| | | | | other PyObject *. This closes SF bug #494007.
* "level" keyword argument in example should be "stacklevel".Fred Drake2002-03-121-1/+1
| | | | This closes SF bug #517684.
* back out spurious change from 1.22Skip Montanaro2002-03-121-1/+1
|
* Popen3 and Popen4 should be in __all__Skip Montanaro2002-03-121-1/+1
|
* Add a -Wno-long-double flag to the compile flags on Mac OS X. Fixes bugJack Jansen2002-03-122-4/+4
| | | | | 525481. (Probably not a 2.2.1 candidate, unless the fix that introduced a long double into objimpl.h (rev. 2.44) is backported to 2.2.1).
* Set/update self.cwd properly.Fred Drake2002-03-121-14/+51
|
* Change Windows file.truncate() to (a) restore the original file position,Tim Peters2002-03-123-49/+73
| | | | | | | | | | | | and (b) stop trying to prevent file growth. Beef up the file.truncate() docs. Change test_largefile.py to stop assuming that f.truncate() moves the file pointer to the truncation point, and to verify instead that it leaves the file position alone. Remove the test for what happens when a specified size exceeds the original file size (it's ill-defined, according to the Single Unix Spec).
* fixes to tabwidth code removalSteven M. Gava2002-03-121-6/+6
|
* remove tabwidth (for tabs) config stuff,Steven M. Gava2002-03-122-12/+11
| | | | | because of the way the tk text widget handles tabs they must remain a fixed size in idle
* further work on dynamic config changes;Steven M. Gava2002-03-122-2/+16
| | | | editor font
* Documentation for PyObject_GetIter(), contributed by Greg ChapmanFred Drake2002-03-111-3/+18
| | | | | (with only minor changes by Fred). This closes SF bug #498607.
* Make the extension manual format using the Makefile; recent changes brokeFred Drake2002-03-111-1/+1
| | | | the dependency information.
* Fix typoNeal Norwitz2002-03-111-1/+1
|
* Add a check that SF bug 516727 is really fixed.Guido van Rossum2002-03-111-0/+10
|
* Changed C++ comment into standard comment.Sjoerd Mullender2002-03-111-1/+1
|
* Patch #443899: Check modes on files before performing operations.Martin v. Löwis2002-03-111-1/+9
| | | | Use IOErrors where file objects use them.
* Update version number in README.Guido van Rossum2002-03-111-1/+1
|