Barry Warsaw
b44ba06fb5
Untagging.
2008-03-01 03:00:01 +00:00
Barry Warsaw
4becc2f589
Tagging 2.6a1
2008-03-01 02:57:23 +00:00
Barry Warsaw
7c07523c80
Add date to NEWS
2008-03-01 02:53:36 +00:00
Fred Drake
a8ee94ba1c
fix typo
2008-03-01 02:45:07 +00:00
Barry Warsaw
c853f5d4dc
bump idle version number
2008-03-01 02:26:42 +00:00
Barry Warsaw
5297361198
Bump to version 2.6a1
2008-03-01 02:23:38 +00:00
Gerhard Häring
1cc60ed214
Updated to pysqlite 2.4.1. Documentation additions will come later.
2008-02-29 22:08:41 +00:00
Martin v. Löwis
0e795e7d92
Package Tcl from tcltk64 on AMD64.
2008-02-29 20:54:44 +00:00
Martin v. Löwis
d9153fdc29
Make _hashlib depend on pythoncore.
2008-02-29 20:26:53 +00:00
Martin v. Löwis
9e0513591d
Port build_ssl.py to 2.4; support HOST_PYTHON variable
2008-02-29 18:54:45 +00:00
Georg Brandl
3fd0c442dc
#2208 : allow for non-standard HHC location.
2008-02-29 18:21:29 +00:00
Martin v. Löwis
8b6552deb3
Build db-4.4.20 with VS9; remove VS2003 build if necessary.
2008-02-29 18:17:23 +00:00
Georg Brandl
3c94088d98
Until we got downloadable docs, stop confusing viewers by talking about a nonexisting table.
2008-02-29 18:15:36 +00:00
Martin v. Löwis
f06858d154
Make _hashlib a separate project.
2008-02-29 16:59:21 +00:00
Mark Dickinson
f4da77765f
Fix docstring typo.
2008-02-29 03:29:17 +00:00
Raymond Hettinger
08ff6822cc
Handle the repeat keyword argument for itertools.product().
2008-02-29 02:21:48 +00:00
Mark Dickinson
1ddf1d8482
Add __format__ method to Decimal, to support PEP 3101
2008-02-29 02:16:37 +00:00
Raymond Hettinger
b4cbc98c39
Add alternate constructor for itertools.chain().
2008-02-28 22:46:41 +00:00
Raymond Hettinger
05bf6338b8
Have itertools.chain() consume its inputs lazily instead of building a tuple of iterators at the outset.
2008-02-28 22:30:42 +00:00
Martin v. Löwis
03dc56cd17
Locate VS installation dir from environment, so that it works with the express edition.
2008-02-28 22:20:50 +00:00
Christian Heimes
acfd8ed0cd
Windows fix for signal test - skip it earlier
2008-02-28 21:00:45 +00:00
Martin v. Löwis
d9759c4880
Bundle msvcr90.dll as a "private assembly".
2008-02-28 19:57:34 +00:00
Martin v. Löwis
1c5105d668
Add 2.6aN uuids.
2008-02-28 19:44:22 +00:00
Raymond Hettinger
330958e647
Document impending updates to itertools.
2008-02-28 19:41:24 +00:00
Jeffrey Yasskin
392c159ad6
Prevent SocketServer.ForkingMixIn from waiting on child processes that it
...
didn't create, in most cases. When there are max_children handlers running, it
will still wait for any child process, not just handler processes.
2008-02-28 18:03:15 +00:00
Andrew M. Kuchling
a6298528e1
#2169 : make generated HTML more valid
2008-02-28 14:03:03 +00:00
Christian Heimes
cdddf18768
The empty tuple is usually a singleton with a much higher refcnt than 1
2008-02-28 11:18:49 +00:00
Raymond Hettinger
18750ab2a0
Add repeat keyword argument to itertools.product().
2008-02-28 09:23:48 +00:00
Jeffrey Yasskin
69e1309fd4
Thread.start() used sleep(0.000001) to make sure it didn't return before the
...
new thread had started. At least on my MacBook Pro, that wound up sleeping for
a full 10ms (probably 1 jiffy). By using an Event instead, we can be absolutely
certain that the thread has started, and return more quickly (217us).
Before:
$ ./python.exe -m timeit -s 'from threading import Thread' 't = Thread(); t.start(); t.join()'
100 loops, best of 3: 10.3 msec per loop
$ ./python.exe -m timeit -s 'from threading import Thread; t = Thread()' 't.isAlive()'
1000000 loops, best of 3: 0.47 usec per loop
After:
$ ./python.exe -m timeit -s 'from threading import Thread' 't = Thread(); t.start(); t.join()'
1000 loops, best of 3: 217 usec per loop
$ ./python.exe -m timeit -s 'from threading import Thread; t = Thread()' 't.isAlive()'
1000000 loops, best of 3: 0.86 usec per loop
To be fair, the 10ms isn't CPU time, and other threads including the spawned
one get to run during it. There are also some slightly more complicated ways to
get back the .4us in isAlive() if we want.
2008-02-28 06:09:19 +00:00
Jeffrey Yasskin
180997b2bb
Speed test_socketserver up from 28.739s to 0.226s, simplify the logic, and make
...
sure all tests run even if some fail.
2008-02-28 05:53:18 +00:00
Jeffrey Yasskin
960b9b7a2f
Move abc._Abstract into object by adding a new flag Py_TPFLAGS_IS_ABSTRACT,
...
which forbids constructing types that have it set. The effect is to speed
./python.exe -m timeit -s 'import abc' -s 'class Foo(object): __metaclass__ = abc.ABCMeta' 'Foo()'
up from 2.5us to 0.201us. This fixes issue 1762.
2008-02-28 04:45:36 +00:00
Raymond Hettinger
c105289ec4
Simply the sample code for combinations().
2008-02-27 01:44:34 +00:00
Raymond Hettinger
2ab0552b5e
Larger test range
2008-02-27 01:08:30 +00:00
Raymond Hettinger
3bd771263d
One too many decrefs.
2008-02-27 01:08:04 +00:00
Raymond Hettinger
93e804da9c
Add itertools.combinations().
2008-02-26 23:40:50 +00:00
Georg Brandl
3ef2063ec8
#2194 : fix some typos.
2008-02-26 19:13:45 +00:00
Christian Heimes
ea837931cf
Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and improve error msg
...
My tests don't show the promised speed up of 10%. The code is as fast as the old code for simple cases and slightly faster for complex cases with several of args and kwargs. But the patch simplifies the code, too.
2008-02-26 17:23:51 +00:00
Neal Norwitz
ca37661a69
Add a timing flag to Trace so you can see where slowness occurs
...
like waiting for socket timeouts in test_smtplib :-).
2008-02-26 08:21:28 +00:00
Christian Heimes
aa0ef52ea1
The contains function raised a gcc warning. The new code is copied straight from py3k.
2008-02-26 08:18:11 +00:00
Neal Norwitz
75992edfae
Speed up this test by about 99%. Remove sleeps and replace with events.
...
(This may fail on some slow platforms, but we can fix those cases which
should be relatively isolated and easier to find now.)
Move two test cases that didn't require a server to be started
to a separate TestCase. These tests were taking 3 seconds which
is what the timeout was set to.
2008-02-26 08:04:59 +00:00
Georg Brandl
1b3e41c67e
Banish tab.
2008-02-26 06:40:10 +00:00
Neal Norwitz
df6ac3db57
Whitespace normalization
2008-02-26 05:23:51 +00:00
Neal Norwitz
b628913b08
Whitespace normalization
2008-02-26 05:12:50 +00:00
Neal Norwitz
b0917c14f2
Don't use a hard coded port. This test could hang/fail if the port is in use.
...
Speed this test up by avoiding a sleep and using the event.
2008-02-26 04:50:37 +00:00
Raymond Hettinger
3fa41d5a1c
Docs for itertools.combinations(). Implementation in forthcoming checkin.
2008-02-26 02:46:54 +00:00
Facundo Batista
b1d70e2252
Coerced PyBool_Type to be able to compare it.
2008-02-25 23:46:02 +00:00
Raymond Hettinger
39df66179f
Revert part of r60927 which made invalid assumptions about the API offered by db modules.
2008-02-25 23:17:41 +00:00
Raymond Hettinger
9d63837e9b
Make sure the itertools filter functions give the same performance for func=bool as func=None.
2008-02-25 22:42:32 +00:00
Facundo Batista
df4198915a
Issue 2168. gdbm and dbm needs to be iterable; this fixes a
...
failure in the shelve module. Thanks Thomas Herve.
2008-02-25 22:33:55 +00:00
Georg Brandl
fd429063e1
Revert r61029.
2008-02-25 20:20:45 +00:00