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
Senthil Kumaran
281b551a2e
Fix Issue8460: Victor's patch to add timeout in test_urllib2net test_urls.
2010-04-20 06:54:59 +00:00
Ronald Oussoren
ac4b7adadf
Explicitly set system default for $PATH to
...
ensure we have a clean build environment (OSX installer)
2010-04-20 05:50:44 +00:00
Giampaolo Rodolà
607f7c056e
Fix Issue #4841 : timeout is now applied for connections resulting from PORT/EPRT commands
2010-04-19 21:46:28 +00:00
Tarek Ziadé
8a12f940fe
Fixed #8463 : added missing reference to bztar in shutil's documentation.
2010-04-19 21:28:21 +00:00
Tarek Ziadé
f1c28b75e0
few pep8 fixes
2010-04-19 21:13:03 +00:00
Antoine Pitrou
7c587bf53d
Issue #8438 : Remove reference to the missing "surrogateescape" encoding
...
error handler from the new IO library.
2010-04-19 18:52:43 +00:00
Raymond Hettinger
35b76027f9
Issue 8436: set.__init__ accepts keyword args
2010-04-18 22:57:57 +00:00
Antoine Pitrou
9958c56eb0
Fix catastrophic file opening and closing logic in test_linecache
2010-04-18 19:14:38 +00:00
Victor Stinner
814b6c222d
Revert r80166 (and r80171), restore Lib/platform.py. subprocess cannot be used in platform.py
2010-04-18 18:22:25 +00:00
Ronald Oussoren
974eb5eace
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.
2010-04-18 17:59:37 +00:00
Ronald Oussoren
287128aadc
Add check to build-installer.py to ensure that
...
the right version of Tcl/Tk is available (on OSX)
Fixes issue #5651
2010-04-18 14:01:05 +00:00
Ronald Oussoren
37805e5c1f
Fix for issue #7072
2010-04-18 13:47:49 +00:00
Giampaolo Rodolà
cf445fced4
Fix Issue #3817 : 225 is now considered a valid response code for ABOR
2010-04-18 12:55:03 +00:00
Antoine Pitrou
5ac74168b9
Fix bootstrap after r80166
2010-04-18 11:16:24 +00:00
Victor Stinner
b2a0a434a8
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
2010-04-18 09:07:49 +00:00
Martin v. Löwis
24f09fdb23
Issue #8279 : Fix test_gdb failures.
2010-04-17 22:40:40 +00:00
R. David Murray
fb4812fb59
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.
2010-04-17 21:59:26 +00:00
Martin v. Löwis
923cf657e9
Add Giampaolo.
2010-04-17 17:10:55 +00:00
Antoine Pitrou
0a6373c1a9
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.
2010-04-17 17:10:38 +00:00
R. David Murray
7794b5b52f
Update link to Apple Publication Style guide.
2010-04-17 15:45:38 +00:00
Senthil Kumaran
420ec8a0cd
Fix Issue5650 - Update the RFC List in the urlparse module.
2010-04-17 14:30:53 +00:00
R. David Murray
e0e8a87d7e
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.
2010-04-17 05:26:26 +00:00
Benjamin Peterson
ae530c2bab
tiny simplification
2010-04-16 22:52:44 +00:00
Benjamin Peterson
821a8ea39f
have a clear error when passing something > sys.maxsize to bytearray
2010-04-16 22:35:38 +00:00
Benjamin Peterson
5c4e292c14
fix typo
2010-04-16 22:25:57 +00:00
Benjamin Peterson
06f06a0b2f
bytearray -> type2test
2010-04-16 22:24:16 +00:00
Benjamin Peterson
e7ebdc2a61
remove check for unicode
2010-04-16 21:55:10 +00:00
Antoine Pitrou
9642d60bd0
Ignore jinja2
2010-04-16 21:34:02 +00:00
Senthil Kumaran
8c6d9d7c8d
Fix issue2987: RFC2732 support for urlparse (IPv6 addresses)
2010-04-16 02:46:46 +00:00
Benjamin Peterson
b7b7c77eb3
add space
2010-04-15 21:42:16 +00:00
Andrew M. Kuchling
85f928a5c9
Add various items
2010-04-15 01:42:27 +00:00
Brian Curtin
b3dde13413
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.
2010-04-15 00:40:40 +00:00