]>
granicus.if.org Git - python/log
Georg Brandl [Sun, 25 Apr 2010 10:29:17 +0000 (10:29 +0000)]
Remove LaTeXy index entry syntax.
Georg Brandl [Sun, 25 Apr 2010 10:17:27 +0000 (10:17 +0000)]
#8522: use with statement instead of try-finally for file handling.
Georg Brandl [Sun, 25 Apr 2010 10:16:00 +0000 (10:16 +0000)]
#8528: fix typo.
Sean Reifscheider [Sun, 25 Apr 2010 06:31:23 +0000 (06:31 +0000)]
Fixing obscure syslog corner-case when sys.argv = None, syslog() would call
openlog() for every logged message.
Antoine Pitrou [Sat, 24 Apr 2010 20:04:58 +0000 (20:04 +0000)]
Issue #5103: SSL handshake would ignore the socket timeout and block
indefinitely if the other end didn't respond.
Antoine Pitrou [Sat, 24 Apr 2010 19:57:01 +0000 (19:57 +0000)]
The do_handshake() method of SSL objects now adjusts the blocking mode of
the SSL structure if necessary (as other methods already do).
Brian Curtin [Sat, 24 Apr 2010 17:10:22 +0000 (17:10 +0000)]
Fix #5774. Some _winreg functions are documented as taking kwargs but don't.
Matthias Klose [Sat, 24 Apr 2010 16:38:36 +0000 (16:38 +0000)]
- Issue #8509: Fix quoting in help strings and code snippets in configure.in.
Brian Curtin [Sat, 24 Apr 2010 15:40:11 +0000 (15:40 +0000)]
Fix #7838. Add docstrings and privatize _subprocess implementation details.
Since CREATE_NEW_* are used for the creation flags of a subprocess, they
were added to __all__. The rest of the previously exposed attributes are
now qualified by _subprocess.ATTR rather than importing *.
Antoine Pitrou [Sat, 24 Apr 2010 10:43:57 +0000 (10:43 +0000)]
Make test_makefile_close a networked test (can't read() from a non-connected
socket under OS X), and skip it under Windows (where sockets can't be read()
from using their fds).
Georg Brandl [Sat, 24 Apr 2010 09:08:10 +0000 (09:08 +0000)]
#7507: quote "!" in pipes.quote(); it is a special character for some shells.
Georg Brandl [Sat, 24 Apr 2010 08:56:58 +0000 (08:56 +0000)]
Markup fixes.
Antoine Pitrou [Fri, 23 Apr 2010 23:25:45 +0000 (23:25 +0000)]
Issue #5238: Calling makefile() on an SSL object would prevent the
underlying socket from being closed until all objects get truely destroyed.
Antoine Pitrou [Fri, 23 Apr 2010 22:54:59 +0000 (22:54 +0000)]
Issue #7943: Fix circular reference created when instantiating an SSL
socket. Initial patch by Péter Szabó.
Florent Xicluna [Fri, 23 Apr 2010 18:10:12 +0000 (18:10 +0000)]
Fix the "regrtest -s" switch.
Florent Xicluna [Fri, 23 Apr 2010 17:59:10 +0000 (17:59 +0000)]
Remove ImportWarnings filters. They become obsolete after r79310, issue #8205.
Sean Reifscheider [Fri, 23 Apr 2010 08:38:24 +0000 (08:38 +0000)]
Small comment documentation change to clarify "ident" selection.
Sean Reifscheider [Fri, 23 Apr 2010 08:31:55 +0000 (08:31 +0000)]
issue8451: Making syslog module use sys.argv[0] for "ident".
Antoine Pitrou [Thu, 22 Apr 2010 23:33:02 +0000 (23:33 +0000)]
Issue #8108: Fix the unwrap() method of SSL objects when the socket has
a non-infinite timeout. Also make that method friendlier with applications
wanting to continue using the socket in clear-text mode, by disabling
OpenSSL's internal readahead. Thanks to Darryl Miles for guidance.
Issue #8108: test_ftplib's non-blocking SSL server now has proper handling
of SSL shutdowns.
Georg Brandl [Thu, 22 Apr 2010 22:15:33 +0000 (22:15 +0000)]
Add "report a bug" links in some prominent places. Make it clear that doc bugs can be mailed to docs@python.org. Clarify tracker usage.
Antoine Pitrou [Thu, 22 Apr 2010 18:00:41 +0000 (18:00 +0000)]
Skip test on old versions of OpenSSL
Antoine Pitrou [Thu, 22 Apr 2010 17:44:41 +0000 (17:44 +0000)]
Temporarily display OpenSSL version in verbose run -- trying to diagnose failure on Neal's buildbot.
Senthil Kumaran [Thu, 22 Apr 2010 12:10:13 +0000 (12:10 +0000)]
Changed tests to only urlparse one, which was enough, addressed Ezio's comment
on Invalid url check statement and versionchanged string in docs.
Ezio Melotti [Thu, 22 Apr 2010 11:53:21 +0000 (11:53 +0000)]
Rephrase comment.
Martin v. Löwis [Thu, 22 Apr 2010 11:34:36 +0000 (11:34 +0000)]
Issue #8475: Pass absolute interpreter path to
"make html".
Ezio Melotti [Thu, 22 Apr 2010 11:23:31 +0000 (11:23 +0000)]
#8474: fix duplicate test in test_email.
Senthil Kumaran [Thu, 22 Apr 2010 05:48:35 +0000 (05:48 +0000)]
Updated the RFCs list in the See Also section of urlparse.rst
Antoine Pitrou [Wed, 21 Apr 2010 22:53:29 +0000 (22:53 +0000)]
Issue #7332: Remove the 16KB stack-based buffer in
PyMarshal_ReadLastObjectFromFile, which doesn't bring any noticeable
benefit compared to the dynamic memory allocation fallback. Patch by
Charles-François Natali.
Matthias Klose [Wed, 21 Apr 2010 22:18:52 +0000 (22:18 +0000)]
- Build the ossaudio extension on GNU/kFreeBSD.
Matthias Klose [Wed, 21 Apr 2010 21:45:30 +0000 (21:45 +0000)]
setup.py: search ffi.h in include dirs, if LIBFFI_INCLUDEDIR is empty.
Antoine Pitrou [Wed, 21 Apr 2010 19:36:23 +0000 (19:36 +0000)]
Forgot to add the sample certificate (followup to r80314)
Antoine Pitrou [Wed, 21 Apr 2010 19:28:03 +0000 (19:28 +0000)]
Issue #8484: Load all ciphers and digest algorithms when initializing
the _ssl extension, such that verification of some SSL certificates
doesn't fail because of an "unknown algorithm".
Tarek Ziadé [Wed, 21 Apr 2010 13:32:26 +0000 (13:32 +0000)]
shutil: removed unused import and fixed attributes names in _call_external_zip
Martin v. Löwis [Wed, 21 Apr 2010 06:37:48 +0000 (06:37 +0000)]
Add Tim Golden.
Ronald Oussoren [Wed, 21 Apr 2010 06:00:35 +0000 (06:00 +0000)]
Sync test_plistlib.py with plistlib.py
Victor Stinner [Tue, 20 Apr 2010 22:28:31 +0000 (22:28 +0000)]
Issue #8437: Fix test_gdb failures, patch written by Dave Malcolm
Tarek Ziadé [Tue, 20 Apr 2010 21:09:06 +0000 (21:09 +0000)]
removed ztar support in shutil.make_archive
Ronald Oussoren [Tue, 20 Apr 2010 20:59:37 +0000 (20:59 +0000)]
Fix for issue 7852: the DTD for OSX Plists has changed due
to a change in the company name for Apple.
Senthil Kumaran [Tue, 20 Apr 2010 20:37:59 +0000 (20:37 +0000)]
Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better.
Matthias Klose [Tue, 20 Apr 2010 19:45:34 +0000 (19:45 +0000)]
fix typo in r79533, introduced by the fix for issue #8233
Ezio Melotti [Tue, 20 Apr 2010 16:49:48 +0000 (16:49 +0000)]
#8472: fix wrong function name in functions.rst: itertools.filterfalse -> itertools.ifilterfalse
Brian Curtin [Tue, 20 Apr 2010 15:23:18 +0000 (15:23 +0000)]
Add version info for os.kill and signal changes from #
1220212 .
Ronald Oussoren [Tue, 20 Apr 2010 08:54:48 +0000 (08:54 +0000)]
This patch fixes the handling of a weak-linked
variable and should fix issue #8095.
Ronald Oussoren [Tue, 20 Apr 2010 08:53:12 +0000 (08:53 +0000)]
The PythonLauncher change is needed due
to changes in how the BASECFLAGS and CFLAGS
variables get filled by configure.
The Mac/Makefile.in change ensures that
pythonw gets build with the rigth deployment
targets.
Stefan Krah [Tue, 20 Apr 2010 07:59:10 +0000 (07:59 +0000)]
1) The timeout in the itimer tests was too low for slow or heavily
loaded machines.
2) Even with the increased timeout, the OS does not guarantee that
a process will get a certain amount of virtual time in 60s, so
the failure is changed to a diagnostic.
Senthil Kumaran [Tue, 20 Apr 2010 06:54:59 +0000 (06:54 +0000)]
Fix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls.
Ronald Oussoren [Tue, 20 Apr 2010 05:50:44 +0000 (05:50 +0000)]
Explicitly set system default for $PATH to
ensure we have a clean build environment (OSX installer)
Giampaolo Rodolà [Mon, 19 Apr 2010 21:46:28 +0000 (21:46 +0000)]
Fix Issue #4841: timeout is now applied for connections resulting from PORT/EPRT commands
Tarek Ziadé [Mon, 19 Apr 2010 21:28:21 +0000 (21:28 +0000)]
Fixed #8463: added missing reference to bztar in shutil's documentation.
Tarek Ziadé [Mon, 19 Apr 2010 21:13:03 +0000 (21:13 +0000)]
few pep8 fixes
Antoine Pitrou [Mon, 19 Apr 2010 18:52:43 +0000 (18:52 +0000)]
Issue #8438: Remove reference to the missing "surrogateescape" encoding
error handler from the new IO library.
Raymond Hettinger [Sun, 18 Apr 2010 22:57:57 +0000 (22:57 +0000)]
Issue 8436: set.__init__ accepts keyword args
Antoine Pitrou [Sun, 18 Apr 2010 19:14:38 +0000 (19:14 +0000)]
Fix catastrophic file opening and closing logic in test_linecache
Victor Stinner [Sun, 18 Apr 2010 18:22:25 +0000 (18:22 +0000)]
Revert r80166 (and r80171), restore Lib/platform.py. subprocess cannot be used in platform.py
Ronald Oussoren [Sun, 18 Apr 2010 17:59:37 +0000 (17:59 +0000)]
Add the OSX universal binary related options
to CFLAGS instead of BASECFLAGS.
This fixes issue 8366 and is needed due to
changes introduced in the fix for issue
1628484 .
Ronald Oussoren [Sun, 18 Apr 2010 14:01:05 +0000 (14:01 +0000)]
Add check to build-installer.py to ensure that
the right version of Tcl/Tk is available (on OSX)
Fixes issue #5651
Ronald Oussoren [Sun, 18 Apr 2010 13:47:49 +0000 (13:47 +0000)]
Fix for issue #7072
Giampaolo Rodolà [Sun, 18 Apr 2010 12:55:03 +0000 (12:55 +0000)]
Fix Issue #3817: 225 is now considered a valid response code for ABOR
Antoine Pitrou [Sun, 18 Apr 2010 11:16:24 +0000 (11:16 +0000)]
Fix bootstrap after r80166
Victor Stinner [Sun, 18 Apr 2010 09:07:49 +0000 (09:07 +0000)]
platform: use subprocess.Popen() instead of os.popen() in _syscmd_file()
* Popen() avoids ugly shell escape: target.replace('"', '\\"')
* Use proc.communicate() instead of f.stdout.read()
* Get output from stdout by splitting with ": " instead of splitting by spaces
to support filename with spaces
Martin v. Löwis [Sat, 17 Apr 2010 22:40:40 +0000 (22:40 +0000)]
Issue #8279: Fix test_gdb failures.
R. David Murray [Sat, 17 Apr 2010 21:59:26 +0000 (21:59 +0000)]
Issue #8263: On freebsd6 the unittest 'break' test stops regrtest; skip it.
This is presumably related to issue 3864, and appears to be due
to a platform bug on freebsd6.
Martin v. Löwis [Sat, 17 Apr 2010 17:10:55 +0000 (17:10 +0000)]
Add Giampaolo.
Antoine Pitrou [Sat, 17 Apr 2010 17:10:38 +0000 (17:10 +0000)]
Issue #8322: Add a *ciphers* argument to SSL sockets, so as to change the
available cipher list. Helps fix test_ssl with OpenSSL 1.0.0.
R. David Murray [Sat, 17 Apr 2010 15:45:38 +0000 (15:45 +0000)]
Update link to Apple Publication Style guide.
Senthil Kumaran [Sat, 17 Apr 2010 14:30:53 +0000 (14:30 +0000)]
Fix Issue5650 - Update the RFC List in the urlparse module.
R. David Murray [Sat, 17 Apr 2010 05:26:26 +0000 (05:26 +0000)]
Issue #3864: Skip three test_signal tests on freebsd6 due to platform bug.
Two itimer tests and an interprocess signal test fail on FreeBSD 6 if
any test that starts a thread runs before test_signal. Since FreeBSD7
does not show this behavior, the bug is most likely a platform bug,
so this patch just skips the failing tests on freebsd6.
Benjamin Peterson [Fri, 16 Apr 2010 22:52:44 +0000 (22:52 +0000)]
tiny simplification
Benjamin Peterson [Fri, 16 Apr 2010 22:35:38 +0000 (22:35 +0000)]
have a clear error when passing something > sys.maxsize to bytearray
Benjamin Peterson [Fri, 16 Apr 2010 22:25:57 +0000 (22:25 +0000)]
fix typo
Benjamin Peterson [Fri, 16 Apr 2010 22:24:16 +0000 (22:24 +0000)]
bytearray -> type2test
Benjamin Peterson [Fri, 16 Apr 2010 21:55:10 +0000 (21:55 +0000)]
remove check for unicode
Antoine Pitrou [Fri, 16 Apr 2010 21:34:02 +0000 (21:34 +0000)]
Ignore jinja2
Senthil Kumaran [Fri, 16 Apr 2010 02:46:46 +0000 (02:46 +0000)]
Fix issue2987: RFC2732 support for urlparse (IPv6 addresses)
Benjamin Peterson [Thu, 15 Apr 2010 21:42:16 +0000 (21:42 +0000)]
add space
Andrew M. Kuchling [Thu, 15 Apr 2010 01:42:27 +0000 (01:42 +0000)]
Add various items
Brian Curtin [Thu, 15 Apr 2010 00:40:40 +0000 (00:40 +0000)]
Fix os.kill tests to be more robust and work with slower machines.
Rather than depending on some sleep value, start up an interpreter
as a subprocess and communicate with it. Because subprocess pipes
can't be read from until EOF and I want to read from them before that,
use ctypes to peek by using PeekNamedPipe. Once the subprocess has
written the message, then it is ready to roll and accept signals.
After that, kill it.
Andrew M. Kuchling [Wed, 14 Apr 2010 23:55:17 +0000 (23:55 +0000)]
Add various items; correct argparse output
Georg Brandl [Wed, 14 Apr 2010 21:46:45 +0000 (21:46 +0000)]
Fix missing.
Georg Brandl [Wed, 14 Apr 2010 21:36:49 +0000 (21:36 +0000)]
#8370: fix module name in backported doc addition.
Georg Brandl [Wed, 14 Apr 2010 21:34:44 +0000 (21:34 +0000)]
#5250: document __instancecheck__ and __subclasscheck__. I hope the part about the class/metaclass distinction is understandable.
Georg Brandl [Wed, 14 Apr 2010 19:16:38 +0000 (19:16 +0000)]
#8399: add note about Windows and O_BINARY.
Andrew M. Kuchling [Wed, 14 Apr 2010 14:28:31 +0000 (14:28 +0000)]
Add some text
Georg Brandl [Wed, 14 Apr 2010 13:50:31 +0000 (13:50 +0000)]
Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek().
Georg Brandl [Wed, 14 Apr 2010 08:56:01 +0000 (08:56 +0000)]
#5341: fix typo and adapt docstring syntax.
Georg Brandl [Wed, 14 Apr 2010 08:53:38 +0000 (08:53 +0000)]
#5341: typo.
Brian Curtin [Wed, 14 Apr 2010 02:24:24 +0000 (02:24 +0000)]
Add a small sleep to let a subprocess start before terminating it.
David Bolen's buildbot isn't know for it's speed, and it seems that we
may have been trying to kill the subprocess before it was fully
initialized. I ran with this change on the bot itself and it seemed to work.
Andrew M. Kuchling [Wed, 14 Apr 2010 01:14:59 +0000 (01:14 +0000)]
Add argparse example
R. David Murray [Tue, 13 Apr 2010 20:57:40 +0000 (20:57 +0000)]
Issue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.
Antoine Pitrou [Tue, 13 Apr 2010 17:36:07 +0000 (17:36 +0000)]
Fix overzealous patterns in .hgignore, which used to hide files containing e.g. "python".
(also an occasional source of bugs on the hgsvn-generated hg mirrors)
Mark Dickinson [Tue, 13 Apr 2010 11:37:23 +0000 (11:37 +0000)]
In test_winsound, don't try to import _winreg until after checking that winsound is supported.
Georg Brandl [Tue, 13 Apr 2010 06:43:54 +0000 (06:43 +0000)]
Get rid of multi-row cells.
Brian Curtin [Tue, 13 Apr 2010 02:25:20 +0000 (02:25 +0000)]
Fix #7306. Add skips to test_winsound when no default sound is configured.
These failures occur on a Windows Server 2003 machine I test on.
Andrew M. Kuchling [Tue, 13 Apr 2010 01:32:51 +0000 (01:32 +0000)]
Add an item; stray edit
Brian Curtin [Mon, 12 Apr 2010 23:30:49 +0000 (23:30 +0000)]
Fix #8364. Update the setquit docstring and change a built-in to builtin.
Raymond Hettinger [Mon, 12 Apr 2010 21:12:06 +0000 (21:12 +0000)]
Add usage notes for collections.Counter().
Mark Dickinson [Mon, 12 Apr 2010 20:38:36 +0000 (20:38 +0000)]
More struct doc tweaks.
Mark Dickinson [Mon, 12 Apr 2010 19:46:20 +0000 (19:46 +0000)]
Rewrap some long lines in struct module doc source.
Mark Dickinson [Mon, 12 Apr 2010 19:25:32 +0000 (19:25 +0000)]
Issue #7355: Various improvements to struct module documentation.
- note early on that the result of struct.pack includes padding
bytes by default
- add examples showing how order of struct fields can affect size
(due to padding)
- better headers and references; introduction to format strings
- integrate packing notes into table
Many thanks to Meador Inge for the patch.
Brian Curtin [Mon, 12 Apr 2010 18:07:21 +0000 (18:07 +0000)]
Update the Windows FAQ's text about os.kill (#
1220212 ).