summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add various itemsAndrew M. Kuchling2007-09-131-0/+428
|
* Put the parameter watchexp back in (changed watchexp from an intFacundo Batista2007-09-131-2/+13
| | | | | | | 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.
* Merged the decimal-branch (revisions 54886 to 58140). Decimal is nowFacundo Batista2007-09-13149-3037/+60541
| | | | | | | 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.
* Replaced variable o with obj in operator.rst because o is easy toMark Summerfield2007-09-134-41/+50
| | | | | | | | | 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().
* More path fixes.Martin v. Löwis2007-09-131-1/+1
|
* Fix path.Martin v. Löwis2007-09-131-1/+1
|
* Add more automated actions.Martin v. Löwis2007-09-131-2/+16
|
* #1120: put explicit version in the shebang lines of pydoc, idleGeorg Brandl2007-09-121-1/+2
| | | | | and smtpd.py scripts that are installed by setup.py. That way, they work when only "make altinstall" is used.
* Bug #1153: repr.repr() now doesn't require set and dictionary itemsGeorg Brandl2007-09-123-5/+28
| | | | to be orderable to properly represent them.
* root certificate for https://svn.python.org/, used in test_sslBill Janssen2007-09-121-0/+26
|
* bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.Georg Brandl2007-09-123-0/+3
|
* Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.Georg Brandl2007-09-121-1/+1
|
* Fix #1122: wrong return type documented for various _Size() functions.Georg Brandl2007-09-121-4/+4
|
* Bug #1152: use non-deprecated name in example.Georg Brandl2007-09-121-1/+1
|
* New documentation page for the bdb module.Georg Brandl2007-09-124-8/+357
| | | | (This doesn't need to be merged to Py3k.)
* Generators had their throw() method allowing string exceptions. That's aBrett Cannon2007-09-113-5/+5
| | | | | | | no-no. Fixes issue #1147. Need to fix 2.5 to raise a proper warning if a string exception is passed in.
* Disable some tests that fail on the 'ppc Debian unstable' buildbot toThomas Heller2007-09-112-22/+22
| | | | find out if they cause the segfault on the 'alpha Debian' machine.
* Always use the -E flag when spawning subprocesses in test_cmd_line (Issue 1056)Nick Coghlan2007-09-111-5/+2
|
* Fix some documentation bugs.Bill Janssen2007-09-111-34/+54
|
* Make sure test_ssl doesn't reference the ssl module in aBill Janssen2007-09-111-1/+4
| | | | context where it can't be imported.
* A better way of finding an open port to test with.Bill Janssen2007-09-101-3/+26
|
* Patch # 1026 by Benjamin Aranguren (with Alex Martelli):Guido van Rossum2007-09-104-0/+465
| | | | | | | | Backport abc.py and isinstance/issubclass overloading to 2.6. I had to backport test_typechecks.py myself, and make one small change to abc.py to avoid duplicate work when x.__class__ and type(x) are the same.
* Patch # 1140 (my code, approved by Effbot).Guido van Rossum2007-09-102-17/+33
| | | | | | | | | Make sure the type of the return value of re.sub(x, y, z) is the type of y+x (i.e. unicode if either is unicode, str if they are both str) even if there are no substitutions or if x==z (which triggered various special cases in join_list()). Could be backported to 2.5; no need to port to 3.0.
* More work on SSL support.Bill Janssen2007-09-1015-510/+1593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Much expanded test suite: All protocols tested against all other protocols. All protocols tested with all certificate options. Tests for bad key and bad cert. Test of STARTTLS functionality. Test of RAND_* functions. * Fixes for threading/malloc bug. * Issue 1065 fixed: sslsocket class renamed to SSLSocket. sslerror class renamed to SSLError. Function "wrap_socket" now used to wrap an existing socket. * Issue 1583946 finally fixed: Support for subjectAltName added. Subject name now returned as proper DN list of RDNs. * SSLError exported from socket as "sslerror". * RAND_* functions properly exported from ssl.py. * Documentation improved: Example of how to create a self-signed certificate. Better indexing.
* Fix a possible segfault from recursing too deep to get the repr of a list.Brett Cannon2007-09-103-0/+11
| | | | Closes issue #1096.
* Don't allow BerkeleyDB 4.6.x as the current 4.6.19 release is proneGregory P. Smith2007-09-101-2/+4
| | | | to lockups. We'll reenable it once a good 4.6.x release exists.
* Require that bash.exe is on the path, along with the rest of Cygwin.Martin v. Löwis2007-09-101-1/+1
|
* Update before making htmlhelp.Martin v. Löwis2007-09-101-1/+1
|
* Allow making update with no prior checkout.Martin v. Löwis2007-09-101-1/+1
|
* Beginnings of a "build MSI" step.Martin v. Löwis2007-09-101-0/+10
|
* Take chm file from build/htmlhelp/pydoc.chm.Martin v. Löwis2007-09-101-1/+1
|
* tr a-z A-Z does not work on Solaris (would requireMartin v. Löwis2007-09-101-3/+6
| | | | /usr/xpg4/bin/tr); make the character ranges explicit.
* Change socket.error to inherit from IOError rather than being a standGregory P. Smith2007-09-096-13/+19
| | | | | | | | | | | | | | | | | | | | | | alone class. This addresses the primary concern in http://bugs.python.org/issue1706815 python-dev discussion here: http://mail.python.org/pipermail/python-dev/2007-July/073749.html I chose IOError rather than EnvironmentError as the base class since socket objects are often used as transparent duck typed file objects in code already prepared to deal with IOError exceptions. also a minor fix: urllib2 - fix a couple places where IOError was raised rather than URLError. for better or worse, URLError already inherits from IOError so this won't break any existing code. test_urllib2net - replace bad ftp urls.
* email address updateGregory P. Smith2007-09-0912-15/+15
|
* Newer autoconf versions (from 2.60) want a 'datarootdir' definition inRonald Oussoren2007-09-091-0/+3
| | | | | | | | | | | | | (Make-)files that use mandir (and other data directory macros). This patch solves a warning during configure, specifically: ... config.status: creating Makefile.pre config.status: WARNING: ../Makefile.pre.in seems to ignore the --datarootdir setting ... See also: <http://www.gnu.org/software/automake/manual/autoconf/Changed-Directory-Variables.html>
* be explicit about the actual location of the missing fileSkip Montanaro2007-09-081-1/+2
|
* #1095: ln -f doesn't work portably, fix in Makefile.Georg Brandl2007-09-071-1/+2
|
* Fix a wrong indentation for sublists.Georg Brandl2007-09-071-2/+2
|
* Backport from py3k branch:Thomas Heller2007-09-071-0/+6
| | | | | | Add a workaround for a strange bug on win64, when _ctypes is compiled with the SDK compiler. This should fix the failing Lib\ctypes\test\test_as_parameter.py test.
* Remove unneeded #include.Thomas Heller2007-09-071-1/+0
|
* Add a 'c_longdouble' type to the ctypes module.Thomas Heller2007-09-0713-3/+115
|
* Fix a crasher where Python code managed to infinitely recurse in C code withoutBrett Cannon2007-09-0711-49/+66
| | | | | | | ever going back out to Python code in PyObject_Call(). Required introducing a static RuntimeError instance so that normalizing an exception there is no reliance on a recursive call that would put the exception system over the recursion check itself.
* Make uuid1 and uuid4 tests conditional on whether ctypes can be imported;Brett Cannon2007-09-071-0/+12
| | | | | implementation of either function depends on ctypes but uuid as a whole does not.
* Apply the fix from Issue1112 to make this test more robust and keepGregory P. Smith2007-09-061-9/+22
| | | | windows happy.
* If this is correct for py3k branch and it's already in the release25-maintSkip Montanaro2007-09-061-3/+0
| | | | branch, seems like it ought to be on the trunk as well.
* Fix typo: c_float represents to C float type.Thomas Heller2007-09-061-1/+1
|
* Backport from 3k: #1116: fix reference to old filename.Georg Brandl2007-09-061-1/+1
|
* PyDict_GetItem() returns a borrowed reference.Armin Rigo2007-09-061-0/+28
| | | | | This attack is against ceval.c:IMPORT_NAME, which calls an object (__builtin__.__import__) without holding a reference to it.
* Patch #1733973 by peaker:Armin Rigo2007-09-061-2/+14
| | | | | ptrace_enter_call() assumes no exception is currently set. This assumption is broken when throwing into a generator.
* Backport from Py3k: Bug #1684991: explain lookup semantics for __special__ ↵Georg Brandl2007-09-051-0/+15
| | | | methods (new-style classes only).