Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some notes that got python to work on the snake farm | Neal Norwitz | 2003-02-02 | 1 | -0/+16 |
| | |||||
* | long(string, base) now takes time linear in len(string) when base is a | Tim Peters | 2003-02-02 | 1 | -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 Peters | 2003-02-01 | 1 | -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 Hettinger | 2003-02-01 | 1 | -0/+3 |
| | |||||
* | The various datetime object __setstate__() methods are no longer public | Tim Peters | 2003-01-31 | 1 | -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 Heller | 2003-01-31 | 1 | -0/+3 |
| | |||||
* | Fix SF bug# 676155, RuntimeWarning with tp_compare | Neal Norwitz | 2003-01-28 | 1 | -0/+4 |
| | | | | Check return value of PyLong_AsDouble(), it can return an error. | ||||
* | Support socket timeout in SSL, by Geoff Talvola. | Guido van Rossum | 2003-01-27 | 2 | -0/+4 |
| | | | | (SF patch #675750, to fix SF bug #675552.) | ||||
* | Moving pickletools.py from the sandbox into the std library. I started | Tim Peters | 2003-01-27 | 1 | -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 stead | Jack Jansen | 2003-01-27 | 1 | -1/+5 |
| | | | | of the usual frantic editing at the last moment:-) | ||||
* | Patch #670715: Universal Unicode Codec for POSIX iconv. | Martin v. Löwis | 2003-01-26 | 1 | -0/+3 |
| | |||||
* | Part 3 of Py2.3 update | Raymond Hettinger | 2003-01-26 | 1 | -49/+93 |
| | |||||
* | SF #642974, logging SysLogHandler proto type wrong | Neal Norwitz | 2003-01-26 | 1 | -0/+3 |
| | | | | Syslog uses UDP (SOCK_DGRAM) | ||||
* | Patch #636005: Filter unicode into unicode. | Martin v. Löwis | 2003-01-25 | 1 | -0/+2 |
| | |||||
* | Part II of Python2.3 update | Raymond Hettinger | 2003-01-25 | 1 | -12/+24 |
| | |||||
* | Part I of an update for Python 2.3. | Raymond Hettinger | 2003-01-25 | 1 | -60/+67 |
| | |||||
* | date and datetime comparison: when we don't know how to | Tim Peters | 2003-01-24 | 1 | -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 Schemenauer | 2003-01-24 | 1 | -1/+4 |
| | |||||
* | Bump the Windows build to use Sleepycat's 4.1.25.NC release (the | Tim Peters | 2003-01-24 | 1 | -3/+6 |
| | | | | latest bsddb release without strong cryptography). | ||||
* | SF bug 660872: datetimetz constructors behave counterintuitively (2.3a1). | Tim Peters | 2003-01-23 | 1 | -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 Peters | 2003-01-23 | 1 | -0/+11 |
| | |||||
* | add support for Python's bool type to xmlrpclib - patch # 559288 | Skip Montanaro | 2003-01-22 | 1 | -0/+2 |
| | |||||
* | "Premature" doc changes, for new astimezone() rules, and the new | Tim Peters | 2003-01-22 | 1 | -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.c | Raymond Hettinger | 2003-01-18 | 1 | -2/+5 |
| | |||||
* | Gyro Func for patch #661719. | Martin v. Löwis | 2003-01-15 | 1 | -1/+2 |
| | |||||
* | Patch #661719: Expose compilation errors as exceptions on request. | Martin v. Löwis | 2003-01-15 | 1 | -0/+3 |
| | |||||
* | Patch #473586: Implement CGIXMLRPCRequestHandler. | Martin v. Löwis | 2003-01-15 | 1 | -0/+3 |
| | |||||
* | Explicitly raise an exception in __cmp__ -- this clarifies that cmp() | Guido van Rossum | 2003-01-14 | 1 | -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 subclass | Neal Norwitz | 2003-01-13 | 1 | -0/+3 |
| | | | | | | | Fix infinite recursion which occurred when printing an object whose __str__() returned self. Will backport | ||||
* | SF #639945 was fixed in alpha 1 | Neal Norwitz | 2003-01-10 | 1 | -0/+2 |
| | |||||
* | Fix SF bug # 602259, 3rd parameter for Tkinter.scan_dragto | Neal Norwitz | 2003-01-10 | 1 | -0/+3 |
| | | | | Add the optional gain parameter and pass it to Tk. | ||||
* | SF #665913, Fix mmap module core dump with unix | Neal Norwitz | 2003-01-10 | 1 | -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 timetz | Tim Peters | 2003-01-08 | 1 | -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 Jansen | 2003-01-08 | 1 | -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 Heller | 2003-01-08 | 1 | -0/+3 |
| | |||||
* | Note about rexec.py and Bastion.py. This requires doc changes and | Guido van Rossum | 2003-01-07 | 1 | -0/+3 |
| | | | | whatsnew updates as well. | ||||
* | A note about EX_OK and friends in the posixmodule. | Barry Warsaw | 2003-01-07 | 1 | -0/+2 |
| | |||||
* | Fix from Michael Stone for SF bug #660476 and #513033 (bogus thread | Guido van Rossum | 2003-01-07 | 2 | -0/+5 |
| | | | | state swaps in readline). | ||||
* | removing - contains outdated information | Skip Montanaro | 2003-01-06 | 1 | -24/+0 |
| | |||||
* | SF feature #618024, urlparse fails on imap:// | Neal Norwitz | 2003-01-06 | 1 | -0/+1 |
| | |||||
* | SF #651082, tarfile module implementation from Lars Gustäbel | Neal Norwitz | 2003-01-05 | 2 | -0/+5 |
| | |||||
* | datetime_from_timet_and_us(): ignore leap seconds if the platform | Tim Peters | 2003-01-04 | 1 | -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 all | Tim Peters | 2003-01-04 | 1 | -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 other | Skip Montanaro | 2003-01-04 | 1 | -68/+0 |
| | | | | platform-specific verbiage lives. | ||||
* | Remark about datetime tzinfo examples. | Tim Peters | 2003-01-03 | 1 | -3/+6 |
| | |||||
* | Allow PyFile_GetLine() to return Unicode objects. Fixes #660165. | Martin v. Löwis | 2003-01-03 | 1 | -0/+2 |
| | |||||
* | Fix SF #659228, 'realpath' function missing from os.path | Neal Norwitz | 2003-01-03 | 1 | -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 Ward | 2003-01-03 | 1 | -0/+5 |
| | |||||
* | Mention that imaplib now supports SSL -- this wasn't noted before. | Guido van Rossum | 2003-01-03 | 1 | -0/+2 |
| | |||||
* | Fixed markup. | David Goodger | 2003-01-03 | 1 | -8/+17 |
| |