summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Mention the bdist_wininst postinstall script.Thomas Heller2002-12-121-0/+3
|
* News item for the change to turn _codecs into a builtin module.Marc-André Lemburg2002-12-121-0/+4
|
* Enhance issubclass() and PyObject_IsSubclass() so that a tuple isWalter Dörwald2002-12-121-0/+4
| | | | | | | | | | | supported as the second argument. This has the same meaning as for isinstance(), i.e. issubclass(X, (A, B)) is equivalent to issubclass(X, A) or issubclass(X, B). Compared to isinstance(), this patch does not search the tuple recursively for classes, i.e. any entry in the tuple that is not a class, will result in a TypeError. This closes SF patch #649608.
* Docs were added about a month agoRaymond Hettinger2002-12-091-2/+1
|
* Add support for binary pickles to the shelve module. In some situationsSkip Montanaro2002-12-081-0/+4
| | | | | | | | this can result in significantly smaller files. All classes as well as the open function now accept an optional binary parameter, which defaults to False for backward compatibility. Added a small test suite, updated the libref documentation (including documenting the exported classes and fixing a few other nits) and added a note about the change to Misc/NEWS.
* Patch #614055: Support OpenVMS.Martin v. Löwis2002-12-062-0/+3
|
* _ssl.pyd added for Windows.Mark Hammond2002-12-031-0/+3
|
* The new imp.[gs]et_frozenmodules() will be utterly redundant if theJust van Rossum2002-12-011-1/+2
| | | | zipfile import stuff get in. I'll probably back it out again.
* Slightly improved version of patch #642578: "Expose PyImport_FrozenModulesJust van Rossum2002-11-291-0/+5
| | | | | in imp". This adds two functions to the imp module: get_frozenmodules() and set_frozenmodules().
* Rephrase dict.fromkeys() news.Guido van Rossum2002-11-271-4/+5
|
* SF Patch 643443. Added dict.fromkeys(iterable, value=None), a classRaymond Hettinger2002-11-271-0/+5
| | | | method for constructing new dictionaries from sequences of keys.
* Add a way to say "use any resource except A". For example, to runFred Drake2002-11-261-1/+3
| | | | | allow the use of any resource except bsddb, give the option "-uall,-bsddb".
* Rename want_objects to wantobjects throughout, for consistency.Martin v. Löwis2002-11-261-1/+1
|
* This is not part of my patchMichael W. Hudson2002-11-261-0/+2
| | | | | | | | [ 635933 ] make some type attrs writable but should have been! News about the above.
* Fix typoAndrew M. Kuchling2002-11-261-1/+1
|
* Patch #518625: Return objects in Tkinter.Martin v. Löwis2002-11-261-0/+5
|
* Added Marius Gedminas, for contributions to the datetime code.Tim Peters2002-11-251-0/+1
|
* Fixed bugGustavo Niemeyer2002-11-251-0/+4
| | | | | | | | | | | [#495695] webbrowser.py: selection of browser * Lib/webbrowser.py Only include graphic browsers in _tryorder if DISPLAY is set. Also, included skipstone support, as suggested by Fred in the mentioned bug. * Misc/NEWS Mention fix and skipstone inclusion.
* Patch #626485: Support Unicode normalization.Martin v. Löwis2002-11-231-2/+2
|
* Try linking the static Sleepycat lib into _bsddb.pyd. Hard to sayTim Peters2002-11-231-1/+3
| | | | | | | | | | | | whether this is a correct thing to do: + There are linker warnings (see PCbuild\readme.txt). + test_bsddb passes, in both release and debug builds now. + test_bsddb3 has several failures, but it did before too. Also made pythoncore a dependency of the _bsddb project, updated build instructions, added database conversion XXX to NEWS, and fiddled the Windows installer accordingly.
* Implement names for CJK unified ideographs. Add name to KeyError output.Martin v. Löwis2002-11-231-1/+1
| | | | Verify that the lookup for an existing name succeeds.
* Touch up the news for dict() keyword args.Guido van Rossum2002-11-231-3/+4
|
* Patch #626548: Support Hangul syllable names.Martin v. Löwis2002-11-231-0/+3
|
* Patch #642500 with slight modifications: allow keyword arguments inJust van Rossum2002-11-231-0/+6
| | | | | | | dict() constructor. Example: >>> dict(a=1, b=2) {'a': 1, 'b': 2} >>>
* More bsddb-on-Windows fiddling:Tim Peters2002-11-231-0/+8
| | | | | | | | + News blurb, but as much XXX as news. + Updated installer (install the new bsddb package, and the Berkeley DLL; still don't know how to fold that into _bsddb.pyd). + Fleshed out build instructions. + Debug Python still blows up.
* Patch #494845: Support string concatenation, detect non-string data,Martin v. Löwis2002-11-222-0/+4
| | | | add globbing support, find modules by name instead of by file.
* Patch #486438: Make module argument to testmod optional.Martin v. Löwis2002-11-221-0/+3
|
* Patch #550765: Add daemon_threads flag.Martin v. Löwis2002-11-221-0/+6
|
* Patch #633547: Support plural forms. Do TODOs in test suite.Martin v. Löwis2002-11-212-1/+3
|
* Fix typo.Walter Dörwald2002-11-191-1/+1
|
* Change int() so that passing a string, unicode, float or long argumentWalter Dörwald2002-11-191-0/+3
| | | | | | | that is outside the integer range no longer raises OverflowError, but returns a long object instead. This fixes SF bug http://www.python.org/sf/635115
* Document PyBSDDB import.Martin v. Löwis2002-11-191-0/+5
|
* Comment on PyNumber_Check().Guido van Rossum2002-11-181-1/+3
|
* Note that PyNumber_Check() returns true for string and unicode objects.Neil Schemenauer2002-11-181-0/+4
|
* Fix minor nitsAndrew M. Kuchling2002-11-151-3/+3
| | | | Trim excess whitespace off one line
* Add Optik news.Guido van Rossum2002-11-151-0/+4
|
* SF patch #520382: Expand shelve.py to have a full dictionary interfaceRaymond Hettinger2002-11-151-0/+9
| | | | | and add a mixin to UserDict.py to make it easier to implement a full dictionary interface.
* Windows blurb about new Tcl/Tk release shipped on Windows.Tim Peters2002-11-141-0/+3
|
* News about the logging module.Guido van Rossum2002-11-131-0/+3
|
* SF patch 637176: list.sort crasherTim Peters2002-11-121-1/+11
| | | | | | | | | | | Armin Rigo's Draconian but effective fix for SF bug 453523: list.sort crasher slightly fiddled to catch more cases of list mutation. The dreaded internal "immutable list type" is gone! OTOH, if you look at a list *while* it's being sorted now, it will appear to be empty. Better than a core dump.
* SF patch 629637: Add sample(population, k) method to the random module.Raymond Hettinger2002-11-121-0/+3
| | | | Used for random sampling without replacement.
* Added a blurb about the change to sys.version under MSVC.Tim Peters2002-11-111-0/+5
|
* Richie HindleMichael W. Hudson2002-11-081-0/+1
|
* NEWS entry for the changed fdopen function.Thomas Heller2002-11-071-0/+4
|
* Fixed sre bug "[#581080] Provoking infinite scanner loops".Gustavo Niemeyer2002-11-071-0/+5
| | | | | | | | | | | | | | | | This bug happened because: 1) the scanner_search and scanner_match methods were not checking the buffer limits before increasing the current pointer; and 2) SRE_SEARCH was using "if (ptr == end)" as a loop break, instead of "if (ptr >= end)". * Modules/_sre.c (SRE_SEARCH): Check for "ptr >= end" to break loops, so that we don't hang forever if a pointer passing the buffer limit is used. (scanner_search,scanner_match): Don't increment the current pointer if we're going to pass the buffer limit. * Misc/NEWS Mention the fix.
* Add --check-tkinter to setup.py. Install IDLE. Fixes #634078.Martin v. Löwis2002-11-061-0/+2
|
* Fixed bug "[#466200] ability to specify a 'verify' script".Gustavo Niemeyer2002-11-061-1/+5
| | | | | | | | | | | * Lib/distutils/command/bdist_rpm.py (bdist_rpm.initialize_options): Included verify_script attribute. (bdist_rpm.finalize_package_data): Ensure that verify_script is a filename. (bdist_rpm._make_spec_file): Included verify_script in script_options tuple. * Misc/NEWS Mention change.
* Add next() and __iter__() methods to StreamReader, StreamReaderWriterWalter Dörwald2002-11-061-0/+3
| | | | | | and StreamRecoder. This closes SF bug #634246.
* Fixed bug #470582, using a modified version of patch #527371,Gustavo Niemeyer2002-11-061-0/+7
| | | | | | | | | | | | | | | | | | | from Greg Chapman. * Modules/_sre.c (lastmark_restore): New function, implementing algorithm to restore a state to a given lastmark. In addition to the similar algorithm used in a few places of SRE_MATCH, restore lastindex when restoring lastmark. (SRE_MATCH): Replace lastmark inline restoring by lastmark_restore(), function. Also include it where missing. In SRE_OP_MARK, set lastindex only if i > lastmark. * Lib/test/re_tests.py * Lib/test/test_sre.py Included regression tests for the fixed bugs. * Misc/NEWS Mention fixes.
* Add an entry for pdb's new `pp' command.Barry Warsaw2002-11-051-0/+3
|