summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* SF bug #715145: unittest.py still uses != in failUnlessEqualRaymond Hettinger2003-04-041-0/+4
|
* Revert Patch #670715: iconv support.Martin v. Löwis2003-04-031-5/+2
|
* Fix description: u"%c" % 0xffffffff returned a ValueError not a TypeError.Walter Dörwald2003-04-021-1/+1
|
* Change formatchar(), so that u"%c" % 0xffffffff now raisesWalter Dörwald2003-04-021-1/+2
| | | | | an OverflowError instead of a TypeError to be consistent with "%c" % 256. See SF patch #710127.
* Added a note about scripting support and the IDE builtin help.Jack Jansen2003-04-011-0/+6
|
* Fix PyString_Format() so that '%c' % u'a' returns u'a'Walter Dörwald2003-03-311-0/+3
| | | | | | | | instead of raising a TypeError. (From SF patch #710127) Add tests to verify this is fixed. Add various tests for '%c' % int.
* Fix typo.Walter Dörwald2003-03-311-1/+1
|
* Patch #545300: Support marked sections.Martin v. Löwis2003-03-301-0/+3
|
* The socket module now always uses the _socketobject wrapper class, even onSkip Montanaro2003-03-301-0/+5
| | | | | | | | | platforms which have dup(2). The makefile() method is built directly on top of the socket without duplicating the file descriptor, allowing timeouts to work properly. Includes a new test case (urllibnet) which requires the network resource. Closes bug 707074.
* Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.Martin v. Löwis2003-03-291-0/+2
|
* Fix typo.Walter Dörwald2003-03-261-1/+1
|
* Added a Mac note that EasyDialogs dialogs now bring the application toJack Jansen2003-03-241-1/+3
| | | | the foreground.
* announce csv packageSkip Montanaro2003-03-201-0/+2
|
* SF bug 705836: struct.pack of floats in non-native endian orderTim Peters2003-03-201-0/+8
| | | | | | | | | | | | | | pack_float, pack_double, save_float: All the routines for creating IEEE-format packed representations of floats and doubles simply ignored that rounding can (in rare cases) propagate out of a long string of 1 bits. At worst, the end-off carry can (by mistake) interfere with the exponent value, and then unpacking yields a result wrong by a factor of 2. In less severe cases, it can end up losing more low-order bits than intended, or fail to catch overflow *caused* by rounding. Bugfix candidate, but I already backported this to 2.2. In 2.3, this code remains in severe need of refactoring.
* Fixed SF bug #663074. The codec system was using global staticGustavo Niemeyer2003-03-191-0/+5
| | | | | | | | | variables to store internal data. As a result, any atempts to use the unicode system with multiple active interpreters, or successive interpreter executions, would fail. Now that information is stored into members of the PyInterpreterState structure.
* Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger2003-03-171-1/+1
| | | | | | to more accurately describe what the function does. Suggested by Thomas Wouters.
* Created PyObject_GenericGetIter().Raymond Hettinger2003-03-171-0/+3
| | | | Factors out the common case of returning self.
* - New function time.tzset() provides access to the C library tzet()Guido van Rossum2003-03-141-0/+3
| | | | function, if supported. (SF patch #675422, by Stuart Bishop.)
* Take out my (long since disabled) POSIX signal mask handling code.Michael W. Hudson2003-03-131-3/+0
| | | | | I'm not going to have the time or energy to get this working x-platform -- anyone who does is welcome to the code!
* Fix spelling.Raymond Hettinger2003-03-111-10/+10
|
* SF 698520: Iterator for urllib.URLOpenerRaymond Hettinger2003-03-091-0/+3
| | | | Contributed by Brett Cannon.
* - The extended type structure used for heap types (new-styleGuido van Rossum2003-03-071-1/+3
| | | | | classes defined by Python code using a class statement) is now exported from object.h as PyHeapTypeObject. (SF patch #696193.)
* SF patch #693753: fix for bug 639806: default for dict.popRaymond Hettinger2003-03-061-0/+6
| | | | (contributed by Michael Stone.)
* Mention timeit.py.Guido van Rossum2003-03-061-0/+3
|
* Always initialize Py_FileSystemDefaultEncoding on Unix in Py_Initialize,Martin v. Löwis2003-03-051-0/+2
| | | | | and not as a side effect of setlocale. Expose it as sys.getfilesystemencoding. Adjust test case.
* Fix SF #692416, don't crash interpreter for _tkinter.deletefilehandlerNeal Norwitz2003-03-031-0/+4
| | | | in addition to createfilehandler and creaetetimerhandler.
* Patch #683592 revisited, after discussions with MvL:Just van Rossum2003-03-031-7/+5
| | | | | | | | | | | | | | | | | | - Implement the behavior as specified in PEP 277, meaning os.listdir() will only return unicode strings if it is _called_ with a unicode argument. - And then return only unicode, don't attempt to convert to ASCII. - Don't switch on Py_FileSystemDefaultEncoding, but simply use the default encoding if Py_FileSystemDefaultEncoding is NULL. This means os.listdir() can now raise UnicodeDecodeError if the default encoding can't represent the directory entry. (This seems better than silcencing the error and fall back to a byte string.) - Attempted to decribe the above in Doc/lib/libos.tex. - Reworded the Misc/NEWS items to reflect the current situation. This checkin also fixes bug #696261, which was due to os.listdir() not using Py_FileSystemDefaultEncoding, like all file system calls are supposed to.
* Fix bugMichael W. Hudson2003-03-031-0/+3
| | | | | | | | [ 555817 ] Flawed fcntl.ioctl implementation. with my patch that allows for an array to be mutated when passed as the buffer argument to ioctl() (details complicated by backwards compatibility considerations -- read the docs!).
* SF bug 693121: Set == non-Set is a TypeError.Tim Peters2003-03-021-5/+12
| | | | | | | | | Allow mixed-type __eq__ and __ne__ for Set objects. This is messier than I'd like because Set *also* implements __cmp__. I know of one glitch now: cmp(s, t) returns 0 now when s and t are both Sets and s == t, despite that Set.__cmp__ unconditionally raises TypeError (and by intent). The rub is that __eq__ gets tried first, and the x.__eq__(y) True result convinces Python that cmp(x, y) is 0 without even calling Set.__cmp__.
* - New function sys.exc_clear() clears the current exception. This isGuido van Rossum2003-03-011-0/+6
| | | | | | rarely needed, but can sometimes be useful to release objects referenced by the traceback held in sys.exc_info()[2]. (SF patch #693195.) Thanks to Kevin Jacobs!
* Add news item for patch #695090Andrew M. Kuchling2003-02-281-0/+4
|
* Fix SF bugs #692951 and 692988, test_timeout.py needs 'network' resourceNeal Norwitz2003-02-281-1/+2
| | | | | require -u network to run test_timeout since it fails when not connected to a network.
* Fix SF bug #690012Neal Norwitz2003-02-281-0/+2
|
* Added a note about EasyDialogs dialogs having become movable.Jack Jansen2003-02-271-0/+2
|
* Patch #683592: unicode support for os.listdir()Just van Rossum2003-02-251-1/+8
| | | | | os.listdir() may now return unicode strings on platforms that set Py_FileSystemDefaultEncoding.
* note the demise of the dospath module (was actually in 2.3a2)Skip Montanaro2003-02-251-0/+3
|
* Added a note about MacOS.WMAvailable().Jack Jansen2003-02-241-1/+2
|
* Fix SF bug #691793, Python 2.3a2 build fails on Tru64Neal Norwitz2003-02-231-1/+2
|
* Fix SF bug #689659, 64-bit int and long hash keys incompatibleNeal Norwitz2003-02-231-1/+2
| | | | | On a 64-bit machine, a dictionary could contain duplicate int/long keys if the value was > 2**32.
* User requested changes to the itertools module.Raymond Hettinger2003-02-231-1/+3
| | | | | Subsumed times() into repeat(). Added cycle() and chain().
* Prepped for 2.3b1.Guido van Rossum2003-02-201-0/+57
| | | | Added an extra blank line before "What's New in Python 2.2 final?".
* Match parentheses.Guido van Rossum2003-02-201-1/+1
|
* Merge in changes made to the 2.3a2 release.Guido van Rossum2003-02-201-2/+28
|
* fixed markupDavid Goodger2003-02-191-8/+13
|
* Update versions/dates for release of 2.3a2. Added some last-minute news.Guido van Rossum2003-02-191-8/+6
|
* Add a note about the recent PEP 293 changes.Walter Dörwald2003-02-191-0/+4
|
* - PyEval_GetFrame() is now declared to return a PyFrameObject *Guido van Rossum2003-02-191-0/+3
| | | | instead of a plain PyObject *. (SF patch #686601 by Ben Laurie.)
* - sys.path[0] (the directory from which the script is loaded) is nowGuido van Rossum2003-02-191-0/+4
| | | | | turned into an absolute pathname, unless it is the empty string. (SF patch #664376, by Skip Montanaro.)
* Added a note that MacOSX applets can no longer be run from a terminal window.Jack Jansen2003-02-181-1/+3
|
* Make PyNumber_Check() a bit more careful, since all sorts of thingsGuido van Rossum2003-02-181-0/+8
| | | | now have tp_as_number. Check for nb_int or nb_float.