summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Generalize operator.indexOf (PySequence_Index) to work with anyTim Peters2001-09-081-0/+3
| | | | | | | | | | iterable object. I'm not sure how that got overlooked before! Got rid of the internal _PySequence_IterContains, introduced a new internal _PySequence_IterSearch, and rewrote all the iteration-based "count of", "index of", and "is the object in it or not?" routines to just call the new function. I suppose it's slower this way, but the code duplication was getting depressing.
* The usual post-release fiddling.Tim Peters2001-09-081-0/+20
|
* Merging 2.2a3 branch changes back into trunkBarry Warsaw2001-09-071-8/+18
|
* Rename 'getset' to 'property'.Guido van Rossum2001-09-061-5/+5
|
* Added note of unittest.py changes that fixed bug 451309Steve Purcell2001-09-061-0/+4
|
* Report patch #416079 changes.Martin v. Löwis2001-09-061-0/+3
|
* Enable large file support on Win32 systems.Tim Peters2001-09-061-0/+6
| | | | | | | | | Curious: the MS docs say stati64 etc are supported even on Win95, but Win95 doesn't support a filesystem that allows partitions > 2 Gb. test_largefile: This was opening its test file in text mode. I have no idea how that worked under Win64, but it sure needs binary mode on Win98. BTW, on Win98 test_largefile runs quickly (under a second).
* Rework the way we try to check for libm overflow, given that C99 no longerTim Peters2001-09-051-0/+7
| | | | | | | | | | | | | | | requires that errno ever get set, and it looks like glibc is already playing that game. New rules: + Never use HUGE_VAL. Use the new Py_HUGE_VAL instead. + Never believe errno. If overflow is the only thing you're interested in, use the new Py_OVERFLOWED(x) macro. If you're interested in any libm errors, use the new Py_SET_ERANGE_IF_OVERFLOW(x) macro, which attempts to set errno the way C89 said it worked. Unfortunately, none of these are reliable, but they work on Windows and I *expect* under glibc too.
* Change the date field to use $Date$ so it won't be outrageously out ofGuido van Rossum2001-09-051-1/+1
| | | | date.
* Document -Q. Move arguments around to be in strict alphabeticalGuido van Rossum2001-09-051-25/+43
| | | | order. Add breaks in SYNOPSIS.
* Describe -E (which was added to 2.2a2).Guido van Rossum2001-09-051-0/+7
|
* Patch #428326: New class threading.Timer.Martin v. Löwis2001-09-051-0/+3
|
* Return reasonable results for math.log(long) and math.log10(long) (we wereTim Peters2001-09-051-0/+3
| | | | | | getting Infs, NaNs, or nonsense in 2.1 and before; in yesterday's CVS we were getting OverflowError; but these functions always make good sense for positive arguments, no matter how large).
* At Guido's suggestion, here's a new C API function, PyObject_Dir(), likeTim Peters2001-09-041-1/+3
| | | | __builtin__.dir(). Moved the guts from bltinmodule.c to object.c.
* Raise OverflowError when appropriate on long->float conversion. Most ofTim Peters2001-09-041-0/+12
| | | | | | | the fiddling is simply due to that no caller of PyLong_AsDouble ever checked for failure (so that's fixing old bugs). PyLong_AsDouble is much faster for big inputs now too, but that's more of a happy consequence than a design goal.
* Rename the -D option to -Q, to avoid a Jython option name conflict.Guido van Rossum2001-09-041-5/+5
|
* New restriction on pow(x, y, z): If z is not None, x and y must be ofTim Peters2001-09-031-0/+6
| | | | | integer types, and y must be >= 0. See discussion at http://sf.net/tracker/index.php?func=detail&aid=457066&group_id=5470&atid=105470
* Make dir() wordier (see the new docstring). The new behavior is a mixedTim Peters2001-09-031-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | bag. It's clearly wrong for classic classes, at heart because a classic class doesn't have a __class__ attribute, and I'm unclear on whether that's feature or bug. I'll repair this once I find out (in the meantime, dir() applied to classic classes won't find the base classes, while dir() applied to a classic-class instance *will* find the base classes but not *their* base classes). Please give the new dir() a try and see whether you love it or hate it. The new dir([]) behavior is something I could come to love. Here's something to hate: >>> class C: ... pass ... >>> c = C() >>> dir(c) ['__doc__', '__module__'] >>> The idea that an instance has a __doc__ attribute is jarring (of course it's really c.__class__.__doc__ == C.__doc__; likewise for __module__). OTOH, the code already has too many special cases, and dir(x) doesn't have a compelling or clear purpose when x isn't a module.
* Clarify the Borland situation, based on email from Stephen.Tim Peters2001-09-021-3/+5
|
* Add news about dictionary() constructor.Guido van Rossum2001-09-021-0/+4
|
* An anonymous contributor reveals his name...Guido van Rossum2001-09-021-0/+1
|
* Start items w/ "-" instead of "+" (consistency w/ earlier versions).Tim Peters2001-09-021-18/+17
| | | | | | Stephen Hansen reported via email that he didn't finish the port to Borland C, so remove the old item saying it worked and add a new item saying what I know; I've asked Stephen for more details.
* Add various and sundry news items -- most mine, one Barry's, oneGuido van Rossum2001-08-311-0/+44
| | | | Michael Hudson's.
* SF patch #455966: Allow leading 0 in float/imag literals.Tim Peters2001-08-301-3/+9
| | | | Consequences for Jython still unknown (but raised on Jython-Dev).
* Add news about GC API change. Explain how to upgrade extension modules.Neil Schemenauer2001-08-301-3/+16
|
* Add a new function imp.lock_held(), and use it to skip test_threaded_importTim Peters2001-08-301-0/+9
| | | | when that test is doomed to deadlock.
* marshal.c r_long64: When reading a TYPE_INT64 value on a box with 32-bitTim Peters2001-08-291-0/+5
| | | | ints, convert to PyLong (rather than throwing away the high-order 32 bits).
* Note change in fp literal syntax (e.g. "3e-" worked by accident before).Tim Peters2001-08-281-0/+3
|
* SF patch [ #455137 ] Makes popen work with COMMAND.COM on WNT, fromTim Peters2001-08-272-0/+4
| | | | Brian Quinlan.
* "The usual" post-release fiddling.Tim Peters2001-08-221-0/+18
|
* Add an item about Tim's new installer. This didn't make it into theBarry Warsaw2001-08-221-0/+3
| | | | 2.2a2 release, but it's still worth mentioning.
* More NEWS for 2.2a2.Barry Warsaw2001-08-221-2/+25
|
* Added a note about --enable-framework on Mac OS X.Jack Jansen2001-08-211-0/+5
|
* Removed NEXT-NOTES, the NeXT is no longer supported.Jack Jansen2001-08-192-82/+0
|
* A fiddled version of the rest of Michael Hudson's SF patchTim Peters2001-08-171-0/+5
| | | | | #449043 supporting __future__ in simulated shells which implements PEP 264.
* Add note on type/class unification.Guido van Rossum2001-08-171-0/+6
|
* Patch #445762: Support --disable-unicodeMartin v. Löwis2001-08-171-6/+12
| | | | | | | | - Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests.
* Another contributor's patch got accepted.Guido van Rossum2001-08-171-0/+1
|
* Patch #427190: Implement and use METH_NOARGS and METH_O.Martin v. Löwis2001-08-161-0/+6
|
* Fix typoAndrew M. Kuchling2001-08-151-1/+1
|
* Add blurb about cleanfuture.py. Fix misspelling in an older item.Tim Peters2001-08-151-1/+7
|
* Document the new semantics for setting and deleting a function'sBarry Warsaw2001-08-141-0/+6
| | | | | | | | | __dict__ attribute. Deleting it, or setting it to a non-dictionary result in a TypeError. Note that getting it the first time magically initializes it to an empty dict so that func.__dict__ will always appear to be a dictionary (never None). Closes SF bug #446645.
* Update a beopen.com e-mailAndrew M. Kuchling2001-08-131-2/+2
|
* Update a few references to beopen.comAndrew M. Kuchling2001-08-132-3/+3
|
* Add a nameAndrew M. Kuchling2001-08-131-0/+1
|
* SF patch #445412 extract ndiff functionality to difflib, fromTim Peters2001-08-122-0/+8
| | | | David Goodger.
* Added Josh Cogliati (turtle.py contributor).Guido van Rossum2001-08-091-0/+1
|
* One more.Neil Schemenauer2001-08-091-0/+1
|
* Thanks toTim Peters2001-08-081-0/+1
| | | | | | | | | LettError, Erik van Blokland, http://www.letterror.com/ the Python Windows installer finally has an attractive Pythonic bitmap to delight the senses and dampen the fears of the millions and millions of eager new Windows users anticipating their first Python programming joy. Always knew Mac users secretly wanted to switch to Windows <wink>.
* Remove various outdated files. (Leaving find_recursionlimit.py alone,Andrew M. Kuchling2001-08-069-835/+0
| | | | as Neil pointed out it isn't the same as sys.getrecursionlimit)