summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Accomodate the packaging changes when we unpack into the dev/doc/ areaFred Drake2002-08-091-1/+2
| | | | on python.org.
* Lots of changes to the packaging of the documentation, all to keepFred Drake2002-08-092-42/+72
| | | | | | | | directories clean where the packages are unpacked. Each package now contains a single directory, Python-Docs-<version>/, which contains the files for that version of the documentation. Closes SF feature request #567576.
* A tool to transform gprof(1) output into HTML, so you can click on aGuido van Rossum2002-08-091-0/+78
| | | | function name and go to the corresponding entry.
* Whitespace normalization.Guido van Rossum2002-08-091-2/+2
|
* Add tests for weakref support for generator-iterators.Fred Drake2002-08-091-1/+27
| | | | Part of fixing SF bug #591704.
* Add weakref support generator-iterators.Fred Drake2002-08-091-1/+7
| | | | Part of fixing SF bug #591704.
* Add support for the iterator protocol to weakref proxy objects.Fred Drake2002-08-091-38/+64
| | | | Part of fixing SF bug #591704.
* There's no distinction among 'user', 'group' and 'world' permissionsTim Peters2002-08-091-2/+14
| | | | | on Win32, so tests that assume there are such distinctions can't pass. Fiddled them to work.
* Whitespace normalization.Tim Peters2002-08-092-8/+11
|
* For new-style classes, we can now test for tp_del instead of askingGuido van Rossum2002-08-091-3/+3
| | | | for a __del__ attribute, to see if there's a finalizer.
* Test finalizers and GC from inside __del__ for new classes.Guido van Rossum2002-08-091-0/+41
|
* Credit to Oren for the file-iterator patch.Guido van Rossum2002-08-091-1/+1
|
* News about the tempfile rewrite.Guido van Rossum2002-08-091-0/+10
|
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-0931-149/+134
| | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
* Doc portion of SF 589982 (tempfile.py rewrite, by Zack Weinberg).Guido van Rossum2002-08-091-42/+160
| | | | Fred, please review!
* Check-in of the most essential parts of SF 589982 (tempfile.pyGuido van Rossum2002-08-092-232/+1100
| | | | | | | | rewrite, by Zack Weinberg). This replaces most code in tempfile.py (please review!!!) and adds extensive unit tests for it. This will cause some warnings in the test suite; I'll check those in soon, and also the docs.
* Test for Neil's fix to correctly invoke __rmul__.Guido van Rossum2002-08-091-0/+16
|
* News about Neil's fix to correctly invoke __rmul__.Guido van Rossum2002-08-091-0/+5
|
* Unicode replace() method with empty pattern argument should fail, likeGuido van Rossum2002-08-092-0/+11
| | | | it does for 8-bit strings.
* Only call sq_repeat if the object does not have a nb_multiply slot. OneNeil Schemenauer2002-08-091-6/+8
| | | | | | | example of where this changes behavior is when a new-style instance defines '__mul__' and '__rmul__' and is multiplied by an int. Before the change the '__rmul__' method is never called, even if the int is the left operand.
* New entries to track the DOM API growth. These match names exposed inFred Drake2002-08-091-0/+5
| | | | PyXML 0.8.
* When installing the "python" link in bindir also test for a pre-existingJack Jansen2002-08-091-1/+1
| | | | symlink and remove it.
* - Precompile py files in Mac subtree after installingJack Jansen2002-08-091-28/+34
| | | | | - Pre-cache .rsrc files in Mac subtree after installing - Fixed nameclash in Make variables
* - Check not only that cache file exists, but also that it is newer thanJack Jansen2002-08-091-4/+7
| | | | | the applesingle file. - Added optional verbose option for cachersrc tool.
* Tool to pre-created cached .rsrc.df.rsrc files in the Lib directories,Jack Jansen2002-08-091-0/+45
| | | | similar to compileall.py.
* Document that -u puts stdin, stdout, and stderr in binary mode.Sjoerd Mullender2002-08-091-5/+6
|
* On Cygwin, put stdin, stderr, and stdout in binary mode when the -uSjoerd Mullender2002-08-091-2/+2
| | | | flag is given (to mimic native Windows).
* Obsolete now that there's a python implementation of strptime in theJack Jansen2002-08-091-250/+0
| | | | standard lib.
* Patch by Russel Owen: if we have command line arguments zap pyc filesJack Jansen2002-08-091-12/+15
| | | | in the directories given.
* Fix to ensure consistent 'repr' and 'str' results between PythonSteve Purcell2002-08-091-7/+10
| | | | | versions, since 'repr(new_style_class) != repr(classic_class)'. Suggested by Jeremy Hylton.
* Depracated some non-carbon modules.Jack Jansen2002-08-093-0/+1013
|
* This file should have gone long ago.Jack Jansen2002-08-091-18/+0
|
* Repaired a braino in the description of bad minrun values.Tim Peters2002-08-091-3/+3
|
* SF bug #592645 fix memory leak in socket.getaddrinfoNeal Norwitz2002-08-091-0/+2
|
* Update the text on the Expat module and library.Fred Drake2002-08-091-17/+9
|
* Major speedup for new-style class creation. Turns out there was someGuido van Rossum2002-08-091-0/+22
| | | | | | | | | | | | trampolining going on with the tp_new descriptor, where the inherited PyType_GenericNew was overwritten with the much slower slot_tp_new which would end up calling tp_new_wrapper which would eventually call PyType_GenericNew. Add a special case for this to update_one_slot(). XXX Hope there isn't a loophole in this. I'll buy the first person to point out a bug in the reasoning a beer. Backport candidate (but I won't do it).
* Moved inplace add and multiply methods from UserString to MutableString.Raymond Hettinger2002-08-094-11/+19
| | | | | Closes SF Bug #592573 where inplace add mutated a UserString. Added unittests to verify the bug is cleared.
* Moved special case for tuples from iterobject.c toRaymond Hettinger2002-08-092-25/+123
| | | | | | tupleobject.c. Makes the code in iterobject.c cleaner and speeds-up the general case by not checking for tuples everytime. SF Patch #592065.
* Revised the test suite for 'contains' to use the test() function argumentRaymond Hettinger2002-08-091-9/+9
| | | | | rather than vereq(). While it was effectively testing regular strings, it ignored the test() function argument when called by test_userstring.py.
* By popular demand the frameworkinstall target now installs everything:Jack Jansen2002-08-092-30/+51
| | | | | | | | | the framework, the MacOSX apps and the unix tools. Most of the hard work is done by Mac/OSX/Makefile. Also, it should now be possible to install in a different directory, such as /tmp/dist/Library/Frameworks, for building binary installers. The fink crowd wanted this.
* Significant speedup in new-style object creation: in slot_tp_new(),Guido van Rossum2002-08-081-1/+8
| | | | | | | | | intern the string "__new__" so we can call PyObject_GetAttr() rather than PyObject_GetAttrString(). (Though it's a mystery why slot_tp_new is being called when a class doesn't define __new__. I'll look into that tomorrow.) 2.2 backport candidate (but I won't do it).
* Use hex escape for non-ascii chars, now that the parser wants that.Jack Jansen2002-08-081-13/+13
| | | | | Good thing, too: some of the characters had been mangled by OS9->CVS->OSX roundtrips.
* A modest speedup of object deallocation. call_finalizer() did ratherGuido van Rossum2002-08-082-66/+71
| | | | | | | | | | | | | | | a lot of work: it had to save and restore the current exception around a call to lookup_maybe(), because that could fail in rare cases, and most objects don't have a __del__ method, so the whole exercise was usually a waste of time. Changed this to cache the __del__ method in the type object just like all other special methods, in a new slot tp_del. So now subtype_dealloc() can test whether tp_del is NULL and skip the whole exercise if it is. The new slot doesn't need a new flag bit: subtype_dealloc() is only called if the type was dynamically allocated by type_new(), so it's guaranteed to have all current slots. Types defined in C cannot fill in tp_del with a function of their own, so there's no corresponding "wrapper". (That functionality is already available through tp_dealloc.)
* The other half of the patches added to SF patch 555085 by A IGuido van Rossum2002-08-081-0/+2
| | | | | | MacIntyre. At least on OS/2, a subsequent connect() on a nonblocking socket returns errno==EISCONN to indicate success. This seems harmless on Unix.
* Clean up some docstrings. Some docstrings didn't show their returnGuido van Rossum2002-08-081-10/+11
| | | | | | value; others were inconsistent in what to name the argument or return value; a few module-global functions had "socket." in front of their name, against convention.
* testSendAll(): loop until all data is read; this was necessary atGuido van Rossum2002-08-081-3/+3
| | | | | | least on OS/2 (see note on SF patch 555085 by A I MacIntyre) but looks like the test *could* fail on any other platform too -- there's no guarantee that recv() reads all data.
* Whitespace normalization.Tim Peters2002-08-0883-5828/+5817
|
* Delete junk attributes left behind by _socketobject class construction.Tim Peters2002-08-081-0/+1
|
* Patch #588561: Cygwin _hotshot patchJason Tishler2002-08-081-2/+4
| | | | | | YA Cygwin module patch very similar to other patches that I have submitted. I tested under Cygwin and Red Hat Linux 7.1.
* The _socketobject class has no need for a __del__ method: all it did wasGuido van Rossum2002-08-081-10/+6
| | | | | | | to delete the reference to self._sock, and the regular destructor will do that just fine. This made some hacks in close() unnecessary. The _fileobject class still has a __del__ method, because it must flush.