[issue11054] OS X installer build script for 3.2 can no longer build with system Python on OS X 10.5
Georg Brandl ge...@python.org added the comment: Looks okay to me (and any bugs are likely to become apparent when the installers are built...) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11054 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10989] ssl.SSLContext(True).load_verify_locations(None, True) segfault
Georg Brandl ge...@python.org added the comment: It's reviewed by Antoine, so you can commit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10989 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11032] _string: formatter_field_name_split() and formatter_parser() don't check input type
Georg Brandl ge...@python.org added the comment: I think the canonical message is expected X, not Y. Otherwise, fine to commit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11032 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11032] _string: formatter_field_name_split() and formatter_parser() don't check input type
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11032 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10940] IDLE 3.2 hangs with Cmd-M hotkey on OS X 10.6 with 64-bit installer and A/S Tk 8.5
Georg Brandl ge...@python.org added the comment: If this helps with hanging, okay to commit. (It doesn't have any effect on non-OSX anyway.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10940 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11037] State of PEP 382 or How does distutils2 handle namespaces?
Łukasz Langa luk...@langa.pl added the comment: Martin, could you shed some light on the state of that PEP? -- nosy: +lukasz.langa title: How distutils2 handle namespaces - State of PEP 382 or How does distutils2 handle namespaces? ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11037 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11053] OS X IDLE 3 with Tk 8.4 appears to hang with syntax error
Georg Brandl ge...@python.org added the comment: Good to go. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11053 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9124] Mailbox module should use binary I/O, not text I/O
Georg Brandl ge...@python.org added the comment: I'd really like someone else to throw a pair of eyes at the code changes before it is committed. But yes, I will allow this into rc2, and we'll buy some stabilizing time by adding an rc3 to the cycle. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9124] Mailbox module should use binary I/O, not text I/O
Changes by Georg Brandl ge...@python.org: -- Removed message: http://bugs.python.org/msg127391 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9124] Mailbox module should use binary I/O, not text I/O
Georg Brandl ge...@python.org added the comment: I'd really like someone else to throw a pair of eyes at the code changes before it is committed. But yes, I will allow this into rc2, since a completely broken module isn't really what a minor release is about. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10939] imaplib: Internaldate2tuple raises KeyError parsing month and does not work with negative TZ offset due to bytes/str issues
Georg Brandl ge...@python.org added the comment: The new test is faulty; it appears to be specific to the timezone of the patch submitter. The library fix should go in nevertheless, if you could add a correct test, Alexander, it would be great. -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10939 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11056] 2to3 fails for inner __metaclass__ class definition
New submission from nw nils.win...@googlemail.com: The attached code is not converted properly. No warning either. Eventually it may be a good idea to reintroduce the old more versatile method. -- components: 2to3 (2.x to 3.0 conversion tool) files: test.py messages: 127394 nosy: Nils.Winter priority: normal severity: normal status: open title: 2to3 fails for inner __metaclass__ class definition Added file: http://bugs.python.org/file20598/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11056 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9124] Mailbox module should use binary I/O, not text I/O
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: RDM: it seems i was too tired to get your messages right last evening! Indeed it's now completely my fault, i should inspect the content further in respect to the str/bytes etc. stuff! Thus - i will now need three or four days to cleanup my hacky code before output of this broken thing is of any further use. (If afterwards something new shows up i will of course post a feedback.) It may be of interest for you, however, that speed broke down heavily once again, so that my dumb thing did not take 2 seconds as it did after applying the first patch, but almost 8 seconds. (It takes max. 1.1 seconds on Python 2.7.) Beside that there came to me a hhh! Python is a lot about testing! I would have been more of a help if i would have simply offered some test cases? !! Next time! RDM: thanks a lot for spending long hours of work on this issue! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11057] Missing DistutilsOptionError
New submission from Kelsey kelsey.highto...@gmail.com: Missing DistutilsOptionError import in distutil2.config causes the following error: Traceback (most recent call last): File /opt/OpenPython-2.7.1/lib/python2.7/runpy.py, line 162, in _run_module_as_main __main__, fname, loader, pkg_name) File /opt/OpenPython-2.7.1/lib/python2.7/runpy.py, line 72, in _run_code exec code in run_globals File /opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/run.py, line 181, in module main() File /opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/run.py, line 176, in main return commands_main() File /opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/run.py, line 90, in commands_main dist.parse_config_files() File /opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/dist.py, line 307, in parse_config_files return self.config.parse_config_files(filenames) File /opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/config.py, line 193, in parse_config_files self._read_setup_cfg(parser) File /opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/config.py, line 113, in _read_setup_cfg raise DistutilsOptionError(msg) NameError: global name 'DistutilsOptionError' is not defined -- assignee: tarek components: Distutils2 messages: 127396 nosy: eric.araujo, kelseyhightower, tarek priority: normal severity: normal status: open title: Missing DistutilsOptionError type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11057 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11057] Missing DistutilsOptionError
Kelsey kelsey.highto...@gmail.com added the comment: Link to patch: https://bitbucket.org/khightower/distutils2/changeset/22f336b467b8 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11057 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11057] Missing import of DistutilsOptionError
Changes by Kelsey kelsey.highto...@gmail.com: -- title: Missing DistutilsOptionError - Missing import of DistutilsOptionError ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11057 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11046] setup.py/configure [darwin]
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Let me summarize this thread: - For darwin/MacOS X there exists an undocumented MACOSX_DEPLOYMENT_TARGET switch, which makes its way all through the build-system and the 'sysconfig' module. Even though 'configure' auto-detects checking for OSX 10.5 SDK or later... yes it does not seem to take care about that. I thus request a (documented) --with-macosx-target[=10.5] 'configure' switch. GNU Autoconf is evil! I cannot provide a patch for that. - I've attached a patch (setup.3.patch is now the final version, which adds a 'does_library_chainload_library()' function to setup.py. This one encapsulates the complexity of using different tools on different UNIX platforms and thus moves that out of the widespreaded code. Due to this i'll think it should be merged into Py3K. However: it still contains lines 'sdaoden hack', which i need to get MacOS X running, and which need the eyes of RO or another MacOS X guru! - Besides all that i think this issue thread can be closed. -- keywords: +patch title: darwin/MacOS X setup.py hack - setup.py/configure [darwin] type: - behavior Added file: http://bugs.python.org/file20599/setup.3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11046] setup.py/configure [darwin]
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com: Removed file: http://bugs.python.org/file20575/DIFF ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11046] setup.py/configure [darwin]
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com: Removed file: http://bugs.python.org/file20582/DIFF ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10826] pass_fds sometimes fails
Antoine Pitrou pit...@free.fr added the comment: Here is a patch to ignore door files when running the fd_status script. It seems to eradicate the intermittent failures on the solaris buildbots. -- keywords: +patch Added file: http://bugs.python.org/file20600/spdoors.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10826 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11032] _string: formatter_field_name_split() and formatter_parser() don't check input type
Eric Smith e...@trueblade.com added the comment: It looks like the canonical message is expected X, got Y. With that change I've checked it in in r88226. I'll backport. -- assignee: haypo - eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11032 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11058] dist directory not created when running sdist command
New submission from Kelsey kelsey.highto...@gmail.com: When trying to create a source distribution, I get the following error and no stack trace: [openpython:yamlconfig]$ /opt/OpenPython-2.7.1/bin/python -m distutils2.run sdist WARNING:root:warning: no files found matching 's' WARNING:root:warning: no files found matching 'e' WARNING:root:warning: no files found matching 't' WARNING:root:warning: no files found matching 'u' WARNING:root:warning: no files found matching 'p' WARNING:root:warning: no files found matching '.' WARNING:root:warning: no files found matching 'p' WARNING:root:warning: no files found matching 'y' error: dist/yamlconfig-0.3.1.tar.gz: No such file or directory Not sure what all the WARNINGs are for, will file a separate issue for those. -- assignee: tarek components: Distutils2 messages: 127401 nosy: eric.araujo, kelseyhightower, tarek priority: normal severity: normal status: open title: dist directory not created when running sdist command type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11058 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11032] _string: formatter_field_name_split() and formatter_parser() don't check input type
Eric Smith e...@trueblade.com added the comment: Actually this error doesn't exist on older versions because these used to be methods on a string. The error was introduced in r85456 (issue 9418) when these became functions in the _string module. No need to backport. -- resolution: - accepted stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11032 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9418] Move _formatter_* methods from string type into _string module
Eric Smith e...@trueblade.com added the comment: No further action required. I'm not going to remove format() and friends from stringlib as long as there's chatter about adding a .format() for bytes. -- resolution: - accepted stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9418 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11058] dist directory not created when running sdist command
Kelsey kelsey.highto...@gmail.com added the comment: Link to patch: https://bitbucket.org/khightower/distutils2/changeset/6ef86fa5236b -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11058 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10989] ssl.SSLContext(True).load_verify_locations(None, True) segfault
STINNER Victor victor.stin...@haypocalc.com added the comment: Ok, fixed in r88228. Not backport needed, SSLContext was introduced in Python 3.2. -- resolution: accepted - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10989 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9124] Mailbox module should use binary I/O, not text I/O
STINNER Victor victor.stin...@haypocalc.com added the comment: +if isinstance(message, io.TextIOWrapper): +# Backward compatibility hack. +message = message.buffer Is it a good thing to parse a mailbox using a text file? If not, we should emit a warning and maybe remove this feature in Python 3.3. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11049] add tests for test.support
Nick Coghlan ncogh...@gmail.com added the comment: test_warnings actually includes sanity checks for import_fresh_module - they could be adapted into a separate unit test easily enough. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11049 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11059] code.python.org repo failures introduced!
New submission from Steffen Daode Nurpmeso sdao...@googlemail.com: ... because i don't know where to place this message, i do place it here. Whatever has happened in the last 90 minutes, cloning from code.python.org/hg results in mercurial panics! Please see http://mercurial.selenic.com/bts/issue2239 for more on that. Have a nice weekend. -- messages: 127408 nosy: sdaoden priority: normal severity: normal status: open title: code.python.org repo failures introduced! type: behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11059 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11049] add tests for test.support
Antoine Pitrou pit...@free.fr added the comment: +os.mkdir(os.path.join(TESTFN, TESTFN)) Please don't. This will break the day TESTFN becomes a non-trivial path. +def test_make_bad_fd(self): +fd = support.make_bad_fd() +self.assertRaises(OSError, os.write, fd, bfoo) You should also check that the errno is EBADF. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11049 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11059] code.python.org repo failures introduced!
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: MAN!! Forget it - it's ok again; it's maybe really a mercurial non-atomicity failure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11059 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11059] code.python.org repo failures introduced!
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11059 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11059] code.python.org repo failures introduced!
Antoine Pitrou pit...@free.fr added the comment: Works fine here. -- nosy: +pitrou resolution: - works for me ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11059 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11059] code.python.org repo failures introduced!
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Nope. In the meanwhile i've accomplished to clone py3k once again, but branches/release2.7-maint fails over and over again. I've added another message to http://mercurial.selenic.com/bts/issue2239. Have a nice weekend. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11059 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Antoine Pitrou pit...@free.fr added the comment: Nick, a more problematic issue is that __main__ is always called __main__, regardless of whether it is actually imported as the real main module or through a regular import. This means that it is impossible to discriminate between both uses by using if __name__ == '__main__', which in turn means that top-level code will always get executed as a side-effect of importing, which means the __main__.py feature is completely broken for use with multiprocessing under Windows! This also shows, IMO, how uselessly complicated and misleading the import system has become. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Antoine Pitrou pit...@free.fr added the comment: Actually, forget that (!). The following patch seems to work: Index: Lib/multiprocessing/forking.py === --- Lib/multiprocessing/forking.py (révision 88224) +++ Lib/multiprocessing/forking.py (copie de travail) @@ -474,7 +474,8 @@ else: dirs = [os.path.dirname(main_path)] -assert main_name not in sys.modules, main_name +if main_name != '__main__': +assert main_name not in sys.modules, main_name file, path_name, etc = imp.find_module(main_name, dirs) try: # We would like to do imp.load_module('__main__', ...) Index: Lib/test/__main__.py === --- Lib/test/__main__.py(révision 88224) +++ Lib/test/__main__.py(copie de travail) @@ -1,13 +1,16 @@ from test import regrtest, support +# Issue #10845: avoid executing toplevel code if imported by multiprocessing +# (which is smart enough to import the module under another name). +if __name__ == __main__: -TEMPDIR, TESTCWD = regrtest._make_temp_dir_for_build(regrtest.TEMPDIR) -regrtest.TEMPDIR = TEMPDIR -regrtest.TESTCWD = TESTCWD +TEMPDIR, TESTCWD = regrtest._make_temp_dir_for_build(regrtest.TEMPDIR) +regrtest.TEMPDIR = TEMPDIR +regrtest.TESTCWD = TESTCWD -# Run the tests in a context manager that temporary changes the CWD to a -# temporary and writable directory. If it's not possible to create or -# change the CWD, the original CWD will be used. The original CWD is -# available from support.SAVEDCWD. -with support.temp_cwd(TESTCWD, quiet=True): -regrtest.main() +# Run the tests in a context manager that temporary changes the CWD to a +# temporary and writable directory. If it's not possible to create or +# change the CWD, the original CWD will be used. The original CWD is +# available from support.SAVEDCWD. +with support.temp_cwd(TESTCWD, quiet=True): +regrtest.main() -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Jesse Noller jnol...@gmail.com added the comment: I'm fine with that tweak antoine -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11022] locale.setlocale() doesn't change I/O codec, os.environ does
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Also in respect to Issue 6203 i could talk about a project which did not link against anything in the end, only ld(1) and syscalls and the undocumented third 'char **envp' arg to UNIX main()s. Thus: all of you should be *very* happy about the warm and cosy environment of LibC etc.! You've decided to re-Python as Py3k, is guess it has got something to do with, let me describe it as, UNICODE. Thus: you need a locale. - Environment: has an encoding, though keys are ok to parse in ASCII (unless your OS allows wide characters *optionally*). Still, LC_ values may be specified in a *lot* of different ways, but one thing is true: it's a hard to do in plain C without being able to use stuff which *may* depend upon an initialized library - Path names: have an encoding - Console I/O: has an encoding - File I/O: this is all dumb bytes, just do what you want Conclusion: you need a locale. - Hardcode defaults - Spread specific things all across the implementation. I.e., in path access, use some os.path._sysdep.default_codeset(), in console I/O do os.console._sysdep.default_codeset() etc. (i'm lying about names) - Perform an initial global initialization So - what are you all talking about? Noone - and i really mean NOONE - can assume that a fully blown environment like python(1) can be used as an isolated sandbox thing like ECMAScript! File I/O, child processes ... Shall an entire interpreter lifecycle be possible in a signal(3) handler (uuhh, just kiddin')? Even if that would be true for 2.7 (don't know), in Py3k there is graceful and neatless UNICODE support. You need a locale. I would indeed insist on the following: - The interpreter *has* to be initialized in the cosy LibC (or whatever native thing) environment. Like this it embeds itself neatlessly in there. This *has* to be performed in an *unthreaded* state. If you are really concerned about anything here, add an additional argument (or is it there yet? I did *not* look in there - i would/will need long months to get an idea of the entire python(1) system) to your interpreter's setup() like thing, or allow NULL to nevertheless use setlocale() directly. Like this the embedder can choose herself which approach she wants to adhere. - Even if 3.DID_IT ends up with a lot of 'encoding=STRING' instead of 'codec=None' (aka 'codec=codec_instance'), i would implement the system in a way that a change at a single place is automatically reflected all through the system (on a no-arg-then-use-default) base. After the end: someone who earned about 150 bucks from me for two books i bought almost a decade ago once i've started Thinking In ... programming said some years ago (as i've read in the german magazine c't): In Python i am even more productive than with Java. (I always was in doubt about that person - someone who is productive in Java, who may that be?) Thanks for python(1), and have a nice weekend. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11022 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6203] 3.x locale does not default to C, contrary to the documentation and to 2.x behavior
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: User lemburg pointed me to this, but no, i've posted msg127416 to Issue 11022. -- nosy: +sdaoden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6203 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11015] Bring test.support docs up to date
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11015 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9124] Mailbox module should use binary I/O, not text I/O
R. David Murray rdmur...@bitdance.com added the comment: Victor: yes, I was thinking that when I added that comment but forgot to come back to it. Thanks for spotting that. Another thing I forgot about yesterday is that I activated the commented out statements that do linesep transformations on the binary file data. I'm guessing those were commented out when the module was converted to using text files, since the text file would do the transformation itself. Your patch left them commented out, and the tests passed on Windows. If the tests *still* pass on windows with them uncommented, then that will prove that, like the old email tests, the line ending variations aren't really being tested. But, the important thing here is that I haven't run the tests on Windows yet, and that certainly needs to be done. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Nick Coghlan ncogh...@gmail.com added the comment: Useless is a rather strong word. Every change we've made to the import system (or, more accurately, the main module identification system) has been backed up with decent use cases - nearly all of the subsequent problems can be traced back to the information that gets thrown away due to the backwards compatibility concerns that forced the main module to always be called __main__ without any record of its real name. In the current case, it is the 3-way combination of that behaviour with the lack of real fork() functionality on Windows and an invalid assumption in multiprocessing as to the relationship between __file__ and __name__ that is causing problems. Back on topic, Antoine's tweak looks very similar to the solution I was working on (although I hadn't made it as far as figuring out the need to change test/__main__.py to skip the execution of the top level code). Seeing the need for that change, I think the right answer is actually to skip the find_module/load_module call completely when the module is a file called __main__.py. Such modules are implicitly part of a if __name__ == '__main__' clause, as that's their whole reason for existence. The attached patch works along those lines, and I tested it by making the substantive change (the additional if clause) to an installed copy of 3.2rc1 on my Windows gaming rig. -- keywords: +patch Added file: http://bugs.python.org/file20601/issue10845_mitigation.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11049] add tests for test.support
Giampaolo Rodola' g.rod...@gmail.com added the comment: * class TestCase(unittest.TestCase): - why not give the test class a more useful name? done * import_fresh_module is tested similarly to import_module - can't a test be added that it indeed performs its special sauce? Even by reading the source code I'm not sure what import_fresh_module does exactly. Feel free to write a test for it if you want. * test_DirsOnSysPath: you may want to use assertIn and assertNotIn here. [these were added to Python in 3.1] done * test_python_is_optimized: you may want to use assertIsInstance here. done +os.mkdir(os.path.join(TESTFN, TESTFN)) Please don't. This will break the day TESTFN becomes a non-trivial path. done You should also check that the errno is EBADF. Done. I just hope it's gonna be reliable on all platforms. -- Added file: http://bugs.python.org/file20602/test_support.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11049 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Nick Coghlan ncogh...@gmail.com added the comment: (Replaced patch file to fix a typo in a comment) -- Added file: http://bugs.python.org/file20603/issue10845_mitigation.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Changes by Nick Coghlan ncogh...@gmail.com: Removed file: http://bugs.python.org/file20601/issue10845_mitigation.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Nick Coghlan ncogh...@gmail.com added the comment: Georg, it would be very good to have this fix in for RC2. Otherwise any use of multiprocessing in conjunction with zipfile, package or directory execution will fail on Windows in 3.2. -- assignee: - georg.brandl priority: critical - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Georg Brandl ge...@python.org added the comment: With issue10845_mitigation.diff applied, Antoine's patch is no longer necessary? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Antoine Pitrou pit...@free.fr added the comment: (Replaced patch file to fix a typo in a comment) Does that patch still work if the objects marshalled between parent and child refer to classes living in the __main__.py module? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11060] distutils2 sdist does not complain about version that is not PEP 386 compliant
New submission from Godefroid Chapelle got...@bubblenet.be: sdist does not complain about version = 0.4.5dev which is not PEP 386 compliant -- assignee: tarek components: Distutils2 messages: 127425 nosy: eric.araujo, gotcha, tarek priority: normal severity: normal status: open title: distutils2 sdist does not complain about version that is not PEP 386 compliant ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11060 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Nick Coghlan ncogh...@gmail.com added the comment: __main__.py files aren't like ordinary modules - they should *not* be defining classes or anything like that. Instead, they should be treated as if the entire file was implicitly inside an if __name__ == '__main__': clause - when imported they don't do anything. That's why Antoine's patch set off alarm bells in my head - no normal __main__.py will include an explicit if __name__ == '__main__': check, so multiprocessing should just skip the file completely instead. There's no doubt that either approach is a hack that will sometimes fail to work, but I think skipping the file execution completely will be the right decision most of the time (and we can easily say don't do that then if people rely on class definitions in __main__.py files). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Nick Coghlan ncogh...@gmail.com added the comment: To answer Antoine's question directly: With the patch, it works just as well as multiprocessing on Windows currently does if the objects marshalled between parent and child refer to classes defined inside a if __name__ == '__main__': clause in the main module (i.e. it doesn't, but that isn't really multiprocessing's fault) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11037] State of PEP 382 or How does distutils2 handle namespaces?
Sebastien Douche sdou...@gmail.com added the comment: Thanks Martin for the response, but I cannot understand how implement it after reading the PEP. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11037 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11037] How does distutils2 handle namespaces?
Éric Araujo mer...@netwok.org added the comment: Hi Sébastien. How does d2 handle namespaces? It does not, because such a thing does not exist yet. We don’t support setuptools’ namespace packages, but wait for the cleaned-up standardization thanks to to PEP 382. That PEP hasn’t reached consensus yet, so it’s too early to implement it. If that answers your question, I think I’ll close this bug: There’s nothing we can do now, and when PEP 382 is accepted, support will be added to d2. -- title: State of PEP 382 or How does distutils2 handle namespaces? - How does distutils2 handle namespaces? versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11037 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11037] How does distutils2 handle namespaces?
Tarek Ziadé ziade.ta...@gmail.com added the comment: Yes me neither. The PEP is hard to understand, maybe a pseudo-code example could shed some light -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11037 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11037] How does distutils2 handle namespaces?
Tarek Ziadé ziade.ta...@gmail.com added the comment: Eric: the PEP was accepted already IIRC, and its status is not up-to-date. So it's just a matter of adding the implementation now. This bug can be a placeholder for its implementation if no other bug was opened for this yet -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11037 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11037] Implementing PEP 382
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- title: How does distutils2 handle namespaces? - Implementing PEP 382 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11037 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11057] Missing import of DistutilsOptionError
Éric Araujo mer...@netwok.org added the comment: Fixed two NameErrors in that file in 801c90825cc1, thanks. -- assignee: tarek - eric.araujo resolution: - fixed stage: - committed/rejected versions: +3rd party -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11057 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11062] mailbox fails to round-trip a file to a Babyl mailbox
New submission from R. David Murray rdmur...@bitdance.com: One of the new tests introduced for #9124 fails for the Bably mailbox format. The failing tests pass a file to the add method (test_add_binary_file, test_add_nonascii_binary_file, test_add_text_file_warns). The failing part of the tests have been temporarily disabled for the Bably mailbox format since it is a pre-existing, unreported bug. -- components: Library (Lib) keywords: easy messages: 127434 nosy: r.david.murray priority: normal severity: normal stage: needs patch status: open title: mailbox fails to round-trip a file to a Babyl mailbox type: behavior versions: Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11062 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10932] distutils.core.setup - data_files misbehaviour ?
Éric Araujo mer...@netwok.org added the comment: Thanks for the patch. Would you like to complete it? It lacks tests, and I think the fix may be in the wrong place: You fixed sdist but not bdists. I think the root of the problem is in the manifest (distutils2) / filelist (distutils1) module. (We want to fix bugs in distutils2 first and then backport them to d1, as explained in the short guidelines I linked to in msg126545, which I advise you to read.) -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10932 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11042] [PyPI CSS] Adding project urls onto a project page using register, apparition of an overhead over the title
Éric Araujo mer...@netwok.org added the comment: This tracker is for bugs found in the CPython distribution (or distutils2, which is temporarily developed outside of it), not other codebases like PyPI or the tracker itself. Your bug report will be welcome on the catalog-...@python.org mailing list, especially if you can provide a patch (instructions on http://wiki.python.org/moin/CheeseShopDev). -- assignee: tarek - nosy: -tarek, tarek-ziade resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11042 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10939] imaplib: Internaldate2tuple raises KeyError parsing month and does not work with negative TZ offset due to bytes/str issues
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Attached patch fixes the test (hopefully we don't have to support systems with non-POSIX epoch) and cleans up whitespace. -- resolution: - accepted stage: patch review - commit review Added file: http://bugs.python.org/file20604/issue10939.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10939 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10939] imaplib: Internaldate2tuple raises KeyError parsing month and does not work with negative TZ offset due to bytes/str issues
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file20604/issue10939.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10939 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10939] imaplib: Internaldate2tuple raises KeyError parsing month and does not work with negative TZ offset due to bytes/str issues
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Added file: http://bugs.python.org/file20605/issue10939.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10939 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11044] The description-file isn't handled by distutils2
Éric Araujo mer...@netwok.org added the comment: Probably fixed by Gaël in changeset c8dfb3c63894. (BTW, please never use local revision numbers for Mercurial, they’re confusing.) -- resolution: out of date - fixed stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11044 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11040] After registering a project to PyPI, classifiers fields aren't displayed.
Éric Araujo mer...@netwok.org added the comment: Please report this to catalog-sig. -- assignee: tarek - components: -Distutils2 nosy: +eric.araujo resolution: - invalid stage: - committed/rejected status: open - closed type: behavior - versions: -3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11040 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11038] Some commands should stop if Name and Version are missing
Éric Araujo mer...@netwok.org added the comment: Thanks for the report and fix (da2f3527ef02). I think you wanted to use a global object to list required fields, but you defined it without using it: _345_REQUIRED = ('Name', 'Version') [...] -for attr in ('Name', 'Version', 'Home-page'): + +for attr in ('Name', 'Version'): -- assignee: tarek - eric.araujo resolution: - fixed stage: - committed/rejected status: open - closed type: feature request - behavior versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11038 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2193] Cookie Colon Name Bug
And Clover a...@doxdesk.com added the comment: @carsten.klein: there is no such thing as an “original RFC”. The RFCs that have been produced on the subject of cookies, 2109 and 2965, were drawn up long after user-agents implemented cookies. Their attempts to clean up the warts of cookies and implement new features have completely failed. Their strictures are not obeyed by user agents; they are irrelevant and should not be used as the basis for any server-side cookie implementation. The nearest to an original standard for cookies is the Netscape cookie-spec (see eg http://curl.haxx.se/rfc/cookie_spec.html), which is far too woolly to really count as a real specification, but which allows all but `;`, `,` and space, and in practice browsers do typically allow all characters that do not already serve as delimiters. Python should be liberal in what it accepts. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2193 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11063] uuid.py module import has heavy side effects
New submission from Keith Dart keith.d...@gmail.com: When the uuid.py module is simply imported it has the side effect of forking a subprocess (/sbin/ldconfig) and doing a lot of stuff find a uuid implementation by ctypes. This is undesirable in many contexts. It would be better to perform those tasks on demand, when the first UUID is actually requested. In general, imports should avoid unnecessary system call side effects. This also makes testing easier. -- components: Library (Lib) messages: 127442 nosy: Keith.Dart priority: normal severity: normal status: open title: uuid.py module import has heavy side effects type: resource usage versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11063 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11037] Implementing PEP 382
Éric Araujo mer...@netwok.org added the comment: This message makes me think it is not accepted: http://mail.python.org/pipermail/python-dev/2010-May/100457.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11037 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10939] imaplib: Internaldate2tuple raises KeyError parsing month and does not work with negative TZ offset due to bytes/str issues
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in revision 88231. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10939 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10845] test_multiprocessing failure under Windows
Georg Brandl ge...@python.org added the comment: Looks like Antoine agreed, so this should be fine to go in. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9124] Mailbox module should use binary I/O, not text I/O
R. David Murray rdmur...@bitdance.com added the comment: OK, I've added deprecation warnings for using StringIO or text mode files as input. I found one bug thereby, but it is a bug that pre-existed the patch (see issue 11062). I've completed my code review. To address Victor's question about the mh-sequences file: nmh rejects non-ascii sequence names, so the file should contain only ASCII. The man page specifies that sequences are composed only of alphanumeric characters. I think opening the file in text mode using the system default encoding is probably fine, since if any mh program does support non-ascii sequence names that is likely what it would do as well. Of course, in the future I would think utf-8 would be preferred, but I guess we can deal with that issue if we get a bug report. We're maintaining backward compatibility with 3.1 here, so it's not really an issue for this patch. As far as the 'if bytes' business goes, the tests pass for me without those lines, and it looks to me like they should not be needed. On IRC Victor said he thought he may have introduced those before the patch was finished. We have decided to omit them. I think I've address the remainder of Victor's issues already. The last step is running the tests on Windows. Attached is the updated patch. -- Added file: http://bugs.python.org/file20606/mailbox4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11036] Allow multiple files in the description-file metadata
Éric Araujo mer...@netwok.org added the comment: +1, this was agreed upon last summer: https://bitbucket.org/Merwok/sample-distutils2-project/src/tip/new-config-file.rst#cl-255 (see also fellowship archive). Fixed by Gaël in c8dfb3c63894. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11036 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11025] Distutils2 install command without setup.py or setup.cfg create an UNKNOWN-UNKNOWN.dist-info distribution
Éric Araujo mer...@netwok.org added the comment: Closing as duplicate, please comment on the other bug report if the unwanted behavior is still here. -- nosy: -tarek, tarek-ziade resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Some commands should stop if Name and Version are missing versions: +3rd party -Python 2.5, Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11025 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10639] reindent.py converts newlines to platform default
Éric Araujo mer...@netwok.org added the comment: I’m not opposed to reindent normalizing EOLs, given that our VCS hooks will translate them to the right thing (for example, making sure that files specific to the Windows build use CRLF, not LF, even if edited on POSIX). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10639 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11048] import ctypes causes segfault on read-only filesystem
Pavel Labushev p.labus...@gmail.com added the comment: How to reproduce: # mkdir /mnt/readonly # mount --bind / /mnt/readonly # mount -o remount,ro /mnt/readonly # mount -t proc proc /mnt/readonly/proc # chroot /mnt/readonly python3.2 -c import ctypes Segmentation fault If your python build expected to have this bug, you'll see something like this (the -1 EROFS lines): # chroot /mnt/readonly strace -f -e trace=open python3.2 -c import ctypes 21 | grep ffi open(/usr/lib/libffi.so.5, O_RDONLY) = 5 open(/tmp/.private/root/ffiicoh8G, O_RDWR|O_CREAT|O_EXCL, 0600) = -1 ENOENT (No such file or directory) open(/tmp/ffiFjqUa9, O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EROFS (Read-only file system) open(/var/tmp/ffidTdydB, O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EROFS (Read-only file system) open(/dev/shm/ffiemIcg3, O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EROFS (Read-only file system) open(/root/ffiXfWRiv, O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EROFS (Read-only file system) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11048 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11045] shutil._make_tarball
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11045 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11047] Bad description for an entry in whatsnew/2.7
Changes by Éric Araujo mer...@netwok.org: -- nosy: +barry, brett.cannon, flox, gangesmaster, loewis, meador.inge title: Bad description for a change - Bad description for an entry in whatsnew/2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11047 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11023] pep 227 missing text
Éric Araujo mer...@netwok.org added the comment: This tracker is for reporting bugs found in the CPython distribution, not PEPs, PyPI or other websites. You can write to the python-dev mailing list if the XXX bother you. -- assignee: docs@python - components: -Documentation nosy: +eric.araujo -docs@python resolution: - invalid stage: - committed/rejected status: open - closed type: feature request - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11023 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11057] Missing import of DistutilsOptionError
Changes by Éric Araujo mer...@netwok.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11057 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11063] uuid.py module import has heavy side effects
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11063 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11058] dist directory not created when running sdist command
Éric Araujo mer...@netwok.org added the comment: The warnings mean that some code is iterating over the string 'setup.py' instead of a list like ['setup.py']. This message comes from the manifest module, but I don’t know more. Regarding the bug and proposed patch, I wonder. This was not needed previously, so why is it now? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11058 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11064] abc documentation version conflict
New submission from Dustin Farris dustin.far...@gmail.com: Running help(abc) in Python 2.6.1 displays syntax for Py3k. -- assignee: docs@python components: Documentation messages: 127453 nosy: docs@python, dustin.farris priority: normal severity: normal status: open title: abc documentation version conflict type: behavior versions: Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11064 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11064] abc documentation version conflict
Éric Araujo mer...@netwok.org added the comment: Not for me: | class C: | __metaclass__ = ABCMeta | @abstractproperty -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11064 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11064] abc documentation version conflict
Dustin Farris dustin.far...@gmail.com added the comment: This is what I get: Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type help, copyright, credits or license for more information. import abc help(abc) NAME abc - Abstract Base Classes (ABCs) according to PEP 3119. FILE /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/abc.py . | Usage: | | class C(metaclass=ABCMeta): | @abstractproperty | def my_abstract_property(self): | ... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11064 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11061] Verify command option before parsing config file
Éric Araujo mer...@netwok.org added the comment: I’m afraid I don’t understand your report. -- versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11061 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11064] abc documentation version conflict
Éric Araujo mer...@netwok.org added the comment: Can you reproduce with 2.6.6? -- assignee: docs@python - components: +Library (Lib) -Documentation nosy: -docs@python versions: -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11064 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11064] abc documentation version conflict
Dustin Farris dustin.far...@gmail.com added the comment: Negative. 2.6.6 is correct. Apologies. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11064 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9124] Mailbox module should use binary I/O, not text I/O
STINNER Victor victor.stin...@haypocalc.com added the comment: The last step is running the tests on Windows. Attached is the updated patch. mailbox4.patch doesn't pass on Windows, Raymond is working on a patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11064] abc documentation version conflict
Éric Araujo mer...@netwok.org added the comment: No problem, thanks for wanting to help. Don’t hesitate to report other bugs you may find in the future, if you find them in the latest versions :) -- resolution: rejected - out of date stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11064 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11063] uuid.py module import has heavy side effects
Changes by Keith Dart keith.d...@gmail.com: -- nosy: +kdart ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11063 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10940] IDLE 3.2 hangs with Cmd-M hotkey on OS X 10.6 with 64-bit installer and A/S Tk 8.5
Ned Deily n...@acm.org added the comment: Committed in r88232 for 3.2rc2. Pending 2.7 backport, if necessary. -- priority: release blocker - resolution: accepted - fixed stage: commit review - committed/rejected status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10940 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11056] 2to3 fails for inner __metaclass__ class definition
Changes by nw nils.win...@googlemail.com: -- keywords: +patch Added file: http://bugs.python.org/file20607/fix.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11056 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10939] imaplib: Internaldate2tuple raises KeyError parsing month and does not work with negative TZ offset due to bytes/str issues
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Merged to 3.1 in r88233. -- nosy: +benjamin.peterson resolution: accepted - fixed stage: commit review - committed/rejected versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10939 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11053] OS X IDLE 3 with Tk 8.4 appears to hang with syntax error
Ned Deily n...@acm.org added the comment: Committed in r88234 for 3.2rc2. Pending backport to 3.1. -- priority: release blocker - resolution: - fixed stage: commit review - committed/rejected status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11053 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11054] OS X installer build script for 3.2 can no longer build with system Python on OS X 10.5
Ned Deily n...@acm.org added the comment: Committed in r88235 for 3.2rc2 with release manager approval. Pending 2.7 backport. -- priority: release blocker - resolution: - fixed stage: patch review - committed/rejected status: open - pending versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11054 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11056] 2to3 fails for inner __metaclass__ class definition
Changes by Georg Brandl ge...@python.org: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11056 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2193] Cookie Colon Name Bug
karl karl+pythonb...@la-grange.net added the comment: @aclover see my comment http://bugs.python.org/issue2193#msg125423 Adam Barth is working for Google on Chrome. The RFC being written is made in cooperation with other browser developers. If you have comments about this RFC you are welcome to add comment on freenode at #whatwg. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2193 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10975] #10961: Pydoc touchups in new 3.2 Web server (issue4090042)
Éric Araujo mer...@netwok.org added the comment: XP. I think Firefox 3.5 is still widely used, maybe older version too. For Windows, I guess IE 7 and 8 are used too. Opera seems to be compliant, so a good test; on Mac OS X, I understand other browsers are used. clear=allnbsp;/div' at the end of the header. I think these should be both instead of all. all works, but both seems to be more correct. I’m afraid my Web skills are a bit rusty; I don’t know anymore the various quirks of various browsers and required kludges. If you’re making a patch, you should do the research :) (name, name) On 2011/01/21 18:46:01, merwok wrote: I see no reason for polluting the key value with “.html” changed in 3.3 if it's desirable to do so. Thinking again about that: The other ?key request you mention have been added in 3.2, right? If there is no released version with those ?thing=spam.html request, I repeat my -1 on appending .html. http://codereview.appspot.com/4090042/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10975 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11065] Fatal can't locate locale errors when zip file with directories is on the PYTHONPATH.
New submission from Ned Batchelder ned...@users.sourceforge.net: Run this shell script against 3.2, and it will fail. Against 3.1, it succeeds. I've been running tests on Ubuntu 10.10. mkdir -p sub cat sub/modzip.py END_PY j = 1 END_PY zip zipmod.zip sub/modzip.py PYTHONPATH=zipmod.zip python3 -c import sys; print(sys.version) The failure I get is: Fatal Python error: Py_Initialize: Unable to get the locale encoding LookupError: no codec search functions registered: can't find encoding -- components: None messages: 127467 nosy: nedbat priority: normal severity: normal status: open title: Fatal can't locate locale errors when zip file with directories is on the PYTHONPATH. type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11065 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com