Éric Araujo
dfd232898d
Minor code reorganization in one packaging test file
2011-11-03 00:20:03 +01:00
Éric Araujo
9ad81a3591
Fix typo “seperate”
2011-11-03 00:13:05 +01:00
Éric Araujo
3924230498
Fix typo
2011-11-03 00:08:48 +01:00
Victor Stinner
df5bccc8a3
(Merge 3.2) Issue #10570 : curses.tigetstr() is now expecting a byte string,
...
instead of a Unicode string.
This is an incompatible change, but the previous behaviour was completly wrong.
2011-11-02 23:47:58 +01:00
Victor Stinner
2662133a05
Issue #10570 : curses.tigetstr() is now expecting a byte string, instead of a
...
Unicode string.
This is an incompatible change, but the previous behaviour was completly wrong.
2011-11-02 23:45:29 +01:00
Charles-François Natali
cf85c300cf
test_asyncore: Actually try to received OOB data.
2011-11-02 20:30:59 +01:00
Charles-François Natali
b2cca00c14
Issue #13308 : Fix test_httpservers failures when run as root.
2011-11-02 19:36:02 +01:00
Charles-François Natali
f7ed9fc063
Issue #13308 : Fix test_httpservers failures when run as root.
2011-11-02 19:35:14 +01:00
Ezio Melotti
ca897e960a
#13295 : http.server now produces valid HTML 4.01 strict.
2011-11-02 19:33:29 +02:00
Éric Araujo
af2ffd75cf
Cleanups in distutils tests.
...
- Actually check the contents of the file created by bdist_dumb.
- Don’t use “RECORD” as filename for non-PEP 376 record file
- Don’t start method name with “_test”, it smells like a disabled test
method instead of an helper method
- Fix some idioms (assertIn, addCleanup)
2011-11-02 18:05:41 +01:00
Florent Xicluna
2fbc185209
Issue #13312 : skip the failing negative years for now.
2011-11-02 08:13:43 +01:00
Florent Xicluna
dfee6c8dee
Actually, there's more than one failing value. (changeset 9cb1b85237a9, issue #13312 ).
2011-11-02 03:22:15 +01:00
Florent Xicluna
e2a732e706
Issue #13312 : skip the single failing value for now.
2011-11-02 01:28:17 +01:00
Florent Xicluna
91d5193b3a
Closes #2892 : preserve iterparse events in case of SyntaxError.
2011-11-01 23:31:09 +01:00
Florent Xicluna
d1bd7f7730
Additional tests for negative years.
2011-11-01 23:42:05 +01:00
Florent Xicluna
f24e7e6c41
Merge 3.2: issue #2892
2011-11-01 23:33:14 +01:00
Ezio Melotti
f588dd60cc
Merge test improvements from 3.2.
2011-11-01 18:58:19 +02:00
Ezio Melotti
c1e73c30e9
Make sure that the tolerant parser still parses valid HTML correctly.
2011-11-01 18:57:15 +02:00
Florent Xicluna
725af4dc1d
Lowercase the test name, to run last.
2011-11-01 17:42:24 +01:00
Florent Xicluna
050c7e64cd
Replace temporary tests with the real test case for issue #13309 on Gentoo.
2011-11-01 16:58:54 +01:00
Senthil Kumaran
4c875a986f
'HTTPSHandler' and not the type.
2011-11-01 23:57:57 +08:00
Senthil Kumaran
0d54eb9bdc
Append HTTPSHandler to __all__ when it is available.
2011-11-01 23:49:46 +08:00
Senthil Kumaran
6c5bd40a3e
issue13287 - Define __all__ for urllib.request and urllib.error and expose only
...
the relevant module. Other cleanup improvements. Patch by flox.
2011-11-01 23:20:31 +08:00
Florent Xicluna
712b14fc2a
Troubleshoot issue #13309 on Gentoo buildbot.
2011-11-01 16:07:23 +01:00
Florent Xicluna
752c1d4c02
Add temporary tests to troubleshoot issue #13309 on Gentoo buildbot.
2011-11-01 15:12:34 +01:00
Florent Xicluna
bceb528af5
Test the year range supported by time.strftime() and time.asctime().
2011-11-01 14:11:34 +01:00
Ezio Melotti
629a2c336e
Merge test fixes from 3.2.
2011-11-01 15:02:16 +02:00
Ezio Melotti
b9a48f7144
Avoid reusing the same collector in the tests.
2011-11-01 15:00:59 +02:00
Ezio Melotti
829c3dac3b
#12008 : merge with 3.2.
2011-11-01 14:43:51 +02:00
Ezio Melotti
18b0e5b79b
#12008 : add a test.
2011-11-01 14:42:54 +02:00
Ezio Melotti
7de56f6a04
#670664 : Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``.
2011-11-01 14:12:22 +02:00
Ned Deily
316f573d9c
Issue #13304 : Skip test case if user site-packages disabled (-s or
...
PYTHONNOUSERSITE). (Patch by Carl Meyer)
2011-10-31 16:16:35 -07:00
Senthil Kumaran
ce260142c6
Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
...
even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 01:35:17 +08:00
Jesus Cea
5032292f9e
Closes #13283 : removal of two unused variable in locale.py
2011-10-31 16:03:34 +01:00
Ned Deily
7aff451728
Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
...
(Patch by Roger Serwy)
2011-10-30 20:01:35 -07:00
Raymond Hettinger
e584457e24
Issue 13274: Make the pure python code for heapq more closely match the C implementation for an undefined corner case.
2011-10-30 14:32:54 -07:00
Florent Xicluna
93dfee1dfc
Issue #13293 : Better error message when trying to marshal bytes using xmlrpc.client.
2011-10-30 20:22:25 +01:00
Florent Xicluna
c4fec937dc
Cleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling.
2011-10-30 20:19:32 +01:00
Florent Xicluna
3fa29f7cd7
Closes #13291 : NameError in xmlrpc package.
2011-10-30 20:18:50 +01:00
Ezio Melotti
f78869e47e
#13289 : fix typo.
2011-10-29 10:41:51 +03:00
Benjamin Peterson
b3b8ba6121
bring is_integer into tested existence
2011-10-28 19:42:48 -04:00
Barry Warsaw
46ae0efce1
- Issue #13218 : Fix test_ssl failures on Debian/Ubuntu.
2011-10-28 16:52:17 -04:00
Florent Xicluna
5d1155c08e
Closes #13258 : Use callable() built-in in the standard library.
2011-10-28 14:45:05 +02:00
Ezio Melotti
f50ffa94ab
#13273 : fix a bug that prevented HTMLParser to properly detect some tags when strict=False.
2011-10-28 13:21:09 +03:00
Petri Lehtinen
e119c403a1
Issue #10860 : Skip the new test if HTTPS is not available
2011-10-26 21:29:15 +03:00
Charles-François Natali
f8859e1808
Issue #10332 : multiprocessing: fix a race condition when a Pool is closed
...
before all tasks have completed.
2011-10-24 18:45:29 +02:00
Nick Coghlan
de31b191e5
Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban.
2011-10-23 22:04:16 +10:00
Florent Xicluna
711f87ca7d
Issue #9168 : now smtpd is able to bind privileged port.
2011-10-20 23:03:43 +02:00
Senthil Kumaran
34d38dce11
urllib.request - syntax changes enhancing readability. By Éric Araujo
2011-10-20 02:48:01 +08:00
Senthil Kumaran
29fa9d4d68
3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
...
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
2011-10-20 01:46:00 +08:00
Senthil Kumaran
1ef0c0349e
3.2 - Fix closes Issue12529 - cgi.parse_header failure on double quotes and
...
semicolons. Patch by Ben Darnell and Petri Lehtinen.
2011-10-20 01:05:44 +08:00
Ezio Melotti
e130a52d8a
Remove duplication.
2011-10-19 10:58:56 +03:00
Łukasz Langa
a5a9a9c369
Fixes #10860 : Handle empty port after port delimiter in httplib
2011-10-18 21:17:39 +02:00
Antoine Pitrou
551ba20e8e
Issue #13188 : When called without an explicit traceback argument,
...
generator.throw() now gets the traceback from the passed exception's
`__traceback__` attribute. Patch by Petri Lehtinen.
2011-10-18 16:40:50 +02:00
Ezio Melotti
6bfecd1271
#12448 : smtplib now flushes stdout while running ``python -m smtplib``
...
in order to display the prompt correctly. Patch by Petri Lehtinen.
2011-10-18 13:20:07 +03:00
Mark Hammond
53e4a9a763
normalize whitespace in Lib/distutils/msvc9compiler.py
2011-10-17 11:35:31 +11:00
Mark Hammond
6c58b28f2f
Issue #7833 : Ext. modules built using distutils on Windows no longer get a manifest
2011-10-17 11:05:57 +11:00
Raymond Hettinger
4b779b3785
Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache.
2011-10-15 23:50:42 -07:00
Éric Araujo
181ae4baa1
Branch merge
2011-10-14 16:50:09 +02:00
Ezio Melotti
7903913fa6
#670664 : merge with 3.2.
2011-11-01 14:14:15 +02:00
Florent Xicluna
49ce06858b
Strengthen the tests for format '%Y', in relation with issue #13305 .
2011-11-01 12:56:14 +01:00
Ned Deily
d61f9d1715
Issue #13304 : Skip test case if user site-packages disabled (-s or
...
PYTHONNOUSERSITE). (Patch by Carl Meyer)
2011-10-31 16:22:53 -07:00
Florent Xicluna
2738a64621
Fix regression due to changeset 2096158376e5 (issue #13305 ).
2011-11-01 00:06:58 +01:00
Charles-François Natali
e695eec24a
Issue #13303 : Fix a race condition in the bytecode file creation.
2011-10-31 20:47:31 +01:00
Ross Lagerwall
59142db6d3
Issue #12797 : Added custom opener parameter to builtin open() and FileIO.open().
2011-10-31 20:34:46 +02:00
Senthil Kumaran
ab06e3f285
merge from 3.2 - Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
...
even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 01:39:49 +08:00
Jesus Cea
1dca75f611
MERGE: Closes #13283 : removal of two unused variable in locale.py
2011-10-31 16:04:12 +01:00
Charles-François Natali
39648d11ab
test_asyncore: Enable tests of Unix domain sockets with poll().
2011-10-31 12:08:09 +01:00
Ned Deily
d1029c4853
Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
...
(Patch by Roger Serwy)
2011-10-30 20:05:30 -07:00
Florent Xicluna
b6f019a080
Let's assume that the datetime module is always available.
2011-10-30 23:54:17 +01:00
Raymond Hettinger
385c803658
Merge
2011-10-30 14:33:31 -07:00
Florent Xicluna
75861df9ab
Fix User-Agent for the xmlrpc.client, and catch KeyboardInterrupt for the standalone xmlrpc.server.
2011-10-30 20:39:24 +01:00
Florent Xicluna
f70fd7092d
Merge 3.2
2011-10-30 20:24:40 +01:00
Charles-François Natali
fea6cb0285
Issue #5661 : on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag...
2011-10-29 14:29:39 +02:00
Charles-François Natali
d4621190c9
Issue #5661 : Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch
...
by Xavier de Gaye.
2011-10-29 12:45:56 +02:00
Ezio Melotti
39be383406
#13289 : merge with 3.2.
2011-10-29 10:44:59 +03:00
Benjamin Peterson
29037720d1
merge 3.2
2011-10-28 19:44:00 -04:00
Barry Warsaw
c21a81bf76
- Issue #13218 : Fix test_ssl failures on Debian/Ubuntu.
2011-10-28 17:08:12 -04:00
Florent Xicluna
46f5d146c1
Remove no-op code from previous commit.
2011-10-28 21:58:56 +02:00
Florent Xicluna
68f71a34f4
Simplify and remove few dependencies on 'errno', thanks to PEP 3151.
2011-10-28 16:06:23 +02:00
Florent Xicluna
aabbda5354
Merge 3.2
2011-10-28 14:52:29 +02:00
Ezio Melotti
91ec2e8a31
#13273 : merge with 3.2.
2011-10-28 13:23:57 +03:00
Antoine Pitrou
41032a69c1
Issue #11183 : Add finer-grained exceptions to the ssl module, so that
...
you don't have to inspect the exception's attributes in the common case.
2011-10-27 23:56:55 +02:00
Benjamin Peterson
2f8dfcd6f4
add a test for an assertion with tuple msg
2011-10-27 08:20:01 -04:00
Victor Stinner
2f3ca9f20e
Close #13247 : Add cp65001 codec, the Windows UTF-8 (CP_UTF8)
2011-10-27 01:38:56 +02:00
Petri Lehtinen
cc9695643f
Issue #10860 : Skip the new test if HTTPS is not available
2011-10-26 21:29:54 +03:00
Vinay Sajip
b9e46e95f8
Changed warn() to warning() in logging tests.
2011-10-26 13:17:20 +01:00
Victor Stinner
8b905bd9d4
Issue #13226 : Add RTLD_xxx constants to the os module. These constants can by
...
used with sys.setdlopenflags().
2011-10-25 13:34:04 +02:00
Victor Stinner
e0be423297
Close #10278 : Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
...
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
2011-10-25 13:06:09 +02:00
Ezio Melotti
90bf5f1171
Remove mention of narrow/wide builds and update array doc, add a test.
2011-10-25 10:05:34 +03:00
Charles-François Natali
feeb3a366c
Issue #10332 : multiprocessing: fix a race condition when a Pool is closed
...
before all tasks have completed.
2011-10-24 18:47:43 +02:00
Mark Dickinson
39411f60a2
Issue #13248 , issue #8540 : Remove deprecated Context._clamp attribute from Decimal module.
2011-10-24 10:31:52 +01:00
Antoine Pitrou
24d659daaf
Use InterruptedError instead of checking for EINTR
2011-10-23 23:49:42 +02:00
Florent Xicluna
2bb96f593a
Cleanup code: remove int/long idioms and simplify a while statement.
2011-10-23 22:11:00 +02:00
Mark Dickinson
30970e9e44
Issue #10925 : Add equivalent pure Python code for the builtin int-to-float conversion to test_long.
2011-10-23 20:07:13 +01:00
Mark Dickinson
36645681c8
Issue #13201 : equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch.
2011-10-23 19:53:01 +01:00
Nick Coghlan
9715d26305
Merge issue 1294232 patch from 3.2
2011-10-23 22:36:42 +10:00
Vinay Sajip
0a889534e7
Closes #13235 : Changed PendingDeprecationWarning to DeprecationWarning.
2011-10-22 13:34:48 +01:00
Ezio Melotti
931b8aac80
#12753 : Add support for Unicode name aliases and named sequences.
2011-10-21 21:57:36 +03:00
Éric Araujo
3764a964ca
Banch merge
2011-10-21 15:52:10 +02:00
Vinay Sajip
04d5bc00a2
Closes #13235 : Added deprecation for warn() methods and function in logging.
2011-10-21 07:33:42 +01:00
Éric Araujo
89d3a69d83
Add tests for packaging.tests.support ( #12659 ).
...
Thanks to Francisco Martín Brugué for the patch.
2011-10-21 07:56:32 +02:00
Éric Araujo
f89ebdc358
Fix missing imports in setup scripts generated by packaging ( #13205 ).
...
I’ve made more edits than the bug report suggested to make sure the
generated setup script is compatible with many Python versions; a
comment in the source explains that in detail.
The cfg_to_args function uses old 2.x idioms like codecs.open and
RawConfigParser.readfp because I want the setup.py generated by packaging and
distutils2 to be the same. Most users won’t see the deprecation warning and I
ignore it in the test suite.
Thanks to David Barnett for the report and original patch.
2011-10-21 06:27:06 +02:00
Antoine Pitrou
ac65d96777
Issue #12170 : The count(), find(), rfind(), index() and rindex() methods
...
of bytes and bytearray objects now accept an integer between 0 and 255
as their first argument. Patch by Petri Lehtinen.
2011-10-20 23:54:17 +02:00
Florent Xicluna
407cfd1a26
Issue #9168 : now smtpd is able to bind privileged port.
2011-10-20 23:14:36 +02:00
Raymond Hettinger
ded203f7c9
Bytes are already distinct from text, so typed=True isn't necessary.
2011-10-20 09:42:05 -07:00
Raymond Hettinger
db84803562
Simplify calls in fnmatch.
2011-10-20 09:22:10 -07:00
Raymond Hettinger
cd9fdfd652
Issue 13227: Option to make the lru_cache() type specific (suggested by Andrew Koenig).
2011-10-20 08:57:45 -07:00
Victor Stinner
65651ea313
Issue #13150 : Add a comment in _sysconfigdata to explain the origin of this file
2011-10-20 00:41:21 +02:00
Antoine Pitrou
daaaec9ee7
Silence the FileExistsError which can be raised because of the O_EXCL flag
...
(as in import.c)
2011-10-19 23:28:40 +02:00
Raymond Hettinger
becd56822a
Issue #13121 : Support in-place math operators for collections.Counter().
2011-10-19 13:40:37 -07:00
Éric Araujo
3bb8be6d78
Branch merge
2011-10-19 21:32:39 +02:00
Senthil Kumaran
1a129c882c
urllib.request - syntax changes enhancing readability. By Éric Araujo
2011-10-20 02:50:13 +08:00
Senthil Kumaran
7e3062b320
default - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
...
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
2011-10-20 01:52:41 +08:00
Senthil Kumaran
294c231aa5
default - Fix closes Issue12529 - cgi.parse_header failure on double quotes and
...
semicolons. Patch by Ben Darnell and Petri Lehtinen.
2011-10-20 01:06:59 +08:00
Ezio Melotti
f10644983e
Merge with 3.2.
2011-10-19 11:06:26 +03:00
Éric Araujo
784cd4cc54
Make one function in packaging.metadata simpler
2011-10-19 08:50:49 +02:00
Éric Araujo
f3f283a1cb
Clean up some idioms in packaging tests.
...
- Use os.makedirs (I had forgotten about it!)
- Let TempdirManager.write_file call os.path.join for us
- Remove custom command added by test_dist
- Use a skip instead of hiding a method with an underscore
- Address pyflakes warnings
2011-10-19 08:49:20 +02:00
Éric Araujo
382067b3cf
Change signature of packaging.tests.support.LoggingCatcher.get_logs.
...
I need this for some tests, and it makes code clearer. This commit also
changes some assertEqual calls to use (actual, expected) order and fix
some pyflakes warnings.
2011-10-19 08:37:22 +02:00
Éric Araujo
4b5a5f7bd5
More fixes for PEP 3147 compliance in packaging ( #11254 )
2011-10-19 08:18:05 +02:00
Éric Araujo
8ccd18fff3
Expand tests and fix bugs in packaging.util.resolve_name.
...
The code is still ugly, but at least it works better now. Patches to
make it easier to read are welcome, as well as support in #12915 .
2011-10-19 06:46:13 +02:00
Łukasz Langa
318909b297
A ricochet from fixing #10680 : http://http://example.com/ no longer reports
...
'nonnumeric port'. It parses to a host name of "http:" which is equivalent to
http:80.
2011-10-19 02:40:48 +02:00
Łukasz Langa
6c4e1aed4b
Merged fix for #10860 from 3.2
2011-10-19 02:04:46 +02:00
Victor Stinner
9e92188f53
Issue #12281 : Fix test_codecs.test_cp932() on Windows XP
...
Cool! Decoding b'\x81\x00abc' from cp932 with replace error handler is now
giving the same result on all Windows versions.
2011-10-18 21:55:25 +02:00
Victor Stinner
62be4fb21f
Issue #12281 : Skip code page tests on non-Windows platforms
2011-10-18 21:46:37 +02:00
Victor Stinner
3a50e7056e
Issue #12281 : Rewrite the MBCS codec to handle correctly replace and ignore
...
error handlers on all Windows versions. The MBCS codec is now supporting all
error handlers, instead of only replace to encode and ignore to decode.
2011-10-18 21:21:00 +02:00
Antoine Pitrou
1e73a2467f
Issue #13150 : sysconfig no longer parses the Makefile and config.h files
...
when imported, instead doing it at build time. This makes importing
sysconfig faster and reduces Python startup time by 20%.
2011-10-18 17:52:24 +02:00
Antoine Pitrou
cf28eacafe
Issue #13188 : When called without an explicit traceback argument,
...
generator.throw() now gets the traceback from the passed exception's
``__traceback__`` attribute. Patch by Petri Lehtinen.
2011-10-18 16:42:55 +02:00
Ezio Melotti
3de134b1d1
#12448 : merge with 3.2.
2011-10-18 13:26:49 +03:00
Victor Stinner
5c267e2d22
Close #12454 : The mailbox module is now using ASCII, instead of the locale
...
encoding, to read and write MH mailboxes (.mh_sequences files).
2011-10-17 20:44:22 +02:00
Victor Stinner
9ea8e4c29d
Instantiate the OS-related exception as soon as we raise it, so that "except"
...
works properly.
PyErr_SetFromErrnoWithFilenameObject() was already fixed by the changeset
793c75177d28. This commit fixes PyErr_SetExcFromWindowsErrWithFilenameObject(),
used on Windows.
2011-10-17 20:18:58 +02:00
Victor Stinner
ecd0207444
Issue #12367 : Test test_select.test_errno() on FreeBSD
...
See the FreeBSD bug:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606
2011-10-17 19:55:31 +02:00
Antoine Pitrou
707033a694
Issue #13146 : Writing a pyc file is now atomic under POSIX.
2011-10-17 19:28:44 +02:00
Mark Hammond
f813080736
normalize whitespace in Lib/distutils/msvc9compiler.py
2011-10-17 11:36:49 +11:00
Mark Hammond
a9efb6fdd8
Issue #7833 : Ext. modules built using distutils on Windows no longer get a manifest
2011-10-17 11:28:09 +11:00
Victor Stinner
f12e5068c3
Close #13174 : Fix extended attributes tests in test_os for SELinux
...
On Fedora, new files get the 'security.selinux' attribute.
2011-10-16 22:12:03 +02:00
Victor Stinner
386c2d8b4e
test_select: use a timeout=0 in test_errno()
2011-10-16 20:48:52 +02:00
Senthil Kumaran
de49d64dbc
Fix closes issue 1673007 urllib.request to support HEAD requests with a new method arg.
2011-10-16 23:54:44 +08:00
Raymond Hettinger
d8886fc831
Merge
2011-10-16 00:00:51 -07:00
Éric Araujo
8022314fc2
Cleanup in packaging: super considered super
2011-10-14 17:04:39 +02:00
Éric Araujo
d139b99426
Fix writing of the RESOURCES file by packaging ( #12386 )
2011-10-14 16:58:23 +02:00
Éric Araujo
77466be08a
Branch merge
2011-10-14 16:56:02 +02:00
Lars Gustäbel
ac3d137a30
Issue #13158 : Fix decoding and encoding of base-256 number fields in tarfile.
...
The nti() function that converts a number field from a tar header to a number
failed to decode GNU tar specific base-256 fields. I also added support for
decoding and encoding negative base-256 number fields.
2011-10-14 12:46:40 +02:00
Lars Gustäbel
01277d166a
Merge with 3.2: Issue #13158 : Fix decoding and encoding of base-256 number fields in tarfile.
...
The nti() function that converts a number field from a tar header to a number
failed to decode GNU tar specific base-256 fields. I also added support for
decoding and encoding negative base-256 number fields.
2011-10-14 12:53:10 +02:00
Victor Stinner
0e7e715a11
(Merge 3.2) Issue #13025 : mimetypes is now reading MIME types using the UTF-8
...
encoding, instead of the locale encoding.
2011-10-14 03:05:10 +02:00
Victor Stinner
82ac9bcdb3
Issue #13025 : mimetypes is now reading MIME types using the UTF-8 encoding,
...
instead of the locale encoding.
2011-10-14 03:03:35 +02:00
Victor Stinner
21d29c377b
Issue #12367 : Add a test on error attribute of select.error
...
Thanks to the PEP 3151, select.error (which is just an alias to OSError) has
now an error attribute.
2011-10-12 21:01:46 +02:00
Antoine Pitrou
5d6fbe8207
Instantiate the OS-related exception as soon as we raise it, so that
...
"except" works properly.
2011-10-12 19:39:57 +02:00
Antoine Pitrou
6b4883dec0
PEP 3151 / issue #12555 : reworking the OS and IO exception hierarchy.
2011-10-12 02:54:14 +02:00
Antoine Pitrou
ffa547e139
Fix deprecation warning
2011-10-11 22:43:37 +02:00