Georg Brandl
5d242eef74
alternate -> alternative.
2007-09-20 08:44:59 +00:00
Raymond Hettinger
7268e9d1ff
Fit nits
2007-09-20 03:03:43 +00:00
Facundo Batista
8c20244069
Issue #1772851 . Optimization of __hash__ to behave better for big big
...
numbers.
2007-09-19 17:53:25 +00:00
Thomas Wouters
ae406c6018
Whitespace cleanup.
2007-09-19 17:27:43 +00:00
Thomas Wouters
b3e6e8c895
Fix obvious typo in threaded test.
2007-09-19 17:27:29 +00:00
Facundo Batista
d544df7ddd
Issue #1772851 . Alters long.__hash__ from being *almost* completely
...
predictable to being completely predictable. The value of hash(n)
is unchanged for any n that's small enough to be representable as an
int, and also unchanged for the vast majority of long integers n of
reasonable size.
2007-09-19 15:10:06 +00:00
Facundo Batista
673debfd63
Annotated the correction to urllib.py, issue #1177
2007-09-19 14:02:03 +00:00
Sean Reifscheider
a1afbf617d
issue1177: Ported Facundo's from urllib2 to urllib, accepting 2xx responses.
2007-09-19 07:52:56 +00:00
Georg Brandl
5a5bc7b10d
Fix #1169 : remove docstrings in functions for -OO.
2007-09-19 06:37:19 +00:00
Sean Reifscheider
111c0ea34a
issue1172: Documentation of "done" attribute in cgi module.
2007-09-18 23:34:44 +00:00
Thomas Wouters
bbaff4c7e8
Properly indent two lines. (Spotted because it caused merge conflicts in the
...
py3k branch ;)
2007-09-18 23:27:30 +00:00
Raymond Hettinger
cbab5949c9
Cleanup docs for NamedTuple.
2007-09-18 22:18:02 +00:00
Facundo Batista
cce8df2f67
Speed up of the various division operations (remainder, divide,
...
divideint and divmod). Thanks Mark Dickinson.
2007-09-18 16:53:18 +00:00
Georg Brandl
745e48dffa
A bit of reordering, also show more subheadings in the lang ref index.
2007-09-18 07:24:40 +00:00
Raymond Hettinger
2b03d45bb9
Handle corner cased on 0-tuples and 1-tuples. Add verbose option so people can see how it works.
2007-09-18 03:33:19 +00:00
Andrew M. Kuchling
de37a8cec7
Add item; sort properly
2007-09-18 01:36:16 +00:00
Sean Reifscheider
f09597c1fd
issue1082: Fixing platform and system for Vista.
2007-09-17 20:53:21 +00:00
Facundo Batista
6c398da0e7
The methods always return Decimal classes, even if they're
...
executed through a subclass (thanks Mark Dickinson).
Added a bit of testing for this.
2007-09-17 17:30:13 +00:00
Facundo Batista
b67da23718
Decimal is updated, :)
2007-09-17 16:26:50 +00:00
Sean Reifscheider
8335acbf24
issue1597011: Fix for bz2 module corner-case error due to error checking bug.
2007-09-17 05:45:04 +00:00
Brett Cannon
0153159e67
Add a bunch of GIL release/acquire points in tp_print implementations and for
...
PyObject_Print().
Closes issue #1164 .
2007-09-17 03:28:34 +00:00
Raymond Hettinger
d36a60e1e3
Sync-up named tuples with the latest version of the ASPN recipe.
...
Allows optional commas in the field-name spec (help when named tuples are used in conjuction with sql queries).
Adds the __fields__ attribute for introspection and to support conversion to dictionary form.
Adds a __replace__() method similar to str.replace() but using a named field as a target.
Clean-up spelling and presentation in doc-strings.
2007-09-17 00:55:00 +00:00
Bill Janssen
bf10c47389
use binary mode when reading files for testAsyncore to make Windows happy
2007-09-16 23:16:46 +00:00
Bill Janssen
296a59d3be
Add support for asyncore server-side SSL support. This requires
...
adding the 'makefile' method to ssl.SSLSocket, and importing the
requisite fakefile class from socket.py, and making the appropriate
changes to it to make it use the SSL connection.
Added sample HTTPS server to test_ssl.py, and test that uses it.
Change SSL tests to use https://svn.python.org/ , instead of
www.sf.net and pop.gmail.com.
Added utility function to ssl module, get_server_certificate,
to wrap up the several things to be done to pull a certificate
from a remote server.
2007-09-16 22:06:00 +00:00
Georg Brandl
7e84c7f4b5
Remove bdb from the "undocumented modules" list.
2007-09-15 16:53:36 +00:00
Facundo Batista
e90bc3c81c
Some additions (examples and a bit on the tutorial).
2007-09-14 21:29:52 +00:00
Thomas Heller
a7f49f733b
ctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
...
Fixes issue #1777530 ; will backport to release25-maint.
2007-09-14 19:40:35 +00:00
Facundo Batista
7c82a3e9c6
Included the new functions, and new descriptions.
2007-09-14 18:58:34 +00:00
Martin v. Löwis
fb57e7e23e
Rename import library for debug build to _msi_d.lib.
2007-09-14 06:50:21 +00:00
Martin v. Löwis
f0a5b09db2
Clean both Release and Debug projects, to support
...
the MSI builder.
2007-09-14 06:49:43 +00:00
Andrew M. Kuchling
1338fbfe59
Make target unique
2007-09-13 22:50:10 +00:00
Andrew M. Kuchling
f10878b74c
Add various items
2007-09-13 22:49:34 +00:00
Facundo Batista
bd2fe839db
Put the parameter watchexp back in (changed watchexp from an int
...
to a bool). Also second argument to watchexp is now converted
to Decimal, just as with all the other two-argument operations.
Thanks Mark Dickinson.
2007-09-13 18:42:09 +00:00
Facundo Batista
353750c405
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
...
fully updated to the latests Decimal Specification (v1.66) and the
latests test cases (v2.56).
Thanks to Mark Dickinson for all his help during this process.
2007-09-13 18:13:15 +00:00
Mark Summerfield
ddca9f0823
Replaced variable o with obj in operator.rst because o is easy to
...
confuse.
Added a note about Python 3's collections.Mapping etc., above section
that describes isMappingType() etc.
Added xrefs between os, os.path, fileinput, and open().
2007-09-13 14:54:30 +00:00
Martin v. Löwis
0dda1e9e94
More path fixes.
2007-09-13 13:27:27 +00:00
Martin v. Löwis
4bd037df5d
Fix path.
2007-09-13 10:38:42 +00:00
Martin v. Löwis
82151c67a4
Add more automated actions.
2007-09-13 09:59:00 +00:00
Georg Brandl
aef205d1a8
#1120 : put explicit version in the shebang lines of pydoc, idle
...
and smtpd.py scripts that are installed by setup.py. That way, they
work when only "make altinstall" is used.
2007-09-12 19:29:28 +00:00
Georg Brandl
8fd3ecf928
Bug #1153 : repr.repr() now doesn't require set and dictionary items
...
to be orderable to properly represent them.
2007-09-12 19:00:07 +00:00
Bill Janssen
c28d5fb456
root certificate for https://svn.python.org/ , used in test_ssl
2007-09-12 18:52:05 +00:00
Georg Brandl
07752aba5e
bug #1154 : release memory allocated by "es" PyArg_ParseTuple format specifier.
2007-09-12 18:29:18 +00:00
Georg Brandl
5a25fcd585
Fix #1139 : PyFile_Encoding really is PyFile_SetEncoding.
2007-09-12 18:10:56 +00:00
Georg Brandl
9c478bd850
Fix #1122 : wrong return type documented for various _Size() functions.
2007-09-12 18:08:33 +00:00
Georg Brandl
bb07a7df91
Bug #1152 : use non-deprecated name in example.
2007-09-12 18:05:57 +00:00
Georg Brandl
0001422a0a
New documentation page for the bdb module.
...
(This doesn't need to be merged to Py3k.)
2007-09-12 18:03:51 +00:00
Brett Cannon
4c20bc40d7
Generators had their throw() method allowing string exceptions. That's a
...
no-no.
Fixes issue #1147 . Need to fix 2.5 to raise a proper warning if a string
exception is passed in.
2007-09-11 21:02:28 +00:00
Thomas Heller
0b7120258a
Disable some tests that fail on the 'ppc Debian unstable' buildbot to
...
find out if they cause the segfault on the 'alpha Debian' machine.
2007-09-11 19:17:48 +00:00
Nick Coghlan
1df42b118c
Always use the -E flag when spawning subprocesses in test_cmd_line (Issue 1056)
2007-09-11 14:01:18 +00:00
Bill Janssen
93bf9ce9b7
Fix some documentation bugs.
2007-09-11 02:42:07 +00:00