summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* (py-imenu-create-index-function): Skip over stuff that looks like codeBarry Warsaw2002-07-161-0/+2
| | | | | but which is in a comment or string. Closes SF bug # 572341 reported by Adrian van den Dries.
* (py-pychecker-run): Thomas Heller points out that this function messesBarry Warsaw2002-07-161-2/+2
| | | | | | up the compile command's history. Fix that by using compile-internal. Fixes SF bug # 580631
* Add a blurb on the 3 Windows bugs I worked on over the last couple of days.Mark Hammond2002-07-161-0/+8
|
* Added Andrew MacIntyre -- overdue!Tim Peters2002-07-151-1/+2
|
* docompare(): Another reasonable optimization from Jonathan Hogg for theTim Peters2002-07-151-0/+1
| | | | | | explicit comparison function case: use PyObject_Call instead of PyEval_CallObject. Same thing in context, but gives a 2.4% overall speedup when sorting a list of ints via list.sort(__builtin__.cmp).
* Mention new encoding.Marc-André Lemburg2002-07-121-0/+2
|
* Fernando Pérez of SF bug 579701 fame.Guido van Rossum2002-07-121-0/+1
|
* Replace rare tabs with 4 spaces, assuming that's what was intended.Guido van Rossum2002-07-111-7/+7
|
* Note the existence of SpecialBuilds.txt.Guido van Rossum2002-07-111-0/+1
|
* Noted the releases in which COUNT_ALLOCS can blow up.Tim Peters2002-07-111-0/+1
|
* Recorded the introduction release for each gimmick, as best I was able toTim Peters2002-07-111-10/+18
| | | | | reconstruct that info. Filled out some sketchy explanations of pragmatics.
* Some clarifications.Tim Peters2002-07-111-3/+9
|
* Documented PYMALLOC_DEBUG. This completes primary coverage of all theTim Peters2002-07-101-0/+52
| | | | | "special builds" I ever use. If you use others, document them here, or don't be surprised if I rip out the code for them <0.5 wink>.
* Clarified sys.getobjects() pragmatics.Tim Peters2002-07-101-6/+11
|
* Typo repair.Tim Peters2002-07-091-1/+1
|
* Moved COUNT_ALLOCS down and finished writing its description.Tim Peters2002-07-091-6/+45
|
* Checkin comment.Tim Peters2002-07-091-1/+2
|
* New file to try to document the "special build" preprocessor symbols.Tim Peters2002-07-091-0/+76
| | | | | Incomplete. Add to it! Once it settles down, it would make a nice appendix in the real docs.
* The Py_REF_DEBUG/COUNT_ALLOCS/Py_TRACE_REFS macro minefield: addedTim Peters2002-07-091-0/+4
| | | | | | | | | | | | | | | | | | | | | more trivial lexical helper macros so that uses of these guys expand to nothing at all when they're not enabled. This should help sub- standard compilers that can't do a good job of optimizing away the previous "(void)0" expressions. Py_DECREF: There's only one definition of this now. Yay! That was that last one in the family defined multiple times in an #ifdef maze. Py_FatalError(): Changed the char* signature to const char*. _Py_NegativeRefcount(): New helper function for the Py_REF_DEBUG expansion of Py_DECREF. Calling an external function cuts down on the volume of generated code. The previous inline expansion of abort() didn't work as intended on Windows (the program often kept going, and the error msg scrolled off the screen unseen). _Py_NegativeRefcount calls Py_FatalError instead, which captures our best knowledge of how to abort effectively across platforms.
* SF bug 578752: COUNT_ALLOCS vs heap typesTim Peters2002-07-081-0/+8
| | | | | | | Repair segfaults and infinite loops in COUNT_ALLOCS builds in the presence of new-style (heap-allocated) classes/types. Bugfix candidate. I'll backport this to 2.2. It's irrelevant in 2.1.
* Removed WITH_CYCLE_GC #ifdef-ery. Holes:Tim Peters2002-07-071-0/+14
| | | | | | + I'm not sure what to do about configure.in. Left it alone. + Ditto pyexpat.c. Fred or Martin will know what to do.
* Stop trying to cater to platforms with a broken HUGE_VAL definition. ItTim Peters2002-07-031-0/+18
| | | | | breaks other platforms (in this case, the hack for broken Cray systems in turn caused failure on a Mac system broken in a different way).
* Implement the encoding argument for toxml and toprettyxml.Martin v. Löwis2002-06-301-0/+3
| | | | Document toprettyxml.
* Add Bob Kline of HTTP 100 fame.Jeremy Hylton2002-06-281-0/+1
|
* Fix SF bug 546434 -- buffer slice type inconsistent.Raymond Hettinger2002-06-251-0/+5
|
* Fix SF bug 572567: Memory leak in object comparison.Raymond Hettinger2002-06-241-0/+1
|
* Mention private vars in __slots__.Guido van Rossum2002-06-211-0/+3
|
* Mention pymemcompat.h.Guido van Rossum2002-06-181-1/+6
|
* Minor tweaks to existing items (radian/degree, and UTF-16 readers..Guido van Rossum2002-06-181-5/+5
|
* Patch from SF bug 570483 (Tim Northover).Guido van Rossum2002-06-181-0/+1
| | | | | | In a fresh interpreter, type.mro(tuple) would segfault, because PyType_Ready() isn't called for tuple yet. To fix, call PyType_Ready(type) if type->tp_dict is NULL.
* Apply diff2.txt from SF patch http://www.python.org/sf/566999Walter Dörwald2002-06-171-0/+3
| | | | | | | | This patch enhances Python/import.c/find_module() so that unicode objects found in sys.path will be treated as legal directory names (The current code ignores anything that is not a str). The unicode name is converted to str using Py_FileSystemDefaultEncoding.
* Add Oren Tirosh and news about his patch.Guido van Rossum2002-06-142-0/+11
|
* SF patch 568629 by Oren Tirosh: types made callable.Guido van Rossum2002-06-141-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These built-in functions are replaced by their (now callable) type: slice() buffer() and these types can also be called (but have no built-in named function named after them) classobj (type name used to be "class") code function instance instancemethod (type name used to be "instance method") The module "new" has been replaced with a small backward compatibility placeholder in Python. A large portion of the patch simply removes the new module from various platform-specific build recipes. The following binary Mac project files still have references to it: Mac/Build/PythonCore.mcp Mac/Build/PythonStandSmall.mcp Mac/Build/PythonStandalone.mcp [I've tweaked the code layout and the doc strings here and there, and added a comment to types.py about StringTypes vs. basestring. --Guido]
* This introduces stricter library/header file checking for the Berkeley DBSkip Montanaro2002-06-141-0/+5
| | | | | | | | | library. Since multiple versions can be installed simultaneously, it's crucial that you only select libraries and header files which are compatible with each other. Version checking is done from highest version to lowest. Building using version 1 of Berkeley DB is disabled by default because of the hash file bugs people keep rediscovering. It can be enabled by uncommenting a few lines in setup.py. Closes patch 553108.
* SF bug # 493951 string.{starts,ends}with vs slicesNeal Norwitz2002-06-141-0/+3
| | | | Handle negative indices similar to slices.
* Patch #568235: Add posix.setpgid.Martin v. Löwis2002-06-131-1/+2
|
* Changed the extended slice example to show that you can reverse aGuido van Rossum2002-06-131-2/+2
| | | | string with a [::-1] slice.
* SF bug 567538: Generator can crash the interpreter (Finn Bock).Guido van Rossum2002-06-121-0/+3
| | | | | | | | | | This was a simple typo. Strange that the compiler didn't catch it! Instead of WHY_CONTINUE, two tests used CONTINUE_LOOP, which isn't a why_code at all, but an opcode; but even though 'why' is declared as an enum, comparing it to an int is apparently not even worth a warning -- not in gcc, and not in VC++. :-( Will fix in 2.2 too.
* This is my nearly two year old patchMichael W. Hudson2002-06-111-0/+4
| | | | | | | | | [ 400998 ] experimental support for extended slicing on lists somewhat spruced up and better tested than it was when I wrote it. Includes docs & tests. The whatsnew section needs expanding, and arrays should support extended slices -- later.
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-113-0/+71
|
* Record the latest fixes.Guido van Rossum2002-06-101-0/+9
|
* SF patch 564549 (Erik Andersén).Guido van Rossum2002-06-101-0/+1
| | | | | | | The WeakKeyDictionary constructor didn't work when a dict arg was given. Fixed by moving a line. Also adding a unit test. Bugfix candidate.
* Patch #505375: Make doc strings optional.Martin v. Löwis2002-06-091-0/+4
|
* Added Bernard Yue who wrote test_timeout.py and participated in theGuido van Rossum2002-06-071-0/+1
| | | | timeout socket patch design.
* Add timeout mode. Clarify gnu_getopt.Guido van Rossum2002-06-071-1/+7
|
* Michael Gilfix of SF patch 555085 fame.Guido van Rossum2002-06-061-0/+1
|
* Patch 473512: add GNU style scanning as gnu_getopt.Martin v. Löwis2002-06-062-0/+3
|
* Address SF bug 519621: slots weren't traversed by GC.Guido van Rossum2002-06-041-0/+6
| | | | | | | | | | | | | | While I was at it, I added a tp_clear handler and changed the tp_dealloc handler to use the clear_slots helper for the tp_clear handler. Also tightened the rules for slot names: they must now be proper identifiers (ignoring the dirty little fact that <ctype.h> is locale sensitive). Also set mp->flags = READONLY for the __weakref__ pseudo-slot. Most of this is a 2.2 bugfix candidate; I'll apply it there myself.
* Fiddle wording.Michael W. Hudson2002-06-041-3/+4
|
* Fix SF bug #557436, TclError is a str should be an ExceptionNeal Norwitz2002-06-041-0/+4
| | | | Make Tkinter.TclError derive from Exception, it was a string.