summaryrefslogtreecommitdiffstats
path: root/Misc
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
|
* Frank Vercruesse gave an okay on removing the copyright notice:Jack Jansen2003-03-251-0/+1
| | | | | "Hereby I make the script in question available under the terms and conditions of the latest Python License."
* Added a Mac note that EasyDialogs dialogs now bring the application toJack Jansen2003-03-241-1/+3
| | | | the foreground.
* When Py_TRACE_REFS is defined, a list of all live objects is maintained inTim Peters2003-03-231-4/+13
| | | | | | | | | | | a doubly-linked list, exposed by sys.getobjects(). Unfortunately, it's not really all live objects, and it seems my fate to bump into programs where sys.gettotalrefcount() keeps going up but where the reference leaks aren't accounted for by anything in the list of all objects. This patch helps a little: if COUNT_ALLOCS is also defined, from now on type objects will also appear in this list, provided at least one object of a type has been allocated.
* add several people involved with PEP 305 and the csv packageSkip Montanaro2003-03-201-0/+3
|
* 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.
* Add Hye-Shik Chang for SF patch/bugreport #703471.Thomas Wouters2003-03-171-0/+1
|
* 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-142-0/+4
| | | | 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 patch #667730: More DictMixinRaymond Hettinger2003-03-091-0/+1
| | | | | | | | * Adds missing pop() methods to weakref.py * Expands test suite to broaden coverage of objects with a mapping interface. Contributed by Sebastien Keim.
* 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.
* py-pdbtrack-grub-for-buffer(): Rectified some logic errors iKen Manheimer2003-03-031-6/+18
| | | | | | | | | introduced when shifting around some code, and added some redundancy to reduce chances of hitting the wrong source code. (This is experimental - it will improve the accuracy, but will reduce the ability of the user to deliberately select the buffer they want the buffer grubbing stuff to find. I think the accuracy improvement will be worth it, but am not sure, so may remove this.)
* 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!).
* Guard advancing past leading meta-comments.Ken Manheimer2003-03-031-4/+6
|
* Enhanced pdbtrack to provide for source code that's not findable byKen Manheimer2003-03-031-29/+105
| | | | | | | | | | | | | | | | | the reported path. (Eg, precompiled scripts with a file path suitable for a different host, scripts actually running on a remote system or with no valid path, like Zope through-the-web python scripts.) On failing to find the code on the reported path, pdbtrack takes the function name and looks through the buffers, from most to least recent, seeking the first python-mode buffer that either is named for the function or has a definition (def or class) for that function. So to get source tracking for code that's not located where the path indicates, you put a copy of the script in a buffer, and pdbtrack will find it. Also, fixed a small bug so pdbtrack now properly presents the overlay arrow when you run the pdb 'w'here command.
* 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
|
* 2.3b1 patchesGuido van Rossum2003-02-241-2/+5
|
* Added a note about MacOS.WMAvailable().Jack Jansen2003-02-241-1/+2
|
* Deleting the 2.2 spec.Guido van Rossum2003-02-241-302/+0
|
* RPM spec file for 2.3a2, contributed by Sean Reifschneider.Guido van Rossum2003-02-241-0/+303
|
* 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.