]> granicus.if.org Git - python/log
python
14 years agoIssue #9425: zipimporter_repr() uses unicode
Victor Stinner [Tue, 17 Aug 2010 00:04:48 +0000 (00:04 +0000)]
Issue #9425: zipimporter_repr() uses unicode

14 years agoIssue #9425: get_data() uses an unicode path
Victor Stinner [Mon, 16 Aug 2010 23:48:11 +0000 (23:48 +0000)]
Issue #9425: get_data() uses an unicode path

14 years agor82659 reintroduced some tab characters. Untabify again.
Amaury Forgeot d'Arc [Mon, 16 Aug 2010 22:16:51 +0000 (22:16 +0000)]
r82659 reintroduced some tab characters. Untabify again.

14 years agoFix compilation warning on Windows
Amaury Forgeot d'Arc [Mon, 16 Aug 2010 22:11:29 +0000 (22:11 +0000)]
Fix compilation warning on Windows

14 years agoIssue #9425: Create Py_UNICODE_strncmp() function
Victor Stinner [Mon, 16 Aug 2010 22:03:11 +0000 (22:03 +0000)]
Issue #9425: Create Py_UNICODE_strncmp() function

The code is based on strncmp() of the libiberty library,
function in the public domain.

14 years agoMark myself as assignable for winreg, and put myself down for Windows.
Brian Curtin [Mon, 16 Aug 2010 20:50:03 +0000 (20:50 +0000)]
Mark myself as assignable for winreg, and put myself down for Windows.

14 years agoIssue #8983: Corrected docstrings.
Alexander Belopolsky [Mon, 16 Aug 2010 20:17:07 +0000 (20:17 +0000)]
Issue #8983: Corrected docstrings.

14 years agoAdd Tim Golden as interested in Windows
Tim Golden [Mon, 16 Aug 2010 20:10:39 +0000 (20:10 +0000)]
Add Tim Golden as interested in Windows

14 years agoI get it wrong in r84097: s/relative/absolute/
Florent Xicluna [Mon, 16 Aug 2010 19:03:05 +0000 (19:03 +0000)]
I get it wrong in r84097: s/relative/absolute/

14 years agoIssue #665761: functools.reduce() will no longer mask exceptions other
Alexander Belopolsky [Mon, 16 Aug 2010 18:55:46 +0000 (18:55 +0000)]
Issue #665761: functools.reduce() will no longer mask exceptions other
than TypeError raised by the iterator argument.  Also added a test to
check that zip() already behaves similarly.

14 years agoUse test.support and unittest features. Fix duplicated test (bad merge in r79033...
Florent Xicluna [Mon, 16 Aug 2010 18:41:19 +0000 (18:41 +0000)]
Use test.support and unittest features.  Fix duplicated test (bad merge in r79033).  Fix comment for issue #7902.

14 years agoAdd versionadded tag to PySys_FormatStd*() functions doc
Victor Stinner [Mon, 16 Aug 2010 18:39:49 +0000 (18:39 +0000)]
Add versionadded tag to PySys_FormatStd*() functions doc

14 years agoIssue #9425: read_directory() is fully unicode compliant
Victor Stinner [Mon, 16 Aug 2010 17:54:28 +0000 (17:54 +0000)]
Issue #9425: read_directory() is fully unicode compliant

zipimport is now able to load a module with an unencodable filename.

14 years agoIssue #9599: Create PySys_FormatStdout() and PySys_FormatStderr()
Victor Stinner [Mon, 16 Aug 2010 17:36:42 +0000 (17:36 +0000)]
Issue #9599: Create PySys_FormatStdout() and PySys_FormatStderr()

Write a message formatted by PyUnicode_FromFormatV() to sys.stdout and
sys.stderr.

14 years agoRemove debug hack
Antoine Pitrou [Mon, 16 Aug 2010 14:33:42 +0000 (14:33 +0000)]
Remove debug hack

14 years agofix getaddrinfo test failure on OSX caused by AI_CANNAME erroneously used as the...
Giampaolo Rodolà [Mon, 16 Aug 2010 05:08:11 +0000 (05:08 +0000)]
fix getaddrinfo test failure on OSX caused by AI_CANNAME erroneously used as the value for 'proto'

14 years agoclose down sockets held by asyncore at end of test; closes issue9619
Richard Jones [Mon, 16 Aug 2010 01:48:14 +0000 (01:48 +0000)]
close down sockets held by asyncore at end of test; closes issue9619

14 years agoSave and restore the global asyncore.socket_map, and warn if a test modified it
Antoine Pitrou [Mon, 16 Aug 2010 00:28:05 +0000 (00:28 +0000)]
Save and restore the global asyncore.socket_map, and warn if a test modified it

14 years agoAdd debug output to the asyncore test
Antoine Pitrou [Sun, 15 Aug 2010 23:28:10 +0000 (23:28 +0000)]
Add debug output to the asyncore test

14 years agoPut test_ciphers in NetworkedTests
Antoine Pitrou [Sun, 15 Aug 2010 23:02:22 +0000 (23:02 +0000)]
Put test_ciphers in NetworkedTests

14 years agoFollowing Ezio's suggestion, force verbose mode on test_ssl to diagnose freezes on 3.x
Antoine Pitrou [Sun, 15 Aug 2010 22:16:23 +0000 (22:16 +0000)]
Following Ezio's suggestion, force verbose mode on test_ssl to diagnose freezes on 3.x

14 years agoReplace readfp() with read_file() in configparser documentation.
Florent Xicluna [Sun, 15 Aug 2010 20:21:26 +0000 (20:21 +0000)]
Replace readfp() with read_file() in configparser documentation.

14 years agoReplace the deprecated ConfigParser.readfp() method, and fix the incomplete merge...
Florent Xicluna [Sun, 15 Aug 2010 20:16:27 +0000 (20:16 +0000)]
Replace the deprecated ConfigParser.readfp() method, and fix the incomplete merge in r82293.

14 years agoFix TESTFN_UNENCODABLE of test.support on Mac OS X
Victor Stinner [Sun, 15 Aug 2010 19:28:21 +0000 (19:28 +0000)]
Fix TESTFN_UNENCODABLE of test.support on Mac OS X

14 years agoFix more 64-bit warnings.
Antoine Pitrou [Sun, 15 Aug 2010 18:51:10 +0000 (18:51 +0000)]
Fix more 64-bit warnings.

14 years agoFix other warnings under 64-bit Windows.
Antoine Pitrou [Sun, 15 Aug 2010 18:07:50 +0000 (18:07 +0000)]
Fix other warnings under 64-bit Windows.

14 years agoFix (harmless) warning with MSVC.
Antoine Pitrou [Sun, 15 Aug 2010 17:41:31 +0000 (17:41 +0000)]
Fix (harmless) warning with MSVC.

14 years agoFix indentation and remove dead code.
Antoine Pitrou [Sun, 15 Aug 2010 17:38:46 +0000 (17:38 +0000)]
Fix indentation and remove dead code.

14 years agoFix some compilation warnings under 64-bit Windows (issue #9566).
Antoine Pitrou [Sun, 15 Aug 2010 17:12:55 +0000 (17:12 +0000)]
Fix some compilation warnings under 64-bit Windows (issue #9566).
Some of these are genuine bugs with objects bigger than 2GB, but
my system doesn't allow me to write tests for it.

14 years agoAdd pgen.stamp to svn:ignore and friends
Antoine Pitrou [Sun, 15 Aug 2010 16:26:49 +0000 (16:26 +0000)]
Add pgen.stamp to svn:ignore and friends

14 years agoDon't run pgen twice when using make -j.
Martin v. Löwis [Sun, 15 Aug 2010 15:47:25 +0000 (15:47 +0000)]
Don't run pgen twice when using make -j.

14 years agoOops, fix a typo in NEWS: surrogateespace => surrogateescape
Victor Stinner [Sun, 15 Aug 2010 09:56:07 +0000 (09:56 +0000)]
Oops, fix a typo in NEWS: surrogateespace => surrogateescape

14 years agoClarify whatsnew entry for short float repr: roundtripping is not a new feature...
Mark Dickinson [Sun, 15 Aug 2010 09:43:29 +0000 (09:43 +0000)]
Clarify whatsnew entry for short float repr:  roundtripping is not a new feature in 2.7.

14 years agoIssue #9605: posix.getlogin() decodes the username with file filesystem
Victor Stinner [Sun, 15 Aug 2010 09:33:08 +0000 (09:33 +0000)]
Issue #9605: posix.getlogin() decodes the username with file filesystem
encoding and surrogateescape error handler. Patch written by David Watson.

Reindent also posix_getlogin(), and fix a typo in the NEWS file.

14 years agoIssue #9604: posix.initgroups() encodes the username using the fileystem
Victor Stinner [Sun, 15 Aug 2010 09:22:44 +0000 (09:22 +0000)]
Issue #9604: posix.initgroups() encodes the username using the fileystem
encoding and surrogateescape error handler. Patch written by David Watson.

14 years agoIssue #9603: posix.ttyname() and posix.ctermid() decode the terminal name
Victor Stinner [Sun, 15 Aug 2010 09:12:51 +0000 (09:12 +0000)]
Issue #9603: posix.ttyname() and posix.ctermid() decode the terminal name
using the filesystem encoding and surrogateescape error handler. Patch
written by David Watson.

14 years agoFix __all__.
Raymond Hettinger [Sun, 15 Aug 2010 07:41:40 +0000 (07:41 +0000)]
Fix __all__.

14 years agoRemoving the comment lines for the modules which were made to build statically.
Senthil Kumaran [Sun, 15 Aug 2010 03:59:07 +0000 (03:59 +0000)]
Removing the comment lines for the modules which were made to build statically.

14 years agoRemove unused imports
Raymond Hettinger [Sun, 15 Aug 2010 03:35:24 +0000 (03:35 +0000)]
Remove unused imports

14 years agoRemove the lfu_cache. Add more tests.
Raymond Hettinger [Sun, 15 Aug 2010 03:30:45 +0000 (03:30 +0000)]
Remove the lfu_cache.  Add more tests.

14 years agoSupport cache sizes.
Raymond Hettinger [Sat, 14 Aug 2010 23:52:08 +0000 (23:52 +0000)]
Support cache sizes.

14 years agoFix typo
Éric Araujo [Sat, 14 Aug 2010 23:44:13 +0000 (23:44 +0000)]
Fix typo

14 years agoLocalize one more builtin lookup.
Raymond Hettinger [Sat, 14 Aug 2010 22:29:52 +0000 (22:29 +0000)]
Localize one more builtin lookup.

14 years agoAdd locks to make the caches well behaved in multi-threaded code.
Raymond Hettinger [Sat, 14 Aug 2010 22:22:10 +0000 (22:22 +0000)]
Add locks to make the caches well behaved in multi-threaded code.
Store builtins in cell variables to speed-up the common path,
reducing the chance of a lock needing to block at all.

14 years agoClean-up the cache patch for the re module.
Raymond Hettinger [Sat, 14 Aug 2010 21:17:48 +0000 (21:17 +0000)]
Clean-up the cache patch for the re module.

14 years agoSilence BytesWarning while testing exception
Florent Xicluna [Sat, 14 Aug 2010 20:51:58 +0000 (20:51 +0000)]
Silence BytesWarning while testing exception

14 years agoSilence the BytesWarning, due to patch r83294 for #9301
Florent Xicluna [Sat, 14 Aug 2010 18:30:35 +0000 (18:30 +0000)]
Silence the BytesWarning, due to patch r83294 for #9301

14 years agoRemove bad merge (from svnmerge r82301)
Florent Xicluna [Sat, 14 Aug 2010 18:03:19 +0000 (18:03 +0000)]
Remove bad merge (from svnmerge r82301)

14 years agoMac OS X denies unencodable filenames (invalid utf-8)
Victor Stinner [Sat, 14 Aug 2010 17:35:20 +0000 (17:35 +0000)]
Mac OS X denies unencodable filenames (invalid utf-8)

14 years agoConvert to spaces.
Florent Xicluna [Sat, 14 Aug 2010 17:15:31 +0000 (17:15 +0000)]
Convert to spaces.

14 years agoCreate _Py_fopen() for PyUnicodeObject path
Victor Stinner [Sat, 14 Aug 2010 17:06:04 +0000 (17:06 +0000)]
Create _Py_fopen() for PyUnicodeObject path

Call _wfopen() on Windows, or fopen() otherwise. Return the new file object on
success, or NULL if the file cannot be open or (if PyErr_Occurred()) on unicode
error.

14 years agoFix order.
Florent Xicluna [Sat, 14 Aug 2010 17:02:49 +0000 (17:02 +0000)]
Fix order.

14 years ago_Py_stat(): ensure that path ends with a nul character
Victor Stinner [Sat, 14 Aug 2010 16:59:08 +0000 (16:59 +0000)]
_Py_stat(): ensure that path ends with a nul character

14 years agoList Misc/python-config.in in Misc/README. Fix few typos.
Florent Xicluna [Sat, 14 Aug 2010 16:56:27 +0000 (16:56 +0000)]
List Misc/python-config.in in Misc/README.  Fix few typos.

14 years agofix issue #8857: provide a test case for socket.getaddrinfo
Giampaolo Rodolà [Sat, 14 Aug 2010 16:45:41 +0000 (16:45 +0000)]
fix issue #8857: provide a test case for socket.getaddrinfo

14 years agoThere doesn't seem to be a reason for this test to be disabled.
Antoine Pitrou [Sat, 14 Aug 2010 16:33:38 +0000 (16:33 +0000)]
There doesn't seem to be a reason for this test to be disabled.

14 years agoThis is a better resolution than r84021 (because it will also affect
Antoine Pitrou [Sat, 14 Aug 2010 16:32:10 +0000 (16:32 +0000)]
This is a better resolution than r84021 (because it will also affect
ssl.get_server_certificate()).

14 years agoAdd a reasonable timeout to network SSL tests, so as to avoid buildbot timeouts
Antoine Pitrou [Sat, 14 Aug 2010 16:24:38 +0000 (16:24 +0000)]
Add a reasonable timeout to network SSL tests, so as to avoid buildbot timeouts
when the remote server doesn't answer.

14 years agoFix format.
Georg Brandl [Sat, 14 Aug 2010 15:57:20 +0000 (15:57 +0000)]
Fix format.

14 years agoMerged manually from 2.7 branch to 3.x trunk.
Florent Xicluna [Sat, 14 Aug 2010 15:56:42 +0000 (15:56 +0000)]
Merged manually from 2.7 branch to 3.x trunk.

  ------------------------------------------------------------------------
  r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010)

  Try to turn some buildbots green by allowing test_multiprocessing to
  pass even if it hits the sys.exc_clear code in the threading module, and
  improve the test coverage by making the ctypes dependencies a bit more
  granular (two of the cited ctypes objects don't exist on my system)
  ------------------------------------------------------------------------

14 years agoTypo fix.
Georg Brandl [Sat, 14 Aug 2010 15:48:49 +0000 (15:48 +0000)]
Typo fix.

14 years agoTypo fix.
Georg Brandl [Sat, 14 Aug 2010 15:46:59 +0000 (15:46 +0000)]
Typo fix.

14 years agoWording fix.
Georg Brandl [Sat, 14 Aug 2010 15:46:15 +0000 (15:46 +0000)]
Wording fix.

14 years agoAdd some maintainers.
Georg Brandl [Sat, 14 Aug 2010 15:44:34 +0000 (15:44 +0000)]
Add some maintainers.

14 years agoIssue #9425: zipimporter_init() is fully unicode compliant
Victor Stinner [Sat, 14 Aug 2010 14:54:10 +0000 (14:54 +0000)]
Issue #9425: zipimporter_init() is fully unicode compliant

14 years agoIssue #9425: Create private _Py_stat() function
Victor Stinner [Sat, 14 Aug 2010 14:50:26 +0000 (14:50 +0000)]
Issue #9425: Create private _Py_stat() function

Use stat() or _wstat() depending on the OS.

14 years agoThere are no *.doc files anymore. Also update "funny" target.
Georg Brandl [Sat, 14 Aug 2010 13:43:37 +0000 (13:43 +0000)]
There are no *.doc files anymore. Also update "funny" target.

14 years agoFix indentation in Modules/getpath.c
Antoine Pitrou [Sat, 14 Aug 2010 12:34:41 +0000 (12:34 +0000)]
Fix indentation in Modules/getpath.c

14 years agoAdd comments about Windows in Modules/getpath.c
Antoine Pitrou [Sat, 14 Aug 2010 12:33:18 +0000 (12:33 +0000)]
Add comments about Windows in Modules/getpath.c

14 years agoAdd myself to threads topic (suggested by Ezio)
Antoine Pitrou [Sat, 14 Aug 2010 12:06:40 +0000 (12:06 +0000)]
Add myself to threads topic (suggested by Ezio)

14 years agoAdd myself for the bug tracker (and for re).
Ezio Melotti [Sat, 14 Aug 2010 09:02:36 +0000 (09:02 +0000)]
Add myself for the bug tracker (and for re).

14 years agoRevert r82831 as discussed at EP now that the wording of maintainers.rst has been...
Ezio Melotti [Sat, 14 Aug 2010 08:54:33 +0000 (08:54 +0000)]
Revert r82831 as discussed at EP now that the wording of maintainers.rst has been clarified.

14 years agoOops, fix typo
Éric Araujo [Sat, 14 Aug 2010 05:00:18 +0000 (05:00 +0000)]
Oops, fix typo

14 years agoLet's commit
Éric Araujo [Sat, 14 Aug 2010 04:56:48 +0000 (04:56 +0000)]
Let's commit

14 years agoFix reference (follow-up to #9061)
Éric Araujo [Sat, 14 Aug 2010 04:55:45 +0000 (04:55 +0000)]
Fix reference (follow-up to #9061)

14 years agoManually merge r83995: Fix version{added,changed} and spacing in NEWS
Éric Araujo [Sat, 14 Aug 2010 03:59:54 +0000 (03:59 +0000)]
Manually merge r83995: Fix version{added,changed} and spacing in NEWS

14 years agoUse a marker in generated MANIFEST files, don't touch files without it. Fixes #8688.
Éric Araujo [Sat, 14 Aug 2010 02:30:34 +0000 (02:30 +0000)]
Use a marker in generated MANIFEST files, don't touch files without it. Fixes #8688.

14 years agoKill a gcc warning introduced by r83988
Victor Stinner [Sat, 14 Aug 2010 00:07:14 +0000 (00:07 +0000)]
Kill a gcc warning introduced by r83988

14 years agoIssue #9542: Create PyUnicode_FSDecoder() function
Victor Stinner [Fri, 13 Aug 2010 23:59:58 +0000 (23:59 +0000)]
Issue #9542: Create PyUnicode_FSDecoder() function

It's a ParseTuple converter: decode bytes objects to unicode using
PyUnicode_DecodeFSDefaultAndSize(); str objects are output as-is.

 * Don't specify surrogateescape error handler in the comments nor the
   documentation, but PyUnicode_DecodeFSDefaultAndSize() and
   PyUnicode_EncodeFSDefault() because these functions use strict error handler
   for the mbcs encoding (on Windows).
 * Remove PyUnicode_FSConverter() comment in unicodeobject.c to avoid
   inconsistency with unicodeobject.h.

14 years agoCreate _Py_wchar2char() function, reverse of _Py_char2wchar()
Victor Stinner [Fri, 13 Aug 2010 23:29:08 +0000 (23:29 +0000)]
Create _Py_wchar2char() function, reverse of _Py_char2wchar()

 * Use _Py_wchar2char() in _wstat() and _Py_wfopen()
 * Document _Py_char2wchar()

14 years agoReimplement addbuilddir() in C inside getpath.c, so as to execute it
Antoine Pitrou [Fri, 13 Aug 2010 22:25:01 +0000 (22:25 +0000)]
Reimplement addbuilddir() in C inside getpath.c, so as to execute it
at interpreter startup before importing any non-builtin modules.
Should fix #9589.

14 years agoFix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE
Victor Stinner [Fri, 13 Aug 2010 22:23:24 +0000 (22:23 +0000)]
Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE

14 years agoIssue #9203: Computed gotos are now enabled by default on supported
Antoine Pitrou [Fri, 13 Aug 2010 21:15:58 +0000 (21:15 +0000)]
Issue #9203: Computed gotos are now enabled by default on supported
compilers (which are detected by the configure script).  They can still
be disable selectively by specifying --without-computed-gotos.

14 years agoFix #9588. Add sys.executable to two shell=True tests.
Brian Curtin [Fri, 13 Aug 2010 20:42:57 +0000 (20:42 +0000)]
Fix #9588. Add sys.executable to two shell=True tests.

14 years agoPer request, make 'nosy' vs 'assign' explicit in maintainers.rst.
R. David Murray [Fri, 13 Aug 2010 18:16:35 +0000 (18:16 +0000)]
Per request, make 'nosy' vs 'assign' explicit in maintainers.rst.

Also add myself as assignable for email issues.

14 years agoIssue #9560: Use -b option of the file command in _syscmd_file()
Victor Stinner [Fri, 13 Aug 2010 16:30:15 +0000 (16:30 +0000)]
Issue #9560: Use -b option of the file command in _syscmd_file()

Omit the filename to avoid enconding issues, especially with non encodable
characters in the Python full path.

14 years agoReapply r83877.
Antoine Pitrou [Fri, 13 Aug 2010 16:27:38 +0000 (16:27 +0000)]
Reapply r83877.

14 years agoRe-apply r83871.
Antoine Pitrou [Fri, 13 Aug 2010 16:26:40 +0000 (16:26 +0000)]
Re-apply r83871.

14 years agoDe-duplicate contents of pytime.h
Antoine Pitrou [Fri, 13 Aug 2010 15:25:56 +0000 (15:25 +0000)]
De-duplicate contents of pytime.h

14 years agoFix copy-paste error.
Georg Brandl [Fri, 13 Aug 2010 15:10:49 +0000 (15:10 +0000)]
Fix copy-paste error.

14 years agoIssue #9425: Create PyErr_WarnFormat() function
Victor Stinner [Fri, 13 Aug 2010 14:03:48 +0000 (14:03 +0000)]
Issue #9425: Create PyErr_WarnFormat() function

Similar to PyErr_WarnEx() but use PyUnicode_FromFormatV() to format the warning
message.

Strip also some trailing spaces.

14 years agoOops, I did it again: add missing \ removed in previous commit
Victor Stinner [Fri, 13 Aug 2010 13:47:18 +0000 (13:47 +0000)]
Oops, I did it again: add missing \ removed in previous commit

14 years agoOops, create TESTFN_UNENCODEABLE from TEST_FN, not TESTFN_UNICODE
Victor Stinner [Fri, 13 Aug 2010 13:45:00 +0000 (13:45 +0000)]
Oops, create TESTFN_UNENCODEABLE from TEST_FN, not TESTFN_UNICODE

test_imp fails on Linux with C locale because TESTFN_UNICODE is not encodable
to ascii.

14 years agoIssue #9425: PyFile_FromFd() ignores the name argument
Victor Stinner [Fri, 13 Aug 2010 13:34:52 +0000 (13:34 +0000)]
Issue #9425: PyFile_FromFd() ignores the name argument

This function is only by imp.find_module() which does return the filename in a
separated variable.

14 years agoIssue #9425: NullImporter constructor is fully unicode compliant
Victor Stinner [Fri, 13 Aug 2010 13:07:29 +0000 (13:07 +0000)]
Issue #9425: NullImporter constructor is fully unicode compliant

 * On non-Windows OSes: the constructor accepts bytes filenames
   and use surrogateescape for unicode filenames
 * On Windows: use GetFileAttributesW() instead of GetFileAttributesA()

14 years agoSet TESTFN_UNENCODEABLE on non-Windows OSes
Victor Stinner [Fri, 13 Aug 2010 13:02:04 +0000 (13:02 +0000)]
Set TESTFN_UNENCODEABLE on non-Windows OSes

 * Use 0xff byte on non-Windows OSes
 * mbcs is now really strict by default: i closed the issue #850997, so use the
   filesystem encoding and not Latin-1
 * Rename TESTFN_UNICODE_UNENCODEABLE to TESTFN_UNENCODEABLE

14 years agoRemove unused test class.
Eric Smith [Thu, 12 Aug 2010 21:55:30 +0000 (21:55 +0000)]
Remove unused test class.

14 years agoTypo.
Antoine Pitrou [Thu, 12 Aug 2010 15:15:01 +0000 (15:15 +0000)]
Typo.

14 years agoIssue #7467: when a file from a ZIP archive, its CRC is checked and a
Antoine Pitrou [Thu, 12 Aug 2010 15:11:50 +0000 (15:11 +0000)]
Issue #7467: when a file from a ZIP archive, its CRC is checked and a
BadZipfile error is raised if it doesn't match (as used to be the
case in Python 2.5 and earlier).

14 years agouse pep 383 decoding for mknod and mkfifo #9570
Benjamin Peterson [Wed, 11 Aug 2010 19:20:42 +0000 (19:20 +0000)]
use pep 383 decoding for mknod and mkfifo #9570

Patch by David Watson.