[issue10984] argparse add_mutually_exclusive_group should accept existing arguments to register conflicts
Steven Bethard steven.beth...@gmail.com added the comment: I'm definitely open to providing such functionality. I assume you're imagining something like: parser = argparse.ArgumentParser() a_action = parser.add_argument('-a') b_action = parser.add_argument('-b') c_action = parser.add_argument('-c') d_action = parser.add_argument('-d') parser.add_mutually_exclusive_group(a_action, c_action) parser.add_mutually_exclusive_group(a_action, d_action) ... If you can supply a patch, I'll take a look at it. -- type: behavior - feature request versions: -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10984 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9509] argparse FileType raises ugly exception for missing file
Steven Bethard steven.beth...@gmail.com added the comment: Georg, is this something we can patch for rc2? It's a bug - errors encountered by argparse-internal code should be translated into command line errors, and they currently aren't for read-only files. For what it's worth, the tests fail when the new test_argparse test is added, and pass when the patch is applied, and I have personally reviewed the code and run the entire test suite on OS X and everything still passes. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9509] argparse FileType raises ugly exception for missing file
Georg Brandl ge...@python.org added the comment: This would be acceptable to patch; I wonder whether to swallow the exception text of IOError though. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9509] argparse FileType raises ugly exception for missing file
Steven Bethard steven.beth...@gmail.com added the comment: Good point. Here's the updated patch that reports the IOError as well. All tests pass. I'll apply in a bit if I don't hear otherwise. -- Added file: http://bugs.python.org/file20491/argparse.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10973] OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typed in text field
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment: On 23 Jan 2011, at 04:33, Georg Brandl wrote: Georg Brandl ge...@python.org added the comment: I disagree. There aren't really 64-bit users on OSX, thanks to fat binaries. So if starting IDLE would start a 32-bit interpreter, users likely won't even notice. If they do notice, they can still run in 64-bit mode from the command line. Okay, fair enough. If it's easy to always let IDLE run in 32-bit mode, I'm fine with that. What about other programs using tkinter? In a previous message (http://bugs.python.org/issue10973#msg126868) I mentioned that I get warning messages with the 32-bit version of 3.1.3 in OSX 10.6. Would a 32-bit version for 3.2 correct these? -- title: OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typed in text field - OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typed in text field ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10973 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9509] argparse FileType raises ugly exception for missing file
Georg Brandl ge...@python.org added the comment: Library patch looks good. Tests: Does the create_readonly_file helper work on all platforms, esp. Windows? Maybe it's better to create a different error situation? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10974] IDLE 3.2 not loading on double-click in Finder, OSX 10.6
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment: On 22 Jan 2011, at 04:50, Ned Deily wrote: [...] A similar exception occurs (without a crash) when saving a file to a non-ASCII file name and LANG is not properly set: [...] Is there a way of telling tkinter to set the encoding to utf-8 (or whatever) before seeking recent-files.lst? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10974 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9509] argparse FileType raises ugly exception for missing file
SilentGhost ghost@gmail.com added the comment: I've tested this on windows. It passed all test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2889] curses for windows (alternative patch)
Prasun Ratn pras...@gmail.com added the comment: What is the status of this bug? I tried to build the svn trunk with patches provided by zhirsch but I had problems applying the patches. I went ahead and made a new patch which is pretty similar to the earlier patch (mentioned above). The one change is that I implemented mkstemp() so putwin() and getwin() work. -- nosy: +Prasun Ratn Added file: http://bugs.python.org/file20492/pdcurses-changes.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2889 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2889] curses for windows (alternative patch)
Changes by Prasun Ratn pras...@gmail.com: Added file: http://bugs.python.org/file20493/pdcurses.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2889 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10949] logging.RotatingFileHandler not robust enough
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: facepalmSorry, Georg! I think I've been working too hard, this completely passed me by. Should have left py3k till later, as it's not that urgent./facepalm -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10949 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9509] argparse FileType raises ugly exception for missing file
Steven Bethard steven.beth...@gmail.com added the comment: The docs for os.chmod claim: Availability: Unix, Windows. Although Windows supports chmod(), you can only set the file's read-only flag with it (via the stat.S_IWRITE and stat.S_IREAD constants or a corresponding integer value). All other bits are ignored. So at least according to the current docs, we should be okay calling `os.chmod(file_path, stat.S_IREAD)` on Unix and Windows (and of course OS X too). Is that enough or did you have other platforms in mind? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10973] OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typed in text field
Michael Foord mich...@voidspace.org.uk added the comment: There are a few issues here. X11 is not installed by *default* on Mac OS X (it is supplied separately) so it doesn't provide an out of the box solution. Starting IDLE as 32bit alone doesn't solve the problem as it launches a subprocess and you have to ensure that is launched as a 32bit process as well. I think *clearly* documenting that the Mac OS X 10.6 version *requires* Activestate Tcl / Tk 8.5 is the best solution (assuming I am correct in thinking that using the Activestate distribution solves the problem). This is really a duplicate of issue 10969 by the way. See the discussion there for suggested ways to clarify the dependency on the download page. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10973 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10987] _pickle doesn't handle recursion limits properly
Antoine Pitrou pit...@free.fr added the comment: Here is a patch. I also strength the recursion limit testing script by testing both recursion through dicts and through lists. -- components: +Extension Modules keywords: +patch nosy: +alexandre.vassalotti, amaury.forgeotdarc, georg.brandl stage: - patch review title: Bizarre pickle -- exception interaction bug - _pickle doesn't handle recursion limits properly type: behavior - crash versions: +Python 3.1 Added file: http://bugs.python.org/file20494/picklerec.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10987 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10960] os.stat() does not mention that it follow symlinks by default
R. David Murray rdmur...@bitdance.com added the comment: I don't think Georg considers it a bug in Sphinx, it's just how the disambiguation machinery works. You can write :func:`~os.stat` if you want the link text to just be 'stat' but the link to be to 'os.stat'. I don't think the addition to lstat is either helpful or needed. The addition to stat, which is needed, I don't think should be a note, but rather an inline comment early in the documentation paragraph. Thanks for working on this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10960 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10954] No warning for csv.writer API change
R. David Murray rdmur...@bitdance.com added the comment: The API change would be generating an error if newline='' wasn't specified. Amplifying the bytes-case error message would be fine, though. On the other hand, we are in RC phase, and I'm not at all sure this is important enough to go in to an RC. On the gripping hand it is also trivial enough that Georg might approve it. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10954 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10987] _pickle doesn't handle recursion limits properly
Antoine Pitrou pit...@free.fr added the comment: Committed in r88147 (3.2) and r88148 (3.1). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10987 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10988] Descriptor protocol documentation for super bindings is incorrect
New submission from Joshua Arnold josharnol...@gmail.com: In 'Doc/reference/datamodel.rst', the 'Invoking Descriptors' documentation specifies the following behavior for super objects: [snip] Super Binding If ``a`` is an instance of :class:`super`, then the binding ``super(B, obj).m()`` searches ``obj.__class__.__mro__`` for the base class ``A`` immediately preceding ``B`` and then invokes the descriptor with the call: ``A.__dict__['m'].__get__(obj, A)``. [snip] In the above paragrah, the call: A.__dict__['m'].__get__(obj, A) is incorrect. In reality, the descriptor is invoked via: A.__dict__['m'].__get__(obj, obj.__class__) Loosely speaking, the 'owner' argument is set to the subclass associated with the super object, not the superclass. There is a similar error in the 'Descriptor HowTo Guide' under 'Invoking Descriptors' (Strictly speaking, the specification is inaccurate on some other points. It assumes obj is not a class and doesn't state that the entire mro preceding 'B' is searched for 'm'. But those may be considered simplifications for the sake of brevity) I considered reporting this as a bug in the implementation rather than the specification. But I think the implementation's algorithm is the correct one. In particular, it yields the desired behavior for classmethods In any case, the current behavior has been around for a while (it was the fix for issue #535444, dating back to 2.2) Code demonstrating the current behavior: class Desc(object): def __get__(self, instance, owner): return owner class A(object): attr = Desc() class B(A): pass class C(B): pass instance = C() assert super(B,instance).attr == C assert super(B,C).attr == C #According to the specification, the assertions should be: #assert super(B,instance).attr == A #assert super(B,C).attr == A -- assignee: docs@python components: Documentation messages: 126895 nosy: Joshua.Arnold, docs@python priority: normal severity: normal status: open title: Descriptor protocol documentation for super bindings is incorrect versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10988 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10955] Possible regression with stdlib in zipfile
Ronald Oussoren ronaldousso...@mac.com added the comment: Data files can be anything that can be a data-file in a setuptools/distribute setup.py file. Note that #10972 isn't necessary when python32.zip is build using the zipfile module, _encodeFilenameFlags uses either ASCII or UTF-8 to encode filenames and the new zipimport behavior matches that. I can confirm that the current HEAD fixes the problems I had in py2app. BTW. I do considered this a regression because having the stdlib in a zipfile used to work in earlier versions, was obviously something that was intended to work (python32.zip in the default value for sys.path) and no longer worked. And last but definitely not least: Thanks for the quick response. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10955 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10973] OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typed in text field
Ned Deily n...@acm.org added the comment: Michael, the crash documented here is *not* fixed by installing ActiveState 8.5; it is currently a problem seen with both A/S and Apple's Tk 8.5. Also, to answer my own question, I double-checked the Snow Leopard 10.6 installation DVD and, unlike earlier releases, X11 is now installed by default. That said, there is now some action on the Tcl front which may result in an official patch to at least prevent the crash. If so, there may be yet another option: 6. for 64-bit installer, have the installer build a Cocoa Tk 8.5 (using the installer's existing third-party lib infrastructure) and ship with the 64-bit installer So, at the moment, I think the best course of action is to explore the various patch options and, with more info available, a decision for 3.2rc2 made prior to cutoff. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10973 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10954] No warning for csv.writer API change
Georg Brandl ge...@python.org added the comment: Can we have a concrete proposal in the form of a patch, please? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10954 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10988] Descriptor protocol documentation for super bindings is incorrect
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: docs@python - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10988 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10960] os.stat() does not mention that it follow symlinks by default
Michal Nowikowski godf...@gmail.com added the comment: The patch v2: - in description of os.stat function added information about following symlinks, - made list of returned attributes by os.stat function more readable, - fixed links to os.stat function in whole document. -- Added file: http://bugs.python.org/file20495/improved-lstat-doc-patch-v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10960 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10985] test_sys triggers a fatal python error when run under coverage.py
Brett Cannon br...@python.org added the comment: I have a patch for this which makes it a CPython-only test along with being conditional if a trace function is set. Making it a release blocker to see if Georg will let me commit it. -- keywords: +patch nosy: +georg.brandl priority: normal - release blocker Added file: http://bugs.python.org/file20496/issue10985.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10985 ___ ___ 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
New submission from STINNER Victor victor.stin...@haypocalc.com: ssl.SSLContext(True).load_verify_locations(None, True) does segfault. Py_DECREF(cafile_bytes) in Modules/_ssl.c:1686 should be replaced by Py_XDECREF(cafile_bytes). -- components: Library (Lib) messages: 126901 nosy: haypo, pitrou priority: normal severity: normal status: open title: ssl.SSLContext(True).load_verify_locations(None, True) segfault versions: Python 3.2, Python 3.3 ___ 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
[issue10989] ssl.SSLContext(True).load_verify_locations(None, True) segfault
Antoine Pitrou pit...@free.fr added the comment: Needs a patch + tests :) -- nosy: +georg.brandl priority: normal - high stage: - needs patch type: - crash ___ 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
[issue10954] No warning for csv.writer API change
Skip Montanaro s...@pobox.com added the comment: Looking at the csv.rst file I see this statement early in the py3k docs: If *csvfile* is a file object, it should be opened with ``newline=''``. There is also a footnote about the consequences of leaving it out: .. [#] If ``newline=''`` is not specified, newlines embedded inside quoted fields will not be interpreted correctly. It should always be safe to specify ``newline=''``, since the csv module does its own universal newline handling on input. Finally, the examples all use newline=''. I see two things to change in the docs: * Replace should with must in the first quoted sentence above. * Add that sentence to the documentation for the csv.writer() function. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10954 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10954] No warning for csv.writer API change
Skip Montanaro s...@pobox.com added the comment: My suggestion attached. -- keywords: +patch Added file: http://bugs.python.org/file20497/csv.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10954 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10985] test_sys triggers a fatal python error when run under coverage.py
Brett Cannon br...@python.org added the comment: Georg cleared the commit; just waiting for a test run with coverage.py to finish before committing. -- resolution: - accepted stage: unit test needed - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10985 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10954] No warning for csv.writer API change
John Machin sjmac...@lexicon.net added the comment: Skip, the docs bug is #7198. This is the meaningful-exception bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10954 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10985] test_sys triggers a fatal python error when run under coverage.py
Brett Cannon br...@python.org added the comment: r88153 w/ a review by Georg Brandl -- resolution: accepted - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10985 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10990] tests mutating sys.gettrace() w/o re-instating previous state
New submission from Brett Cannon br...@python.org: The attached patch adds resource monitoring to test.regrtest to detect which tests are changing the trace function w/o putting back to what it was previously. The tests listed below are thus all being naughty. This is a meta-issue to help track which tests need to be changed to stop this behavior. test_doctest test_exceptions test_io test_pdb test_pickle test_pickletools test_richcmp test_runpy test_scope test_sys_settrace test_zipimport_support -- components: Tests files: sys_gettrace_monitor.diff keywords: patch messages: 126908 nosy: brett.cannon priority: normal severity: normal stage: needs patch status: open title: tests mutating sys.gettrace() w/o re-instating previous state type: behavior versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file20498/sys_gettrace_monitor.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10990 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10991] trace fails when test imported a temporary file
New submission from Brett Cannon br...@python.org: If you run ``test.regrtest -T`` you will discover that (at least) test_importlib and test_runpy prevent coverage data from being written out as 'trace' will try to find files which no longer exist. Both test suites create temp files, import them, and then delete them. Unfortunately 'trace' doesn't ignore that fact and throws an exception that the temporary files are gone. Since the file is simply gone it probably makes sense to have 'trace' just print out a warning that the file could not be found and move on. -- components: Library (Lib) messages: 126909 nosy: brett.cannon priority: normal severity: normal stage: unit test needed status: open title: trace fails when test imported a temporary file type: behavior versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10991 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10979] setUpClass exception causes explosion with -b
Changes by Michael Foord mich...@voidspace.org.uk: -- assignee: - michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10979 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10961] Pydoc touchups in new browser for 3.2
Changes by Ron Adam ron_a...@users.sourceforge.net: Removed file: http://bugs.python.org/file20473/pydoc_misc_fix_c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10961 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10573] Consistency in unittest assert methods: order of actual, expected
Michael Foord mich...@voidspace.org.uk added the comment: There was a BDFL ruling on python-dev mailing list that assert argument names should be (first, second). See: http://mail.python.org/pipermail/python-dev/2010-December/106954.html I'm basically reverting the patch to go back to (first, second) in the docs and in assertCountEqual. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10573 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10573] Consistency in unittest assert methods: order of actual, expected
Michael Foord mich...@voidspace.org.uk added the comment: Note that I looked at making the sequence comparison code symmetric - but it generates nice diffs for even nested containers by using prettyprint and difflib. Switching to a symmetric output (in first, not in second etc) would be very difficult without losing functionality. Generating these diffs can be very slow though, so it may be an issue that needs revisiting. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10573 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10992] tests failing when run under coverage
New submission from Brett Cannon br...@python.org: A bunch of tests fail when run under coverage (trend seems to be refcount tests). This is to act as a meta-issue to keep track of what tests need to be fixed. [fail under both coverage.py and regrtest -T] test_ctypes test_descr test_gc test_metaclass test_pydoc test_trace [coverage.py only] test_genexps test_sys [regrtest -T only] test_array test_importlib test_runpy -- components: Tests messages: 126913 nosy: brett.cannon priority: normal severity: normal stage: needs patch status: open title: tests failing when run under coverage type: behavior versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10992 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10974] IDLE 3.x can crash decoding recent file list
Ned Deily n...@acm.org added the comment: IDLE 3.x currently does not specify an explicit encoding when reading or writing the recent files list (~/.idlerc/recent-files.lst) and it defaults to errors=strict. So IDLE 3.x is vulnerable to crashes if any of the recent files contain characters that can not be decoded using the LANG environment that IDLE is running under. That can happen if the user changes LANG or the recent-files.lst was updated by IDLE 2.x or, on OS X, when running as IDLE.app. The solution in the attached patch is to explicitly force the encoding of the file paths to utf_8 and to set errors=replace. Since this has the potential to crash IDLE, I propose it for inclusion in 3.2rc2. -- keywords: +patch nosy: +georg.brandl stage: needs patch - commit review title: IDLE 3.2 not loading on double-click in Finder, OSX 10.6 - IDLE 3.x can crash decoding recent file list Added file: http://bugs.python.org/file20500/issue10974.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10974 ___ ___ 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
Senthil Kumaran orsent...@gmail.com added the comment: Why is reindent.py translating the whole file to platform default newline such a bad thing? Could not it be considered as helpful behavior, especially in the case where the user has mixed EOLs by mistake? -- nosy: +orsenthil ___ 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
[issue1075356] exceeding obscure weakproxy bug
Senthil Kumaran orsent...@gmail.com added the comment: I find this problem with 3.x and not with 2.x codeline -- nosy: +orsenthil versions: +Python 3.1, Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1075356 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4431] Distutils MSVC doesn't create manifest file (with fix)
Gregory Czajkowski gcflym...@gmail.com added the comment: Also happening with python2.6 and building pyzmq-2.0.10 using easy_install. dschnur's suggestion fixes it. -- nosy: +gcflymoto ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4431 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com