[issue1559549] ImportError needs attributes for module and file name
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1559549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11559] Increase test coverage in dis module
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11559 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1559549] ImportError needs attributes for module and file name
Filip Gruszczyński grusz...@gmail.com added the comment: I didn't know about this mq extension. I will do a proper patch with a test after friday. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1559549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10242] unittest's assertItemsEqual() method makes too many assumptions about its input
Gregory P. Smith g...@krypto.org added the comment: assertCountEqual has been released in 3.2 as the new name. close this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10242 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11559] Increase test coverage in dis module
Roundup Robot devnull@devnull added the comment: New changeset f41c3d9e05bd by Benjamin Peterson in branch 'default': improve dis test coverage (closes #11559) http://hg.python.org/cpython/rev/f41c3d9e05bd -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11559 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11477] Bug in code dispatching based on internal slots
Terry J. Reedy tjre...@udel.edu added the comment: b9b7d4c10bc4.diff is a huge compilation of all commits from the last few days, with the abstract.c diff buried about 3/4ths of the way through. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11432] webbrowser.open on unix fails.
Roundup Robot devnull@devnull added the comment: New changeset 08daf3ef6509 by Gregory P. Smith in branch 'default': Add unittests demonstrating issue #11432. http://hg.python.org/cpython/rev/08daf3ef6509 New changeset adcf03b074b7 by Gregory P. Smith in branch 'default': Fix issue #11432. if the stdin pipe is the same file descriptor as either stdout or stderr http://hg.python.org/cpython/rev/adcf03b074b7 New changeset ead52adcd0c8 by Gregory P. Smith in branch '3.2': Fix issue #11432. if the stdin pipe is the same file descriptor as either stdout or stderr http://hg.python.org/cpython/rev/ead52adcd0c8 New changeset ad2bd8d338b0 by Gregory P. Smith in branch '3.2': Add unittests demonstrating issue #11432. http://hg.python.org/cpython/rev/ad2bd8d338b0 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11432 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes
Jason R. Coombs jar...@jaraco.com added the comment: This bug also affects poster. http://bitbucket.org/jaraco/poster (httplib reference in httpstreaming.py) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11276 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11432] webbrowser.open on unix fails.
Roundup Robot devnull@devnull added the comment: New changeset 82e010943c68 by Gregory P. Smith in branch '3.2': issue 11432 news entry. http://hg.python.org/cpython/rev/82e010943c68 New changeset 8d3bcf57977b by Gregory P. Smith in branch 'default': Misc/NEWS entry for issue 11432 http://hg.python.org/cpython/rev/8d3bcf57977b -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11432 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11432] webbrowser.open on unix fails.
Changes by Gregory P. Smith g...@krypto.org: -- resolution: - fixed status: open - closed versions: -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11432 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11501] distutils.archive_util should handle absence of zlib module
Roundup Robot devnull@devnull added the comment: New changeset 6b33aa811821 by Antoine Pitrou in branch '3.1': On behalf of Tarek: Issue #11501: disutils.archive_utils.make_zipfile no http://hg.python.org/cpython/rev/6b33aa811821 New changeset 1bf4383f190a by Antoine Pitrou in branch '3.2': Merge fix for issue #11501 http://hg.python.org/cpython/rev/1bf4383f190a New changeset cccddd797d95 by Antoine Pitrou in branch 'default': Merge fix for issue #11501 http://hg.python.org/cpython/rev/cccddd797d95 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11501 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11550] Fix ResourceWarning in test_pulldom
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nvawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11550 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11501] distutils.archive_util should handle absence of zlib module
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11501 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input
Ronald Oussoren ronaldousso...@mac.com added the comment: This isn't strictly a key-bindings problem, other events also cause problems. I've patched ScriptBinding.py and repacled run_module_event that causes the original, now renamed, method to be called a little why later. This change doesn't fix the issue but makes it even worse: even the menu no longer works. def run_module_event(self, event): self.editwin.text_frame.after('idle', self._run_module_event, None) return 'break' def _run_module_event(self, event): Run the module after setting up the environment. I'm getting more and more disappointed in the way Tk on OSX is moving forward. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11088 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)
Nick Coghlan ncogh...@gmail.com added the comment: I'd suggest calling Py_FatalError rather than calling abort() directly in _PyObject_AssertFailed, but otherwise this looks like a nice improvement over standard C asserts for state invariants that may be broken by buggy C extensions. For the tests, take a look at test.script_helper - it provides some convenience wrappers for spawning subprocesses for tests that would cause problems if run in the current process. -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9263 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input
Ronald Oussoren ronaldousso...@mac.com added the comment: Got it to work by introducing both a delayed call and a generated event, just one of those isn't good enough. The attached patch seems to fix the issue for me (patch was created using diff(1), not through mercurial). I haven't tested this on anything else than IDLE 3.2 on OSX 10.6 with Tk 8.5.9 from ActiveState. If this gets committed I'd at the very least use this workaround only for Tk-Cocoa on OSX, and use the current code path on other platforms. That gives more code, but makes it clear than something special is being done for one specific platform. -- keywords: +patch Added file: http://bugs.python.org/file21226/issue-11088.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11088 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11550] Fix ResourceWarning in test_pulldom
Roundup Robot devnull@devnull added the comment: New changeset aa000dd4287f by Brett Cannon in branch 'default': Close a stream properly in test.test_pulldom. http://hg.python.org/cpython/rev/aa000dd4287f -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11550 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11550] Fix ResourceWarning in test_pulldom
Brett Cannon br...@python.org added the comment: Fixed in [aa000dd4287f]. I went with a simpler solution than Ben's, but it did help figure out what to do. -- nosy: +brett.cannon resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11550 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input
Changes by Ronald Oussoren ronaldousso...@mac.com: Removed file: http://bugs.python.org/file21226/issue-11088.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11088 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input
Ronald Oussoren ronaldousso...@mac.com added the comment: Added an updated version of the patch: * Only perform the workaround in IDLE.app on OSX * A slightly longer timeout is needed to work reliably on my machine The latter bullet indicates that this is probably not a reliable fix, there is a timeing issue. -- Added file: http://bugs.python.org/file21227/issue-11088.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11088 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11548] Passing format= to unpack_archive fails
Changes by Evan Dandrea e...@ubuntu.com: Added file: http://bugs.python.org/file21228/fix_unpack_with_format.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11548 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11548] Passing format= to unpack_archive fails
Changes by Evan Dandrea e...@ubuntu.com: Removed file: http://bugs.python.org/file21196/fix_unpack_with_format.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11548 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11560] Expand test coverage in shutil
New submission from Evan Dandrea e...@ubuntu.com: The attached patch increases the coverage in shutil. It makes the following changes: - Tests the code paths for file and directory copies across filesystems by mocking out rename. - Adds a test for shutil.copy. - Adds a test for shutil.copy2. - Tests shutil.unpack_archive with the format specified. - Tests the code path for creating the target directory in _make_tarball. I have tested this on Ubuntu natty and OSX 10.6.6. Note that this will fail until http://bugs.python.org/issue11548 is applied. -- components: Tests files: increase_test_shutil_coverage.patch keywords: patch messages: 131041 nosy: ev, tarek priority: normal severity: normal status: open title: Expand test coverage in shutil Added file: http://bugs.python.org/file21229/increase_test_shutil_coverage.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11560 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes
Jason R. Coombs jar...@jaraco.com added the comment: it looks like lib maintainers can work around the limitation by using the syntax: import _winreg as winreg And then reference the name winreg (or any other preferred name). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11276 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11469] Fix resource warning in test_trailers
Brett Cannon br...@python.org added the comment: So is this a bogus bug, or a valid bug created with a bogus account? -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11469 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11216] email.message.Message set_charset does not encode properly?
Roundup Robot devnull@devnull added the comment: New changeset cf1859f9aed9 by R David Murray in branch '3.1': #11216: document all possible set_charset execution paths. http://hg.python.org/cpython/rev/cf1859f9aed9 New changeset 4d25b9d2aa05 by R David Murray in branch '3.2': Merge #11216: document all possible set_charset execution paths. http://hg.python.org/cpython/rev/4d25b9d2aa05 New changeset 2dd70fd26f24 by R David Murray in branch 'default': Merge #11216: document all possible set_charset execution paths. http://hg.python.org/cpython/rev/2dd70fd26f24 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11216 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11510] Peephole breaks set unpacking
Roundup Robot devnull@devnull added the comment: New changeset 912eb87946e0 by Raymond Hettinger in branch '3.2': Issue 11510: Fix BUILD_SET optimizer bug. http://hg.python.org/cpython/rev/912eb87946e0 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11510 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11216] email.message.Message set_charset does not encode properly?
Roundup Robot devnull@devnull added the comment: New changeset 43ccd051ec6c by R David Murray in branch '2.7': Merge #11216: document all possible set_charset execution paths. http://hg.python.org/cpython/rev/43ccd051ec6c -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11216 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11469] Fix resource warning in test_trailers
brian.curtin.test brian.cur...@gmail.com added the comment: On Mar 15, 2011 5:39 PM, Brett Cannon rep...@bugs.python.org wrote: Brett Cannon br...@python.org added the comment: So is this a bogus bug, or a valid bug created with a bogus account? -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11469 ___ The bug is valid, at least as of Friday afternoon. -- Added file: http://bugs.python.org/file21230/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11469 ___pbr On Mar 15, 2011 5:39 PM, quot;Brett Cannonquot; lt;a href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt; wrote:br gt;br gt;br gt; Brett Cannon lt;a href=mailto:br...@python.org;br...@python.org/agt; added the comment:br gt;br gt; So is this a bogus bug, or a valid bug created with a bogus account?br gt;br gt; --br gt; nosy: +brett.cannonbr gt;br gt; ___br gt; Python tracker lt;a href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;br gt; lt;a href=http://bugs.python.org/issue11469;http://bugs.python.org/issue11469/agt;br gt; ___/p pThe bug is valid, at least as of Friday afternoon. /p ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11216] email.message.Message set_charset does not encode properly?
R. David Murray rdmur...@bitdance.com added the comment: I've committed the patch as is. We'll address improving the semantics one way or another as part of email6 development. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11216 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows
Changes by Ronald Oussoren ronaldousso...@mac.com: Removed file: http://bugs.python.org/file21218/issue11055.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11055 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11510] Peephole breaks set unpacking
Roundup Robot devnull@devnull added the comment: New changeset db6997fb4c99 by Raymond Hettinger in branch 'default': Issue 11510: Fix BUILD_SET optimizer bug. http://hg.python.org/cpython/rev/db6997fb4c99 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11510 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11510] Peephole breaks set unpacking
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Eugene, thanks for noticing and reporting this. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11510 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11561] coverage of Python regrtest cannot see initial import of libs
New submission from Brandon Craig Rhodes bran...@rhodesmill.org: When running the Python regression tests in coverage, the initial outer level of interpreted code in several standard library modules shows as not having been covered by the tests, because they were imported during the Python boot process and were already loaded when the coverage command got control. -- messages: 131051 nosy: brandon-rhodes priority: normal severity: normal status: open title: coverage of Python regrtest cannot see initial import of libs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11561 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows
Ronald Oussoren ronaldousso...@mac.com added the comment: This is not caused by unwanted interaction with Tk's default bindings, changing the save-as bindings to Shift+Cmd+M doesn't fix the issue. It seems that the save event is generated twice, for reasons I don't yet understand (I'm definitely not enough of a Tkinter user to understand what's going on). I have attached a new patch that fixes the issue for me, by recognizing that a save event is getting in while already saving. The fix is only active on OSX. BTW. This issue probably also affects 2.7, I haven't done a rebuild of 2.7 yet to check that. -- Added file: http://bugs.python.org/file21231/issue11055.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11055 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11561] coverage of Python regrtest cannot see initial import of libs
Brandon Craig Rhodes bran...@rhodesmill.org added the comment: Here is a module that solves this problem if the tests are run with the fullcoverage directory at the front of the PYTHONPATH, like this: PYTHONPATH=Tools/fullcoverage ./python -m coverage run --pylib Lib/test/regrtest.py test_copy -- keywords: +patch Added file: http://bugs.python.org/file21232/fullcoverage.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11561 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11510] Peephole breaks set unpacking
R. David Murray rdmur...@bitdance.com added the comment: Raymond, it looks like you committed this fix separately to the 3.2 branch and the default branch, instead of committing to 3.2 and then merging to default. With svn, this wasn't a big deal, but with mercurial it will leave the 3.2 changeset unmerged, and the next person who wants to submit something will have to merge it. (A dummy merge, since you already committed the fix to default). -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11510 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11549] Rewrite peephole to work on AST
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11562] += on list inside a tuple raises TypeError but succeds anyway
New submission from Mike Smith scgtrp+python-b...@gmail.com: Using += to append to a list inside a tuple raises a TypeError but succeeds in appending the value anyway: t = (1, [2, 3, 4]) t[1].append(5) t[1] += [6] Traceback (most recent call last): File stdin, line 1, in module TypeError: 'tuple' object does not support item assignment t (1, [2, 3, 4, 5, 6]) I have reproduced this on all the Python interpreters available to me (CPython 2.6, 2.7, and 3.1). -- components: Interpreter Core messages: 131055 nosy: scgtrp priority: normal severity: normal status: open title: += on list inside a tuple raises TypeError but succeds anyway type: behavior versions: Python 2.6, Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11562 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11561] coverage of Python regrtest cannot see initial import of libs
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +brett.cannon, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11561 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)
Ronald Oussoren ronaldousso...@mac.com added the comment: Could someone with access to a windows box test the patch there? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10684 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11477] Bug in code dispatching based on internal slots
Nick Coghlan ncogh...@gmail.com added the comment: We know, I left it there to help MvL debug the issues in the diff generator. The version I created with the rdiff extension is correct though, and Martin fixed the Reitveld integration to handle the extra lines at the start of the diff. I wouldn't actually commit the change as it stands (if nothing else, PyErr_Matches() calls are needed in the unicode methods), but it gives a clear idea of the magnitude of the changes needed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11562] += on list inside a tuple raises TypeError but succeds anyway
Changes by Daniel Stutzbach stutzb...@google.com: -- nosy: +stutzbach stage: - test needed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11562 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11401] email.header error during .flatten()
R. David Murray rdmur...@bitdance.com added the comment: It turns out this is a bug in 3.1, not something introduced by email5.1 in 3.2. The minimum reproducer is stringifying any message containing a header with no body. -- stage: - needs patch versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11401 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11563] test_urllibnet is triggering a ResourceWarning
New submission from Brett Cannon br...@python.org: test.test_urllibnet.urlopenNetworkTests.test_getcode() is leaving a socket open. My guess is that the error condition being triggered is somehow leaving the socket open but I can't find where. -- components: Library (Lib) messages: 131059 nosy: brett.cannon priority: normal severity: normal stage: needs patch status: open title: test_urllibnet is triggering a ResourceWarning ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11563 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11564] pickle limits most datatypes
New submission from Nik Galitsky nicolay.ye...@exxonmobil.com: Python 3.2 on linux (RHEL 5.3) x86_64 build from source code. Configure options: ./configure --prefix=/scratch/Python-3.2 --enable-big-digits=30 --with-universal-archs=all --with-fpectl --enable-shared Built with GCC 4.3.3 with major options -g3 -O3 -m64 -fPIC. Testcase that shows the issue: #import numpy import pickle print(begin) #a = numpy.zeros((2.5e9 / 8,), dtype = numpy.float64) a = ('a' * (2 ** 31)) print(allocated) #print(a); pickle.dumps(a, pickle.DEFAULT_PROTOCOL) print(end) The problem as I can see it is that in pickle.py most types defined either as 2 bytes, or 4 bytes. For example it is peppered with lines like: self.write(SOMETYPE + pack(i, n) + obj) while pickling, when unpickling: len = mloads('i' + self.read(4)) Which limits the range and the size of the datatype that can be pickled, if I understand correctly. replacing in pickle.py above lines with something like self.write(SOMETYPE + pack(Q, n) + obj) and len = mloads('Q' + self.read(8)) lets above testcase run to completion. Othervise it crashes (on Python 2.7.1 with SIGSEGV) on Python 3.2 strace shows: ... open(/scratch/Python-3.2/lib/python3.2/lib-dynload/_pickle.cpython-32m.so, O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0755, st_size=412939, ...}) = 0 open(/scratch/hpl005/UIT_test/apps_exc/Python-3.2/lib/python3.2/lib-dynload/_pickle.cpython-32m.so, O_RDONLY) = 5 read(5, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\300\0\0\0\0\0\0..., 832) = 832 fstat(5, {st_mode=S_IFREG|0755, st_size=412939, ...}) = 0 mmap(NULL, 2185384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x2b05b5f68000 mprotect(0x2b05b5f7b000, 2093056, PROT_NONE) = 0 mmap(0x2b05b617a000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x12000) = 0x2b05b617a000 close(5)= 0 close(4)= 0 close(3)= 0 write(1, begin\n, 6begin ) = 6 mmap(NULL, 4294971392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b05b617e000 write(1, allocated\n, 10allocated ) = 10 mmap(NULL, 8589938688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b06b617f000 mremap(0x2b06b617f000, 8589938688, 2147487744, MREMAP_MAYMOVE) = 0x2b06b617f000 mmap(NULL, 4294971392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b073618 munmap(0x2b06b617f000, 2147487744) = 0 munmap(0x2b073618, 4294971392) = 0 write(2, Traceback (most recent call last..., 35Traceback (most recent call last): ) = 35 write(2, File \pickle_long.py\, line 9,..., 45 File pickle_long.py, line 9, in module ) = 45 open(pickle_long.py, O_RDONLY)= 3 fstat(3, {st_mode=S_IFREG|0644, st_size=251, ...}) = 0 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x79f7c9e0) = -1 ENOTTY (Inappropriate ioctl for device) fstat(3, {st_mode=S_IFREG|0644, st_size=251, ...}) = 0 lseek(3, 0, SEEK_CUR) = 0 dup(3) = 4 fcntl(4, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fstat(4, {st_mode=S_IFREG|0644, st_size=251, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b06b617f000 lseek(4, 0, SEEK_CUR) = 0 read(4, #import numpy\n\nimport pickle\npri..., 4096) = 251 close(4)= 0 munmap(0x2b06b617f000, 4096)= 0 lseek(3, 0, SEEK_SET) = 0 lseek(3, 0, SEEK_CUR) = 0 read(3, #import numpy\n\nimport pickle\npri..., 4096) = 251 close(3)= 0 write(2, pickle.dumps(a, pickle.DEFAU..., 45pickle.dumps(a, pickle.DEFAULT_PROTOCOL) ) = 45 write(2, SystemError: error return withou..., 48SystemError: error return without exception set ) = 48 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x2b05b118e4c0}, {0x2b05b0e7a570, [], SA_RESTORER, 0x2b05b118e4c0}, 8) = 0 munmap(0x2b05b617e000, 4294971392) = 0 exit_group(1) = ? Why is this limitation? Please advise. -- components: Interpreter Core messages: 131060 nosy: nyevik priority: normal severity: normal status: open title: pickle limits most datatypes type: crash versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11564 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11477] Bug in code dispatching based on internal slots
Changes by Armin Rigo ar...@users.sourceforge.net: -- nosy: -arigo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11565] Another (the last) group of misspellings
New submission from Piotr Kasprzyk c...@ciri.pl: This it the second (and last) part of misspellings. Please also close/reject issue 11507 - it is outdated. -- components: None files: another_misspellings.patch keywords: patch messages: 131061 nosy: ezio.melotti, kwadrat priority: normal severity: normal status: open title: Another (the last) group of misspellings type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21233/another_misspellings.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11565 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11564] pickle not 64-bit ready
Antoine Pitrou pit...@free.fr added the comment: Indeed: s = b'a' * (2**31) d = pickle.dumps(s) Traceback (most recent call last): File stdin, line 1, in module SystemError: error return without exception set There are two aspects to this: - (bugfix) raise a proper exception when an object too large for handling by pickle is given - (feature) improve the pickle protocol to handle objects larger than (2**31-1) elements The improvement to the pickle protocol should probably be considered along other improvements, because we don't want to create a new protocol too often. See also issue9614. -- nosy: +alexandre.vassalotti, amaury.forgeotdarc, belopolsky, pitrou title: pickle limits most datatypes - pickle not 64-bit ready versions: +Python 3.1, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11564 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11298] unittest discovery needs better explanation
Changes by R. David Murray rdmur...@bitdance.com: Removed file: http://bugs.python.org/file21043/issue11298_py2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11298 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11562] += on list inside a tuple raises TypeError but succeds anyway
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11562 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11298] unittest discovery needs better explanation
R. David Murray rdmur...@bitdance.com added the comment: Drat, I accidentally deleted the patch file. Reattaching. -- nosy: +r.david.murray Added file: http://bugs.python.org/file21234/issue11298_py2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11298 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11564] pickle not 64-bit ready
Alexandre Vassalotti alexan...@peadrop.com added the comment: We could resort to the text-based protocol which doesn't have these limitations with respect to object lengths (IIRC). Performance won't be amazing, but we won't have to modify the current pickle protocol. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11564 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)
Ronald Oussoren ronaldousso...@mac.com added the comment: The attached patch fixes the test failures with Tk 8.5.9, I haven't tested with other versions or other platforms. The change to 'test_traversal' should be sane. The change to 'test_tab_identifiers' is more phishy. I've done two changes there: (1) slightly different index to test for tab 0, as layout on OSX needs more space and (2) the code assumes that tab(idx) won't raise an exception, I've added a TclError catch to ensure that other locations get tested as well. With these changes the tests pass, but I'd like a review from someone that knows about tkinter and ttk before committing. -- Added file: http://bugs.python.org/file21235/issue10736.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10736 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11133] inspect.getattr_static code execution
Roundup Robot devnull@devnull added the comment: New changeset 8c7eac34f7bf by Michael Foord in branch '3.2': Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution http://hg.python.org/cpython/rev/8c7eac34f7bf -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11133 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10684 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11566] hypot define in pyconfig.h clashes with g++'s cmath
New submission from Ralf Schmitt sch...@gmail.com: The following program #include Python.h #include cmath results in the following error when compiled with g++ and -std=gnu++0x: $ g++ -std=gnu++0x -c t.cc -I /c/Python27/Include In file included from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.1/include/c++/cmath:629:0, from t.cc:2: c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.1/include/c++/tr1_impl/cmath:203:11: error: '::hypot' has not been declared The problem is, that pyconfig.h has the following define: #define hypot _hypot It should probably just be removed when using gcc. -- components: None messages: 131067 nosy: schmir priority: normal severity: normal status: open title: hypot define in pyconfig.h clashes with g++'s cmath type: compile error versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11566 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11244] Negative tuple elements produce inefficient code.
Eugene Toder elto...@gmail.com added the comment: Is anyone reviewing my patch? It's just 1 line long. Should it be moved to another issue? Though, technically, it's needed to address the regression in question: Python 3.1 folds -0, the current code still does not. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11244 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11244] Negative tuple elements produce inefficient code.
Antoine Pitrou pit...@free.fr added the comment: Eugene, according to Mark your patch is fine. It just needs someone to commit it. I would personally prefer to let Mark handle it, since he's our specialist in negative zeroes (and other numerical subtleties) ;) -- stage: patch review - commit review versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11244 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11549] Rewrite peephole to work on AST
Skip Montanaro s...@pobox.com added the comment: I'm confused. Why aren't there review links? -- nosy: +skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11549] Rewrite peephole to work on AST
Eugene Toder elto...@gmail.com added the comment: Because I don't know how to make them. Any pointers? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11549] Rewrite peephole to work on AST
Antoine Pitrou pit...@free.fr added the comment: Because I don't know how to make them. Any pointers? Martin is hacking on the tool these days... So it's no surprise it doesn't work perfectly yet ;) If you have a Google account you can upload these patches to http://codereview.appspot.com/, though. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8600] test_gdb failures
Jesús Cea Avión j...@jcea.es added the comment: This issue is still bugging OpenIndiana buildbots. The patch is trivial and painless. I will patch 2.7, 3.1, 3.2 and 3.x in a few minutes. -- assignee: dmalcolm - jcea status: closed - open versions: +Python 3.1, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11549] Rewrite peephole to work on AST
Eugene Toder elto...@gmail.com added the comment: Thanks. Review link: http://codereview.appspot.com/4281051 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8600] test_gdb failures
Jesús Cea Avión j...@jcea.es added the comment: Uhmm, the test seems to have vanished in 3.x. Uhmmm... Why?. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8600] test_gdb failures
Antoine Pitrou pit...@free.fr added the comment: Uhmm, the test seems to have vanished in 3.x. Uhmmm... Why?. Which test are you talking about? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8600] test_gdb failures
Changes by Jesús Cea Avión j...@jcea.es: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8600] test_gdb failures
Jesús Cea Avión j...@jcea.es added the comment: gdb tests. The python gdb scripting ability. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8600] test_gdb failures
Antoine Pitrou pit...@free.fr added the comment: gdb tests. The python gdb scripting ability. ? $ ls Lib/test/test_gdb.py Lib/test/test_gdb.py -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8600] test_gdb failures
Jesús Cea Avión j...@jcea.es added the comment: I don't see it in python 3.1 branch. Will fix 3.2 and 3.x. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8600] test_gdb failures
Roundup Robot devnull@devnull added the comment: New changeset bca545c0941a by Jesus Cea in branch '3.2': Close issue #8600: test_gdb failures because innocuous warnings http://hg.python.org/cpython/rev/bca545c0941a New changeset bbfc6a6ca017 by Jesus Cea in branch 'default': Merge: Close issue #8600: test_gdb failures because innocuous warnings http://hg.python.org/cpython/rev/bbfc6a6ca017 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11453] asyncore.file_wrapper should implement __del__ and call close there to prevent resource leaks and behave like socket.socket does.
Ben Hayden hayden...@gmail.com added the comment: Adding a patch that adds an __exit__ function much like the one that socket.socket implements. Passes the test_asyncore also doesn't raise a resource warning when I explicitly comment out some close() calls on file wrapper objects in the test. -- keywords: +patch nosy: +beardedp Added file: http://bugs.python.org/file21236/issue11453.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11453 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11507] Misspelled exercises
Changes by Ezio Melotti ezio.melo...@gmail.com: -- superseder: - Misspelled actually ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11507 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11507] Misspelled exercises
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11507 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11565] Another (the last) group of misspellings
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11565 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5846] Deprecate obsolete functions in unittest
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch versions: +Python 3.3 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5846 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11549] Rewrite peephole to work on AST
Nick Coghlan ncogh...@gmail.com added the comment: The review links didn't come up automatically because 336137a359ae isn't a hg.python.org/cpython revision ID. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11549] Rewrite peephole to work on AST
Eugene Toder elto...@gmail.com added the comment: I see. Should I attach diffs vs. some revision from hg.python.org? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11549] Rewrite peephole to work on AST
Nick Coghlan ncogh...@gmail.com added the comment: No need, since you manually created a review on appspot. The local Reitveld links are just a convenience that can avoid the need to manually create a review instance. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11567] http.server error message format
New submission from Ivan Radigales Creus ivan...@gmail.com: The global variable DEFAULT_ERROR_MESSAGE on the module http.server is set to a non W3C standard value. It would be better to use something like: DEFAULT_ERROR_MESSAGE = \ !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html;charset=utf-8 / titleError response/title /head body h1Error response/h1 pError code %(code)d./p pMessage: %(message)s./p pError code explanation: %(code)s = %(explain)s./p /body /html That follows the W3C standards and validates successful on the http://validator.w3.org Thanks! -- components: Library (Lib) messages: 131086 nosy: Ivan.Radigales.Creus priority: normal severity: normal status: open title: http.server error message format type: performance versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11567 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2578] additional unittest type equality methods
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2578 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2249] To document assertTrue in unittest
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2249 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows
Ned Deily n...@acm.org added the comment: Another data point: the key binding for Undo (Shift-Command-Z) exhibits similar behavior, i.e. it is executed twice. And trying with Python 2.7.1 linked with A/S Tk 8.5 and with the old key bindings where Shift-Command-S is Save Copy rather than Save As, it appears that now two Save Copy events happen. So it appears to happen in general (?) when Shift is combined with another accelerator. But it doesn't happen with Option-Command-S in 3.2. And, using the Wish 8.5 menu demo, I was not able to reproduce the problem there by simply changing the accelerators to from Command-letter to Shift-Command-letter. So it's hard not to rule out something in IDLE yet. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11055 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10812] Add some posix functions
Gregory P. Smith g...@krypto.org added the comment: I added some comments on the review for 10812_v5.patch. not sure why v6 doesn't have a review link. Overall, very nice after addressing the few comments I had. btw, can you sync this up with the hg tip (3.3) now while addressing the above? I'm excited to see readv/writev/fadvise added. Extremely useful. -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10812 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com