summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Patch #612627: Add encoding attribute to file objects, and determineMartin v. Löwis2003-05-101-0/+3
| | | | the terminal encoding on Windows and Unix.
* Added a tool for making a rough check of LaTeX documents.Raymond Hettinger2003-05-101-0/+3
| | | | | It checks for known commands, forward slashes, unbalanced or mismatched delimters, and unbalanced or mismatched begin/end blocks.
* help with MSVC 7 support in distutilsJeremy Hylton2003-05-091-0/+1
|
* added note about autoGILJust van Rossum2003-05-091-0/+4
|
* Patch #734118: Add {get|set}busywaitinterval.Martin v. Löwis2003-05-091-0/+2
|
* Leading "C:" no longer hardcoded in the default installation directory.Tim Peters2003-05-081-0/+10
| | | | | | After removing that, two testers on machines where C: is not the system drive reported that the installer suggested their system drive instead of C:, and that's what they wanted it to do.
* SF bug #730296: Unexpected Changes in list IteratorRaymond Hettinger2003-05-071-0/+5
| | | | | | | | | | | | Reverted a Py2.3b1 change to iterator in subclasses of list and tuple. They had been changed to use __getitem__ whenever it had been overriden in the subclass. This caused some usabilty and performance problems. Also, it was inconsistent with the rest of python where many container methods access the underlying object directly without first checking for an overridden getter. Users needing a change in iterator behavior should override it directly.
* add note about bsddb185 moduleSkip Montanaro2003-05-061-0/+4
|
* SF bug 622042: Don't expect response body from HEAD request.Jeremy Hylton2003-05-051-0/+1
| | | | Bug fix candidate.
* Somewhere along the way, the softspace attr of file objects became read-Tim Peters2003-05-041-0/+3
| | | | only. Repaired, and added new tests to test_file.py.
* Patch #711902: Cause pydoc to show data descriptor __doc__ strings.Martin v. Löwis2003-05-031-0/+3
|
* Note itertools.islice() bugfix.Raymond Hettinger2003-05-021-0/+3
|
* Slightly more lenient pdbtrack prompt recognition, for people who useKen Manheimer2003-05-011-1/+1
| | | | eg "pdb>".
* Allow for multiple parens around pdb prompt for (new) nested debuggingKen Manheimer2003-05-011-4/+4
| | | | sessions (and some cosmetic wording changes).
* document socket speed reclamation. Patch 729293.Skip Montanaro2003-04-291-0/+3
|
* A start on news for 2.3b2.Tim Peters2003-04-261-0/+41
|
* Merge back from r23b1-branchGuido van Rossum2003-04-261-3/+2
|
* Update version number and release date.Guido van Rossum2003-04-251-1/+1
|
* New generator os.walk() does a bit more than os.path.walk() does, andTim Peters2003-04-251-1/+6
| | | | | seems much easier to use. Code, docs, NEWS, and additions to test_os.py (testing this sucker is a bitch!).
* Move socket news to 2.3b1 section! And mention has_ipv6.Guido van Rossum2003-04-251-4/+5
|
* Patch by Jp Calderone:Guido van Rossum2003-04-252-0/+5
| | | | | | | | | - The socket module now provides the functions inet_pton and inet_ntop for converting between string and packed representation of IP addresses. See SF patch #658327. This still needs a bit of work in the doc area, because it is not available on all platforms (especially not on Windows).
* Fix caseAndrew M. Kuchling2003-04-241-1/+1
|
* [Patch #679505] Document that the rotor module is deprecatedAndrew M. Kuchling2003-04-241-0/+4
|
* New module platform.py, submitted by Marc-Andre Lemburg.Marc-André Lemburg2003-04-241-0/+3
| | | | | There's no separate documentation for this module yet - apart from the doc-strings which explain the APIs.
* Revert the previous enhancement to the bytecode optimizer.Raymond Hettinger2003-04-241-7/+0
| | | | The additional code complexity and new NOP opcode were not worth it.
* Mention the new getargs.c format codes.Thomas Heller2003-04-231-0/+3
|
* SF patch 557704: netrc module can't handle all passwordsRaymond Hettinger2003-04-231-0/+2
| | | | | | | | | Revised netrc.py to include the additional ascii punctuation characters. Omitted the other logic changes. See Lib/netrc.py 1.17. Since this is more of a feature request than a bug, including in Py2.3 but not recommending for backporting.
* Enable os.fsync() for Windows, mapping it to MS's _commit() there. TheTim Peters2003-04-231-0/+3
| | | | | | docs here are best-guess: the MS docs I could find weren't clear, and some even claimed _commit() has no effect on Win32 systems (which is easily shown to be false just by trying it).
* Adding new built-in function sum, with docs and tests.Alex Martelli2003-04-221-0/+4
|
* Improved the bytecode optimizer.Raymond Hettinger2003-04-221-0/+7
| | | | | | | | | | | | | | * Can now test for basic blocks. * Optimize inverted comparisions. * Optimize unary_not followed by a conditional jump. * Added a new opcode, NOP, to keep code size constant. * Applied NOP to previous transformations where appropriate. Note, the NOP would not be necessary if other functions were added to re-target jump addresses and update the co_lnotab mapping. That would yield slightly faster and cleaner bytecode at the expense of optimizer simplicity and of keeping it decoupled from the line-numbering structure.
* Patch #553171: Add writeback parameter. Also add protocol parameter.Martin v. Löwis2003-04-191-0/+3
|
* - bool() called without arguments now returns False rather thanGuido van Rossum2003-04-191-0/+5
| | | | | | | raising an exception. This is consistent with calling the constructors for the other builtin types -- called without argument they all return the false value of that type. (SF patch #724135) Thanks to Alex Martelli.
* - Several methods of nntplib.NNTP have grown an optional file argumentGuido van Rossum2003-04-192-0/+5
| | | | | | which specifies a file where to divert the command's output (already supported by the body() method). (SF patch #720468) Thanks to Terry Carroll.
* Patch #536883: SimpleXMLRPCServer auto-docing subclass.Martin v. Löwis2003-04-181-0/+2
|
* Implement IDNA (Internationalized Domain Names in Applications).Martin v. Löwis2003-04-181-0/+5
|
* _Py_PrintReferenceAddresses(): also print the type name. In real useTim Peters2003-04-182-1/+13
| | | | | | | | | I'm finding some pretty baffling output, like reprs consisting entirely of three left parens. At least this will let us know what type the object is (it's not str -- there's no quote character in the repr). New tool combinerefs.py, to combine the two output blocks produced via PYTHONDUMPREFS.
* Implemented posix-mode parsing support in shlex.py, as dicussed inGustavo Niemeyer2003-04-171-0/+4
| | | | mailing list, and in patch #722686.
* - New C API PyGC_Collect(), same as calling gc.collect().Guido van Rossum2003-04-171-1/+7
| | | | | - Call this in Py_Finalize(). - Expand the Misc/NEWS text on PY_LONG_LONG.
* Changes in support of PEP 269.Guido van Rossum2003-04-171-0/+5
|
* - The repr() of a weakref object now shows the __name__ attribute ofGuido van Rossum2003-04-161-0/+3
| | | | | | | the referenced object, if it has one. Also use %p to format pointers consistently, and use <weakproxy ...> in proxy_repr(), to match the type name.
* For StringVar results to strings. Document that boolean things are ofMartin v. Löwis2003-04-161-0/+3
| | | | type bool. Requested in #721171.
* - super() no longer ignores data descriptors, except __class__. SeeGuido van Rossum2003-04-161-0/+4
| | | | | the thread started at http://mail.python.org/pipermail/python-dev/2003-April/034338.html
* Add two dictionaries to htmlentitydefs: name2codepoint mapsWalter Dörwald2003-04-161-0/+4
| | | | | HTML entity names to Unicode codepoints (as integers). codepoint2name is the reverse mapping. From SF patch #722017.
* - pythunrun.c, Py_Finalize(): move the call to _Py_PrintReferences()Guido van Rossum2003-04-151-0/+4
| | | | | | | | | | | | | | | | | | | even farther down, to just before the call to _PyObject_DebugMallocStats(). This required the following changes: - pystate.c, PyThreadState_GetDict(): changed not to raise an exception or issue a fatal error when no current thread state is available, but simply return NULL without raising an exception (ever). - object.c, Py_ReprEnter(): when PyThreadState_GetDict() returns NULL, don't raise an exception but return 0. This means that when printing a container that's recursive, printing will go on and on and on. But that shouldn't happen in the case we care about (see first bullet). - Updated Misc/NEWS and Doc/api/init.tex to reflect changes to PyThreadState_GetDict() definition.
* The date class is now properly subclassable. (SF bug #720908)Guido van Rossum2003-04-141-0/+2
| | | | | (This is only the tip of the iceberg; the time and datetime classes need the same treatment.)
* - list.insert(i, x) now interprets negative i as it would beGuido van Rossum2003-04-141-0/+5
| | | | | | interpreted by slicing, so negative values count from the end of the list. This was the only place where such an interpretation was not placed on a list index.
* SF patch #720991 by Gary Herron:Guido van Rossum2003-04-141-0/+4
| | | | | | | A small fix for bug #545855 and Greg Chapman's addition of op code SRE_OP_MIN_REPEAT_ONE for eliminating recursion on simple uses of pattern '*?' on a long string.
* Patch by Chad Netzer (with significant change):Guido van Rossum2003-04-111-0/+5
| | | | | | | - range() now works even if the arguments are longs with magnitude larger than sys.maxint, as long as the total length of the sequence fits. E.g., range(2**100, 2**101, 2**100) is the following list: [1267650600228229401496703205376L]. (SF patch #707427.)
* Added a note that the Mac OSA modules are documented.Jack Jansen2003-04-111-1/+2
|
* - New function winsound.MessageBeep() wraps the Win32 APIGuido van Rossum2003-04-091-1/+2
| | | | MessageBeep().