summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Add some notes that got python to work on the snake farmNeal Norwitz2003-02-021-0/+16
|
* long(string, base) now takes time linear in len(string) when base is aTim Peters2003-02-021-0/+3
| | | | | power of 2. Enabled the tail end of test_long() in pickletester.py because it no longer takes forever when run from test_pickle.py.
* There's no good reason for datetime objects to expose __getstate__()Tim Peters2003-02-011-2/+2
| | | | | | anymore either, so don't. This also allows to get rid of obscure code making __getnewargs__ identical to __getstate__ (hmm ... hope there wasn't more to this than I realize!).
* Move itertools module from the sandbox and into production.Raymond Hettinger2003-02-011-0/+3
|
* The various datetime object __setstate__() methods are no longer publicTim Peters2003-01-311-1/+6
| | | | | | | | (pickling no longer needs them, and immutable objects shouldn't have visible __setstate__() methods regardless). Rearranged the code to put the internal setstate functions in the constructor sections. Repaired the timedelta reduce() method, which was still producing stuff that required a public timedelta.__setstate__() when unpickling.
* Patch #669198: Add cflags to RC compile.Thomas Heller2003-01-311-0/+3
|
* Fix SF bug# 676155, RuntimeWarning with tp_compareNeal Norwitz2003-01-281-0/+4
| | | | Check return value of PyLong_AsDouble(), it can return an error.
* Support socket timeout in SSL, by Geoff Talvola.Guido van Rossum2003-01-272-0/+4
| | | | (SF patch #675750, to fix SF bug #675552.)
* Moving pickletools.py from the sandbox into the std library. I startedTim Peters2003-01-271-2/+6
| | | | | this over the weekend, and it made faster & better progress than I expected -- it's already useful <wink>.
* Attempting to keep the Mac section of the NEWS file up-to-date, in steadJack Jansen2003-01-271-1/+5
| | | | of the usual frantic editing at the last moment:-)
* Patch #670715: Universal Unicode Codec for POSIX iconv.Martin v. Löwis2003-01-261-0/+3
|
* Part 3 of Py2.3 updateRaymond Hettinger2003-01-261-49/+93
|
* SF #642974, logging SysLogHandler proto type wrongNeal Norwitz2003-01-261-0/+3
| | | | Syslog uses UDP (SOCK_DGRAM)
* Patch #636005: Filter unicode into unicode.Martin v. Löwis2003-01-251-0/+2
|
* Part II of Python2.3 updateRaymond Hettinger2003-01-251-12/+24
|
* Part I of an update for Python 2.3.Raymond Hettinger2003-01-251-60/+67
|
* date and datetime comparison: when we don't know how toTim Peters2003-01-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | compare against "the other" argument, we raise TypeError, in order to prevent comparison from falling back to the default (and worse than useless, in this case) comparison by object address. That's fine so far as it goes, but leaves no way for another date/datetime object to make itself comparable to our objects. For example, it leaves Marc-Andre no way to teach mxDateTime dates how to compare against Python dates. Discussion on Python-Dev raised a number of impractical ideas, and the simple one implemented here: when we don't know how to compare against "the other" argument, we raise TypeError *unless* the other object has a timetuple attr. In that case, we return NotImplemented instead, and Python will give the other object a shot at handling the comparison then. Note that comparisons of time and timedelta objects still suffer the original problem, though.
* Add news about getargs change.Neil Schemenauer2003-01-241-1/+4
|
* Bump the Windows build to use Sleepycat's 4.1.25.NC release (theTim Peters2003-01-241-3/+6
| | | | latest bsddb release without strong cryptography).
* SF bug 660872: datetimetz constructors behave counterintuitively (2.3a1).Tim Peters2003-01-231-0/+4
| | | | | | This gives much the same treatment to datetime.fromtimestamp(stamp, tz) as the last batch of checkins gave to datetime.now(tz): do "the obvious" thing with the tz argument instead of a senseless thing.
* Reimplemented datetime.now() to be useful.Tim Peters2003-01-231-0/+11
|
* add support for Python's bool type to xmlrpclib - patch # 559288Skip Montanaro2003-01-221-0/+2
|
* "Premature" doc changes, for new astimezone() rules, and the newTim Peters2003-01-221-3/+19
| | | | | | | | | tzinfo.fromutc() method. The C code doesn't implement any of this yet (well, not the C code on the machine I'm using now), nor does the test suite reflect it. The Python datetime.py implementation and test suite in the sandbox do match these doc changes. The C implementation probably won't catch up before Thursday (Wednesday is a scheduled "black hole" day this week <0.4 wink>).
* SF patch #670423: Add missing identity tests to operator.cRaymond Hettinger2003-01-181-2/+5
|
* Gyro Func for patch #661719.Martin v. Löwis2003-01-151-1/+2
|
* Patch #661719: Expose compilation errors as exceptions on request.Martin v. Löwis2003-01-151-0/+3
|
* Patch #473586: Implement CGIXMLRPCRequestHandler.Martin v. Löwis2003-01-151-0/+3
|
* Explicitly raise an exception in __cmp__ -- this clarifies that cmp()Guido van Rossum2003-01-141-0/+4
| | | | | | is not supported on sets. (Unfortunately, sorting a list of sets may still return random results because it uses < exclusively, but for sets that inly implements a partial ordering. Oh well.)
* Fix SF bug #667147, Segmentation fault printing str subclassNeal Norwitz2003-01-131-0/+3
| | | | | | | Fix infinite recursion which occurred when printing an object whose __str__() returned self. Will backport
* SF #639945 was fixed in alpha 1Neal Norwitz2003-01-101-0/+2
|
* Fix SF bug # 602259, 3rd parameter for Tkinter.scan_dragtoNeal Norwitz2003-01-101-0/+3
| | | | Add the optional gain parameter and pass it to Tk.
* SF #665913, Fix mmap module core dump with unixNeal Norwitz2003-01-101-0/+3
| | | | Closing an mmap'ed file (calling munmap) twice on Solaris caused a core dump.
* Utterly minimal changes to collapse datetimetz into datetime, and timetzTim Peters2003-01-081-1/+8
| | | | | | | | | into time. This is little more than *exporting* the datetimetz object under the name "datetime", and similarly for timetz. A good implementation of this change requires more work, but this is fully functional if you don't stare too hard at the internals (e.g., right now a type named "datetime" shows up as a base class of the type named "datetime"). The docs also need extensive revision, not part of this checkin.
* Made "ascii" the default encoding for MacPython, as suggested by MvL, and ↵Jack Jansen2003-01-081-0/+5
| | | | ripped out my previous changes to test_unicode. Doing this for 2.3a1 should give people enough time to complain, if they want to, and then we can see whether we want to do anything about it.
* Mention the change from patch #664376.Thomas Heller2003-01-081-0/+3
|
* Note about rexec.py and Bastion.py. This requires doc changes andGuido van Rossum2003-01-071-0/+3
| | | | whatsnew updates as well.
* A note about EX_OK and friends in the posixmodule.Barry Warsaw2003-01-071-0/+2
|
* Fix from Michael Stone for SF bug #660476 and #513033 (bogus threadGuido van Rossum2003-01-072-0/+5
| | | | state swaps in readline).
* removing - contains outdated informationSkip Montanaro2003-01-061-24/+0
|
* SF feature #618024, urlparse fails on imap://Neal Norwitz2003-01-061-0/+1
|
* SF #651082, tarfile module implementation from Lars GustäbelNeal Norwitz2003-01-052-0/+5
|
* datetime_from_timet_and_us(): ignore leap seconds if the platformTim Peters2003-01-041-0/+6
| | | | | | | localtime()/gmtime() insists on delivering them, + associated doc changes. Redid the docs for datetimtez.astimezone().
* A new implementation of astimezone() that does what we agreed on in allTim Peters2003-01-041-2/+12
| | | | | | cases, plus even tougher tests of that. This implementation follows the correctness proof very closely, and should also be quicker (yes, I wrote the proof before the code, and the code proves the proof <wink>).
* Moved this info to the top-level README where all the otherSkip Montanaro2003-01-041-68/+0
| | | | platform-specific verbiage lives.
* Remark about datetime tzinfo examples.Tim Peters2003-01-031-3/+6
|
* Allow PyFile_GetLine() to return Unicode objects. Fixes #660165.Martin v. Löwis2003-01-031-0/+2
|
* Fix SF #659228, 'realpath' function missing from os.pathNeal Norwitz2003-01-031-1/+4
| | | | | | | Also added realpath = abspath for os2emx, similar to windows/mac which also don't really implement realpath. Backport candidate, I think?
* Mention ossaudiodev.Greg Ward2003-01-031-0/+5
|
* Mention that imaplib now supports SSL -- this wasn't noted before.Guido van Rossum2003-01-031-0/+2
|
* Fixed markup.David Goodger2003-01-031-8/+17
|