]>
granicus.if.org Git - python/log
Facundo Batista [Fri, 14 Sep 2007 21:29:52 +0000 (21:29 +0000)]
Some additions (examples and a bit on the tutorial).
Thomas Heller [Fri, 14 Sep 2007 19:40:35 +0000 (19:40 +0000)]
ctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
Fixes issue #
1777530 ; will backport to release25-maint.
Facundo Batista [Fri, 14 Sep 2007 18:58:34 +0000 (18:58 +0000)]
Included the new functions, and new descriptions.
Martin v. Löwis [Fri, 14 Sep 2007 06:50:21 +0000 (06:50 +0000)]
Rename import library for debug build to _msi_d.lib.
Martin v. Löwis [Fri, 14 Sep 2007 06:49:43 +0000 (06:49 +0000)]
Clean both Release and Debug projects, to support
the MSI builder.
Andrew M. Kuchling [Thu, 13 Sep 2007 22:50:10 +0000 (22:50 +0000)]
Make target unique
Andrew M. Kuchling [Thu, 13 Sep 2007 22:49:34 +0000 (22:49 +0000)]
Add various items
Facundo Batista [Thu, 13 Sep 2007 18:42:09 +0000 (18:42 +0000)]
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.
Facundo Batista [Thu, 13 Sep 2007 18:13:15 +0000 (18:13 +0000)]
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.
Mark Summerfield [Thu, 13 Sep 2007 14:54:30 +0000 (14:54 +0000)]
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().
Martin v. Löwis [Thu, 13 Sep 2007 13:27:27 +0000 (13:27 +0000)]
More path fixes.
Martin v. Löwis [Thu, 13 Sep 2007 10:38:42 +0000 (10:38 +0000)]
Fix path.
Martin v. Löwis [Thu, 13 Sep 2007 09:59:00 +0000 (09:59 +0000)]
Add more automated actions.
Georg Brandl [Wed, 12 Sep 2007 19:29:28 +0000 (19:29 +0000)]
#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.
Georg Brandl [Wed, 12 Sep 2007 19:00:07 +0000 (19:00 +0000)]
Bug #1153: repr.repr() now doesn't require set and dictionary items
to be orderable to properly represent them.
Bill Janssen [Wed, 12 Sep 2007 18:52:05 +0000 (18:52 +0000)]
root certificate for https://svn.python.org/, used in test_ssl
Georg Brandl [Wed, 12 Sep 2007 18:29:18 +0000 (18:29 +0000)]
bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.
Georg Brandl [Wed, 12 Sep 2007 18:10:56 +0000 (18:10 +0000)]
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.
Georg Brandl [Wed, 12 Sep 2007 18:08:33 +0000 (18:08 +0000)]
Fix #1122: wrong return type documented for various _Size() functions.
Georg Brandl [Wed, 12 Sep 2007 18:05:57 +0000 (18:05 +0000)]
Bug #1152: use non-deprecated name in example.
Georg Brandl [Wed, 12 Sep 2007 18:03:51 +0000 (18:03 +0000)]
New documentation page for the bdb module.
(This doesn't need to be merged to Py3k.)
Brett Cannon [Tue, 11 Sep 2007 21:02:28 +0000 (21:02 +0000)]
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.
Thomas Heller [Tue, 11 Sep 2007 19:17:48 +0000 (19:17 +0000)]
Disable some tests that fail on the 'ppc Debian unstable' buildbot to
find out if they cause the segfault on the 'alpha Debian' machine.
Nick Coghlan [Tue, 11 Sep 2007 14:01:18 +0000 (14:01 +0000)]
Always use the -E flag when spawning subprocesses in test_cmd_line (Issue 1056)
Bill Janssen [Tue, 11 Sep 2007 02:42:07 +0000 (02:42 +0000)]
Fix some documentation bugs.
Bill Janssen [Tue, 11 Sep 2007 01:09:19 +0000 (01:09 +0000)]
Make sure test_ssl doesn't reference the ssl module in a
context where it can't be imported.
Bill Janssen [Mon, 10 Sep 2007 23:41:24 +0000 (23:41 +0000)]
A better way of finding an open port to test with.
Guido van Rossum [Mon, 10 Sep 2007 22:36:02 +0000 (22:36 +0000)]
Patch # 1026 by Benjamin Aranguren (with Alex Martelli):
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.
Guido van Rossum [Mon, 10 Sep 2007 22:02:25 +0000 (22:02 +0000)]
Patch # 1140 (my code, approved by Effbot).
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.
Bill Janssen [Mon, 10 Sep 2007 21:51:02 +0000 (21:51 +0000)]
More work on SSL support.
* 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.
Brett Cannon [Mon, 10 Sep 2007 21:38:27 +0000 (21:38 +0000)]
Fix a possible segfault from recursing too deep to get the repr of a list.
Closes issue #1096.
Gregory P. Smith [Mon, 10 Sep 2007 16:36:32 +0000 (16:36 +0000)]
Don't allow BerkeleyDB 4.6.x as the current 4.6.19 release is prone
to lockups. We'll reenable it once a good 4.6.x release exists.
Martin v. Löwis [Mon, 10 Sep 2007 13:30:38 +0000 (13:30 +0000)]
Require that bash.exe is on the path, along with the rest of Cygwin.
Martin v. Löwis [Mon, 10 Sep 2007 13:20:03 +0000 (13:20 +0000)]
Update before making htmlhelp.
Martin v. Löwis [Mon, 10 Sep 2007 13:19:10 +0000 (13:19 +0000)]
Allow making update with no prior checkout.
Martin v. Löwis [Mon, 10 Sep 2007 10:22:05 +0000 (10:22 +0000)]
Beginnings of a "build MSI" step.
Martin v. Löwis [Mon, 10 Sep 2007 10:21:22 +0000 (10:21 +0000)]
Take chm file from build/htmlhelp/pydoc.chm.
Martin v. Löwis [Mon, 10 Sep 2007 06:18:32 +0000 (06:18 +0000)]
tr a-z A-Z does not work on Solaris (would require
/usr/xpg4/bin/tr); make the character ranges explicit.
Gregory P. Smith [Sun, 9 Sep 2007 23:36:46 +0000 (23:36 +0000)]
Change socket.error to inherit from IOError rather than being a stand
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.
Gregory P. Smith [Sun, 9 Sep 2007 20:25:00 +0000 (20:25 +0000)]
email address update
Ronald Oussoren [Sun, 9 Sep 2007 11:13:42 +0000 (11:13 +0000)]
Newer autoconf versions (from 2.60) want a 'datarootdir' definition in
(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>
Skip Montanaro [Sat, 8 Sep 2007 00:34:17 +0000 (00:34 +0000)]
be explicit about the actual location of the missing file
Georg Brandl [Fri, 7 Sep 2007 20:10:49 +0000 (20:10 +0000)]
#1095: ln -f doesn't work portably, fix in Makefile.
Georg Brandl [Fri, 7 Sep 2007 14:14:40 +0000 (14:14 +0000)]
Fix a wrong indentation for sublists.
Thomas Heller [Fri, 7 Sep 2007 09:33:24 +0000 (09:33 +0000)]
Backport from py3k branch:
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.
Thomas Heller [Fri, 7 Sep 2007 09:30:40 +0000 (09:30 +0000)]
Remove unneeded #include.
Thomas Heller [Fri, 7 Sep 2007 06:32:17 +0000 (06:32 +0000)]
Add a 'c_longdouble' type to the ctypes module.
Brett Cannon [Fri, 7 Sep 2007 04:18:30 +0000 (04:18 +0000)]
Fix a crasher where Python code managed to infinitely recurse in C code without
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.
Brett Cannon [Fri, 7 Sep 2007 03:17:50 +0000 (03:17 +0000)]
Make uuid1 and uuid4 tests conditional on whether ctypes can be imported;
implementation of either function depends on ctypes but uuid as a whole does
not.
Gregory P. Smith [Thu, 6 Sep 2007 22:59:59 +0000 (22:59 +0000)]
Apply the fix from Issue1112 to make this test more robust and keep
windows happy.
Skip Montanaro [Thu, 6 Sep 2007 22:29:06 +0000 (22:29 +0000)]
If this is correct for py3k branch and it's already in the release25-maint
branch, seems like it ought to be on the trunk as well.
Thomas Heller [Thu, 6 Sep 2007 20:26:20 +0000 (20:26 +0000)]
Fix typo: c_float represents to C float type.
Georg Brandl [Thu, 6 Sep 2007 14:49:56 +0000 (14:49 +0000)]
Backport from 3k: #1116: fix reference to old filename.
Armin Rigo [Thu, 6 Sep 2007 09:30:38 +0000 (09:30 +0000)]
PyDict_GetItem() returns a borrowed reference.
This attack is against ceval.c:IMPORT_NAME, which calls an
object (__builtin__.__import__) without holding a reference to it.
Armin Rigo [Thu, 6 Sep 2007 08:30:51 +0000 (08:30 +0000)]
Patch #
1733973 by peaker:
ptrace_enter_call() assumes no exception is currently set.
This assumption is broken when throwing into a generator.
Georg Brandl [Wed, 5 Sep 2007 13:36:44 +0000 (13:36 +0000)]
Backport from Py3k: Bug #
1684991 : explain lookup semantics for __special__ methods (new-style classes only).
Martin v. Löwis [Wed, 5 Sep 2007 11:47:34 +0000 (11:47 +0000)]
Patch #786737: Allow building in a tree of symlinks pointing to
a readonly source.
Armin Rigo [Wed, 5 Sep 2007 07:51:21 +0000 (07:51 +0000)]
PyDict_GetItem() returns a borrowed reference.
There are probably a number of places that are open to attacks
such as the following one, in bltinmodule.c:min_max().
Martin v. Löwis [Wed, 5 Sep 2007 06:39:17 +0000 (06:39 +0000)]
Patch #1105: Explain that one needs to build the solution
to get dependencies right.
Bill Janssen [Wed, 5 Sep 2007 00:46:27 +0000 (00:46 +0000)]
SSL certificate distinguished names should be represented by tuples
Matthias Klose [Tue, 4 Sep 2007 20:46:02 +0000 (20:46 +0000)]
- Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*.
Matthias Klose [Tue, 4 Sep 2007 19:05:38 +0000 (19:05 +0000)]
- Makefile.pre.in(buildbottest): Remove whitespace at eol.
Matthias Klose [Tue, 4 Sep 2007 18:17:36 +0000 (18:17 +0000)]
- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
to include some information about the build environment.
Martin v. Löwis [Tue, 4 Sep 2007 14:19:28 +0000 (14:19 +0000)]
Patch #
1031213 : Decode source line in SyntaxErrors back to its original
source encoding. Will backport to 2.5.
Martin v. Löwis [Tue, 4 Sep 2007 13:13:14 +0000 (13:13 +0000)]
Patch #
1388440 : Add set_completion_display_matches_hook and
get_completion_type to readline.
Martin v. Löwis [Tue, 4 Sep 2007 09:51:57 +0000 (09:51 +0000)]
Document that we rely on the OS to release the crypto
context. Fixes #
1626801 .
Mark Summerfield [Tue, 4 Sep 2007 08:16:15 +0000 (08:16 +0000)]
Added cross-references plus a note about dict & list shallow copying.
Matthias Klose [Mon, 3 Sep 2007 23:33:04 +0000 (23:33 +0000)]
- Added support for linking the bsddb module against BerkeleyDB 4.6.x.
Georg Brandl [Mon, 3 Sep 2007 07:16:46 +0000 (07:16 +0000)]
Fix #883466: don't allow Unicode as arguments to quopri and uu codecs.
Ronald Oussoren [Sun, 2 Sep 2007 09:46:07 +0000 (09:46 +0000)]
Macosx: this patch ensures that the value of MACOSX_DEPLOYMENT_TARGET used
by the Makefile is also used at configure-time.
Andrew M. Kuchling [Sat, 1 Sep 2007 21:18:31 +0000 (21:18 +0000)]
Add more items
Andrew M. Kuchling [Sat, 1 Sep 2007 21:17:58 +0000 (21:17 +0000)]
Wording change
Andrew M. Kuchling [Sat, 1 Sep 2007 20:43:36 +0000 (20:43 +0000)]
Add various items
Andrew M. Kuchling [Sat, 1 Sep 2007 20:31:59 +0000 (20:31 +0000)]
Markup fix
Walter Dörwald [Sat, 1 Sep 2007 18:34:05 +0000 (18:34 +0000)]
Fix typo.
Walter Dörwald [Sat, 1 Sep 2007 18:18:09 +0000 (18:18 +0000)]
Fix wrong function names.
Skip Montanaro [Sat, 1 Sep 2007 17:40:03 +0000 (17:40 +0000)]
Added a note and examples to explain that re.split does not split on an
empty pattern match. (issue 852532).
Georg Brandl [Sat, 1 Sep 2007 15:49:49 +0000 (15:49 +0000)]
Document sets' ">" and "<" operations (backport from py3k).
Georg Brandl [Sat, 1 Sep 2007 07:51:24 +0000 (07:51 +0000)]
Fix RST link (backport from Py3k).
Martin v. Löwis [Sat, 1 Sep 2007 06:36:03 +0000 (06:36 +0000)]
Bug #
1737210 : Change Manufacturer of Windows installer to PSF.
Will backport to 2.5.
Bill Janssen [Fri, 31 Aug 2007 19:03:31 +0000 (19:03 +0000)]
remove use of non-existent SSLFakeSocket in apparently untested code
Bill Janssen [Fri, 31 Aug 2007 19:02:46 +0000 (19:02 +0000)]
remove mentions of socket.ssl in comments
Bill Janssen [Fri, 31 Aug 2007 19:02:23 +0000 (19:02 +0000)]
deprecate use of FakeSocket
Martin v. Löwis [Fri, 31 Aug 2007 10:01:07 +0000 (10:01 +0000)]
Mark registry components as 64-bit on Win64.
Georg Brandl [Fri, 31 Aug 2007 08:47:51 +0000 (08:47 +0000)]
Fix subitem markup.
Georg Brandl [Fri, 31 Aug 2007 06:59:27 +0000 (06:59 +0000)]
Document new shorthand notation for index entries.
Thomas Wouters [Thu, 30 Aug 2007 22:35:31 +0000 (22:35 +0000)]
One more fix to consider missing SSL support.
Thomas Wouters [Thu, 30 Aug 2007 21:54:39 +0000 (21:54 +0000)]
Don't lie in __all__ attributes when SSL is not available: only add the SSL
classes when they are actually created.
Thomas Wouters [Thu, 30 Aug 2007 21:01:17 +0000 (21:01 +0000)]
Somewhat-preliminary slice-object and extended slicing support for ctypes.
The exact behaviour of omitted and negative indices for the Pointer type may
need a closer look (especially as it's subtly different from simple slices)
but there's time yet before 2.6, and not enough before 3.0a1 :-)
Lars Gustäbel [Thu, 30 Aug 2007 20:24:31 +0000 (20:24 +0000)]
Warn about possible risks when extracting untrusted archives.
Martin v. Löwis [Thu, 30 Aug 2007 20:10:57 +0000 (20:10 +0000)]
Bump autoconf minimum version to 2.61.
Martin v. Löwis [Thu, 30 Aug 2007 19:04:09 +0000 (19:04 +0000)]
Bug #
1709599 : Run test_1565150 only if the file system is NTFS.
Martin v. Löwis [Thu, 30 Aug 2007 18:25:47 +0000 (18:25 +0000)]
Bug #
1746880 : Correctly install DLLs into system32 folder on Win64.
Martin v. Löwis [Thu, 30 Aug 2007 18:15:22 +0000 (18:15 +0000)]
Fix typo.
Martin v. Löwis [Thu, 30 Aug 2007 18:14:01 +0000 (18:14 +0000)]
Fix popen usage.
Bill Janssen [Thu, 30 Aug 2007 18:08:06 +0000 (18:08 +0000)]
added note on new ssl module and deprecation of socket.ssl
Bill Janssen [Thu, 30 Aug 2007 17:07:28 +0000 (17:07 +0000)]
Added docstrings to methods and functions.
Walter Dörwald [Thu, 30 Aug 2007 15:34:55 +0000 (15:34 +0000)]
Set startinpos before calling the error handler.
Walter Dörwald [Thu, 30 Aug 2007 15:30:09 +0000 (15:30 +0000)]
Rewrap line.
Mark Summerfield [Thu, 30 Aug 2007 15:03:03 +0000 (15:03 +0000)]
Added more cross-references.