Victor Stinner
d24fc5d7c4
test_sys: Remove workaround #8611
...
It looks like it is no more needed: Python 3.2 is slowly able to support
non-ascii paths with an ascii locale.
2010-10-13 23:41:57 +00:00
Victor Stinner
052a04d34a
Revert r85435 (and r85440): decode command line arguments from utf-8
...
Python exits with a fatal error if the command line contains an undecodable
argument. PyUnicode_FromString() fails at the first undecodable byte because it
calls the error handler, but error handlers are not ready before Python
initialization.
2010-10-13 23:24:06 +00:00
Alexander Belopolsky
59a289d16b
Issue 9005: Removed dead code.
2010-10-13 22:54:34 +00:00
Victor Stinner
a21350976e
main(): catch PyUnicode_FromString() failure (exit)
2010-10-13 22:36:16 +00:00
Benjamin Peterson
ee85a1d3bb
put PYTHONIOENCODING in man page
2010-10-13 22:20:15 +00:00
Victor Stinner
90bbaa57f9
Issue #9992 : On Mac OS X, decode command line arguments from utf-8 instead of
...
the locale encoding.
2010-10-13 22:15:06 +00:00
Benjamin Peterson
eb1410fc40
constify to appease compiler warnings
2010-10-13 22:06:39 +00:00
Victor Stinner
8f6b6b0cc3
Issue #9992 : Remove PYTHONFSENCODING environment variable.
2010-10-13 22:02:27 +00:00
Benjamin Peterson
aa96592a59
remove obselete import implementation #7287
2010-10-13 21:59:36 +00:00
Antoine Pitrou
6003ff7633
Protect test_smtpnet against connection failures
2010-10-13 17:14:16 +00:00
Antoine Pitrou
d4958c2832
Followup to #9437 : since LDFLAGS is now appended to LDSHARED in the Makefile,
...
don't do in configure as well.
Hopefully this will solve a Makefile parsing issue on the FreeBSD buildbots.
2010-10-13 17:01:10 +00:00
Antoine Pitrou
834bd81c51
Issue #10041 : The signature of optional arguments in socket.makefile()
...
didn't match that of io.open(), and they also didn't get forwarded
properly to TextIOWrapper in text mode. Patch by Kai Zhu.
2010-10-13 16:17:14 +00:00
Michael Foord
f2b1909e0f
Ignoring personal settings for Wing 3 project file
2010-10-13 13:23:20 +00:00
Michael Foord
fc33818d19
Adding Wing IDE version 4 project file
2010-10-13 13:15:02 +00:00
Antoine Pitrou
fc113eeb7d
Define a "session_id_context" at context creation. This is recommended
...
for the OpenSSL server-side session cache.
2010-10-13 12:46:13 +00:00
Antoine Pitrou
48e00f3ab6
Use PROTOCOL_SSLv23 in the test HTTPS server, in an attempt to appease the old Gentoo buildbot
2010-10-13 12:06:43 +00:00
Antoine Pitrou
84fa4314ba
Print out socket errors in HTTPS server thread
2010-10-13 11:51:05 +00:00
Antoine Pitrou
05d936d2ce
Let test_ssl fail gracefully if ssl support is not available
2010-10-13 11:38:36 +00:00
Antoine Pitrou
f26f87ef06
Run a simple HTTPS server when Lib/test/ssl_servers.py is run as __main__
2010-10-13 11:27:09 +00:00
Victor Stinner
a00064576a
ceval.c: catch recursion error on _PyUnicode_AsString(co->co_filename)
2010-10-13 10:48:55 +00:00
Antoine Pitrou
8060399654
Typo. It is rather obvious that this code isn't tested :/
2010-10-13 10:45:16 +00:00
Antoine Pitrou
1ab19ca161
Fix grammar
2010-10-13 10:39:21 +00:00
Antoine Pitrou
803e6d670c
Issue #9003 : http.client.HTTPSConnection, urllib.request.HTTPSHandler and
...
urllib.request.urlopen now take optional arguments to allow for
server certificate checking, as recommended in public uses of HTTPS.
2010-10-13 10:36:15 +00:00
Gregory P. Smith
bd4dacb3f9
Fix compile on NetBSD 5.0 (or anything else using an old 0.9.9-dev OpenSSL).
2010-10-13 03:53:21 +00:00
Gregory P. Smith
2501aca628
fix compliation on NetBSD
2010-10-13 03:39:47 +00:00
Brian Curtin
d2e948d720
Implement #7944 . Use `with` throughout the test suite.
2010-10-13 02:56:26 +00:00
Brian Curtin
2c3563f782
Implement #7944 . Use `with` throughout the test suite.
2010-10-13 02:40:26 +00:00
Brian Curtin
5acec04db5
Implement #7944 . Use `with` throughout the test suite.
2010-10-13 02:29:46 +00:00
Brian Curtin
28f96b5b26
Implement #7944 . Use `with` throughout the test suite.
2010-10-13 02:21:42 +00:00
Benjamin Peterson
01e3979757
account for the module __dict__ being cleared when its module is
2010-10-13 01:04:36 +00:00
Benjamin Peterson
73a3f2d4d4
fix spelling #10078
2010-10-12 23:07:13 +00:00
Benjamin Peterson
5c4bfc4af0
prefer clearing global objects to obscure module.__dict__ bugs #10068
2010-10-12 22:57:59 +00:00
Victor Stinner
11b1f3dac1
NEWS: Move #6612 to Library section
2010-10-12 22:42:37 +00:00
Victor Stinner
06bca9a24b
#6612 : add the author of the patch (W. Trevor King)
2010-10-12 22:26:08 +00:00
Victor Stinner
b103a937ea
Issue #6612 : Fix site and sysconfig to catch os.getcwd() error, eg. if the
...
current directory was deleted.
2010-10-12 22:23:23 +00:00
Antoine Pitrou
6c314ec946
Update whatsnew about pickle optimizations
2010-10-12 21:07:20 +00:00
Antoine Pitrou
04248a8d99
Issue #3873 : Speed up unpickling from file objects which have a peek()
...
method.
2010-10-12 20:51:21 +00:00
Antoine Pitrou
b0182c8ca5
Issue #10075 : Add a session_stats() method to SSLContext objects.
2010-10-12 20:09:02 +00:00
Antoine Pitrou
0518842b69
Make comment about SSL support more accurate
2010-10-12 16:44:39 +00:00
Georg Brandl
8349031934
Post-release bumps.
2010-10-12 12:38:48 +00:00
Martin v. Löwis
44270f1c65
Add entry for r85371.
2010-10-11 22:50:33 +00:00
Martin v. Löwis
baecd7243a
Upgrade to Unicode 6.0.0.
...
makeunicodedata.py: download all data files from unicode.org,
switch to extracting Unihan data from zip file.
Read linebreakprops and derivednormalizationprops even for
old versions, even though they are not used in delta records.
test:unicode.py: U+11000 is now assigned, use U+14000 instead.
2010-10-11 22:42:28 +00:00
Martin v. Löwis
e8930228c7
Add 3.2b1.
2010-10-11 22:38:01 +00:00
Vinay Sajip
1c71b2af1a
Issue #9948 : logging: fixed problem of losing filename case information.
2010-10-10 20:36:04 +00:00
Georg Brandl
7d03c7da19
Tag release 3.2a3.
2010-10-10 13:11:21 +00:00
Georg Brandl
27a28589c5
Rewrap.
2010-10-10 09:49:21 +00:00
Georg Brandl
002fa2de90
Bump to 3.2a3.
2010-10-10 09:40:34 +00:00
Georg Brandl
de0b4d1aba
Update pydoc topics.
2010-10-10 09:37:51 +00:00
Antoine Pitrou
dbec780a0b
Issue #9437 : Fix building C extensions with non-default LDFLAGS.
2010-10-10 09:37:12 +00:00
Antoine Pitrou
19f8edc39d
Issue #10062 : Allow building on platforms which do not have sem_timedwait.
2010-10-10 08:37:22 +00:00