Georg Brandl
adbcf1f4a8
Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric.
2010-04-25 10:57:15 +00:00
Georg Brandl
1e518258c9
Fix code example to have valid syntax so that it can be highlighted.
2010-04-25 10:56:41 +00:00
Georg Brandl
bb091e733c
Patch from Tim Hatch: Minor spelling changes to _winreg docs.
2010-04-25 10:55:58 +00:00
Georg Brandl
a3f1e4cde7
Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface.
2010-04-25 10:55:16 +00:00
Georg Brandl
9bfb78d698
Patch from Tim Hatch: Better cross-referencing in socket and winreg docs.
2010-04-25 10:54:42 +00:00
Georg Brandl
1f62087649
Remove LaTeXy index entry syntax.
2010-04-25 10:29:17 +00:00
Georg Brandl
0b093e068e
#8522 : use with statement instead of try-finally for file handling.
2010-04-25 10:17:27 +00:00
Georg Brandl
404bd7f473
#8528 : fix typo.
2010-04-25 10:16:00 +00:00
Sean Reifscheider
ca2e61276e
Fixing obscure syslog corner-case when sys.argv = None, syslog() would call
...
openlog() for every logged message.
2010-04-25 06:31:23 +00:00
Antoine Pitrou
fc69af1562
Issue #5103 : SSL handshake would ignore the socket timeout and block
...
indefinitely if the other end didn't respond.
2010-04-24 20:04:58 +00:00
Antoine Pitrou
4d3e372ff3
The do_handshake() method of SSL objects now adjusts the blocking mode of
...
the SSL structure if necessary (as other methods already do).
2010-04-24 19:57:01 +00:00
Brian Curtin
5fa9fb4062
Fix #5774 . Some _winreg functions are documented as taking kwargs but don't.
2010-04-24 17:10:22 +00:00
Matthias Klose
5183ebdaa7
- Issue #8509 : Fix quoting in help strings and code snippets in configure.in.
2010-04-24 16:38:36 +00:00
Brian Curtin
a2936cfa09
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 *.
2010-04-24 15:40:11 +00:00
Antoine Pitrou
55841ac1a5
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).
2010-04-24 10:43:57 +00:00
Georg Brandl
4341e54de8
#7507 : quote "!" in pipes.quote(); it is a special character for some shells.
2010-04-24 09:08:10 +00:00
Georg Brandl
f8bff488bd
Markup fixes.
2010-04-24 08:56:58 +00:00
Antoine Pitrou
b558f17b18
Issue #5238 : Calling makefile() on an SSL object would prevent the
...
underlying socket from being closed until all objects get truely destroyed.
2010-04-23 23:25:45 +00:00
Antoine Pitrou
dfb299bb95
Issue #7943 : Fix circular reference created when instantiating an SSL
...
socket. Initial patch by Péter Szabó.
2010-04-23 22:54:59 +00:00
Florent Xicluna
1273566cb7
Fix the "regrtest -s" switch.
2010-04-23 18:10:12 +00:00
Florent Xicluna
64f6c2fcab
Remove ImportWarnings filters. They become obsolete after r79310, issue #8205 .
2010-04-23 17:59:10 +00:00
Sean Reifscheider
04f4347de0
Small comment documentation change to clarify "ident" selection.
2010-04-23 08:38:24 +00:00
Sean Reifscheider
f6ce3cb84e
issue8451: Making syslog module use sys.argv[0] for "ident".
2010-04-23 08:31:55 +00:00
Antoine Pitrou
a5c4b5515f
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.
2010-04-22 23:33:02 +00:00
Georg Brandl
e11d85c717
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.
2010-04-22 22:15:33 +00:00
Antoine Pitrou
9aed604fb2
Skip test on old versions of OpenSSL
2010-04-22 18:00:41 +00:00
Antoine Pitrou
60b1ee375c
Temporarily display OpenSSL version in verbose run -- trying to diagnose failure on Neal's buildbot.
2010-04-22 17:44:41 +00:00
Senthil Kumaran
398246169c
Changed tests to only urlparse one, which was enough, addressed Ezio's comment
...
on Invalid url check statement and versionchanged string in docs.
2010-04-22 12:10:13 +00:00
Ezio Melotti
19c06739c5
Rephrase comment.
2010-04-22 11:53:21 +00:00
Martin v. Löwis
896c4777c6
Issue #8475 : Pass absolute interpreter path to
...
"make html".
2010-04-22 11:34:36 +00:00
Ezio Melotti
23196a564b
#8474 : fix duplicate test in test_email.
2010-04-22 11:23:31 +00:00
Senthil Kumaran
0a36181953
Updated the RFCs list in the See Also section of urlparse.rst
2010-04-22 05:48:35 +00:00
Antoine Pitrou
18e63fbe64
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.
2010-04-21 22:53:29 +00:00
Matthias Klose
8a96d209f0
- Build the ossaudio extension on GNU/kFreeBSD.
2010-04-21 22:18:52 +00:00
Matthias Klose
ca6d9e9225
setup.py: search ffi.h in include dirs, if LIBFFI_INCLUDEDIR is empty.
2010-04-21 21:45:30 +00:00
Antoine Pitrou
1a9e9f282e
Forgot to add the sample certificate (followup to r80314)
2010-04-21 19:36:23 +00:00
Antoine Pitrou
c715a9ed08
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".
2010-04-21 19:28:03 +00:00
Tarek Ziadé
62e17ad234
shutil: removed unused import and fixed attributes names in _call_external_zip
2010-04-21 13:32:26 +00:00
Martin v. Löwis
f0a4cceba6
Add Tim Golden.
2010-04-21 06:37:48 +00:00
Ronald Oussoren
78118992ad
Sync test_plistlib.py with plistlib.py
2010-04-21 06:00:35 +00:00
Victor Stinner
a92e81bf48
Issue #8437 : Fix test_gdb failures, patch written by Dave Malcolm
2010-04-20 22:28:31 +00:00
Tarek Ziadé
e593fad81b
removed ztar support in shutil.make_archive
2010-04-20 21:09:06 +00:00
Ronald Oussoren
8e6ca8fb19
Fix for issue 7852: the DTD for OSX Plists has changed due
...
to a change in the company name for Apple.
2010-04-20 20:59:37 +00:00
Senthil Kumaran
241a04371b
Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better.
2010-04-20 20:37:59 +00:00
Matthias Klose
c166b4021f
fix typo in r79533, introduced by the fix for issue #8233
2010-04-20 19:45:34 +00:00
Ezio Melotti
8c09ebcf0c
#8472 : fix wrong function name in functions.rst: itertools.filterfalse -> itertools.ifilterfalse
2010-04-20 16:49:48 +00:00
Brian Curtin
1f8dd363b7
Add version info for os.kill and signal changes from #1220212 .
2010-04-20 15:23:18 +00:00
Ronald Oussoren
1c3d193960
This patch fixes the handling of a weak-linked
...
variable and should fix issue #8095 .
2010-04-20 08:54:48 +00:00
Ronald Oussoren
1bf02022fe
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.
2010-04-20 08:53:12 +00:00
Stefan Krah
68b4e01c48
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.
2010-04-20 07:59:10 +00:00