[issue11510] Peephole breaks set unpacking
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: See attached. -- keywords: +patch Added file: http://bugs.python.org/file21208/peep.diff ___ 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 Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ 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
[issue6584] gzip module has no custom exception
Filip Gruszczyński grusz...@gmail.com added the comment: I had some time today, so I managed to fix the patch. I hope now everything is ok. -- Added file: http://bugs.python.org/file21209/6584_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6584 ___ ___ 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
Éric Araujo mer...@netwok.org added the comment: I'm not using if zlib is not None since the archive_utils module never explicitly imports zlib. Well, you can import zlib in that module too to detect in advance whether zipfile will work. -- ___ 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
[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation
Éric Araujo mer...@netwok.org added the comment: Thanks for the test. The patch is minimal and makes distutils work correctly with the new pyc handling in 3.2+, so I will apply it in a few days unless Tarek disagrees. -- assignee: tarek - eric.araujo stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11254 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11553] Docs for: import, packages, site.py, .pth files
New submission from Graham Wideman initcont...@grahamwideman.com: The overall scope of this issue is that current Python documentation gives vague, sometimes incorrect, information about the set of Python features involved in modularizing functionality. This issue presents an obstacle to programmers making smooth transitions from a single module, to collections of modules and packages, then on to neatly organized common packages shared between projects. The problem affects documentation of: import and from...import statements The Language Reference is way too complicated for the mainstream case. Exactly what variants of arguments are possible, and what are their effects? What are the interactions with package features, such as whether or not modules have been explicitly imported into package __init_.py? sys.path - Typical consituents; range of alternatives for adding more dirs Module site.py -- Multiple serious errors in the file docstring, relating to site-packages directories and .pth files .pth files --- Incorrectly described in site.py, and then vaguely described in other docs. Are .pth files processed everywhere on sys.path? Can they be interative? (No to both). package structure - Details of package structure have evidently changed over Python versions. Current docs are unclear on points such as: -- is __init__.py needed on subpackage directories? -- the __all__ variable: Does it act generally to limit visibility of a module or package's attributes, or does pertain only to the 'from...import *' statement? Details: = Language Reference --- http://docs.python.org/py3k/reference/simple_stmts.html#the-import-statement The description of the import statement is extensive, but dauntingly complicated for the reader trying to understand the mainstream case of simply importing modules or packages that are on sys.path. This is because the algorithm for finding modules tries numerous esoteric strategies before falling back on the plain-old-file-system method. (Even now that I have a good understanding of the plain-old-file variations of import, I reread this and find it hard to comprehend, and disorganized and incomplete in presenting the available variations of the statement.) Grammar issue: the grammar shown for the import statement shows: relative_module ::= .* module | .+ ... which implies that relative module could have zero leading dots. I believe an actual relative path is required to have at least one dot (PEP 328). Evidently, in this grammar, 'relative_module' really means relative or absolute path to module or package, so it would be quite helpful to change to: relative_path ::= .+ module | .+ from_path ::= (relative_path | module) etc. (Really 'module' is not quite right here either since it's used to mean module-or-package.) site.py: Module site.py implements the site-package related features. The docstring has multiple problems with consequences in other docs. 1. Does not mention user-specific site-package directories (implemented by addusersitepackages() ) 2. Seriously misleading discussion of .pth files. In the docstring the example shows using pth files, called package configuration files in their comments, to point to actual package directories bar and foo located within the site-packages directory. This is an absolutely incorrect use of pth files: If foo and bar are packages in .../site-packages/, they do not need to be pointed to, they are already on sys.path. If the package dirs ARE pointed to by foo.pth and bar.pth, the modules inside them will be exposed directly to sys.path, possibly precipitating name collisions. Further, programmers following this example will create packages in which import statements will appear to magically perform relative imports without leading dots, leading to confusion over how the import statement is supposed to work. It may be that this discussion is held over from a time when package perhaps meant Just a Bunch of Files in a Directory? 3. The docstring (or other docs) should make clear that .pth files are ONLY processed within site-package directories (ie: only by site.py). 4. Bug: Minor: In addsitepackages(), the library directory for Windows (the else clause) is shown as lower-case 'lib' instead of 'Lib'. This has some possibility of causing problems when running from a case-sensitive server. In any case, if read as documentation it is misleading. Tutorial - 6. Modules: http://docs.python.org/py3k/tutorial/modules.html 1. Discussion (6.1.2. The Module Search Path) is good as far as it goes, but it doesn't mention the site-package directories. 2. Section 6.4. Packages: Discussion of __init__.py does describe the purpose of these files.
[issue11549] Rewrite peephole to work on AST
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +dmalcolm, ncoghlan ___ 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
[issue11165] Document PyEval_Call* functions
Nick Coghlan ncogh...@gmail.com added the comment: There may be some legitimate use cases when embedding Python and you *know* that the checks performed by the PyObject_* versions aren't needed. It may also be historical - the PyEval versions may predate the PyObject ones. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11165 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.
Nick Coghlan ncogh...@gmail.com added the comment: Michael pointed out that I had completely missed the point of what the msg argument was about. Sorry for the noise. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10775 ___ ___ 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
Natalia B. Bidart nataliabid...@gmail.com added the comment: On Tue, Mar 15, 2011 at 7:15 AM, Éric Araujo rep...@bugs.python.org wrote: Éric Araujo mer...@netwok.org added the comment: I'm not using if zlib is not None since the archive_utils module never explicitly imports zlib. Well, you can import zlib in that module too to detect in advance whether zipfile will work. Indeed, but from my POV that's less cleaner than the proposed solution: importing a module that is not used (other than checking for a condition) may generate confusion to a reader. IMHO, the proposed solution may ease the readability of the code block by being super-explicit about what condition is being handled when creating the ZipFile. Let me know if you still consider I should change that. -- ___ 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
[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.
SilentGhost ghost@gmail.com added the comment: I left a comment on the review. You need to publish your comment if you want others to see it. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10775 ___ ___ 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
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: Any reason why the patch removes the `list()` calls? Without them, no parsing happens at all. -- nosy: +Trundle ___ 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
[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.
Brian Curtin br...@python.org added the comment: I showed robquad how to do the review stuff at PyCon but I forgot about the publish part. Robbie, if you hit Publish + Mail Comments near the top of the page after you've left comments, it'll send them out. What he noticed was that changing to callable_obj in the assertRaises signature could break anyone who had been using callableObj as a named argument. Although it isn't explicitly documented, it's a named argument that someone is probably using. As for standardizing, it's probably best to match the general format of the library which is camelCase, and change the internal uses rather than a public method signature. -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10775 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11289] smtplib context manager
SilentGhost ghost@gmail.com added the comment: A couple more minor issues: 1. Double space required at the beginning of the Here is a ... sentence in Doc/library/smtplib.rst 2. in __exit__ method: msg is the variable name assigned from docmd('QUIT') but errmsg is used when raising exception 3. in test I'd rather prefer seeing stmp.noop() unpacked: code, _ = smtp.noop() 4. extra line #118 in test_smtplib 5. is there any way to test SMTPResponseException? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11243] email/message.py str conversion
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: On Tue, Mar 15, 2011 at 04:21:24AM +, R. David Murray wrote: Please test and let me know if it works; it should, since the code patch is very close to the one you suggested. ;-) Hello David, hope you have a good time at Pycon! (Just Googled, weather will be fine right after all of you will see the sun and the blue sky once again! Hey -- there is a world out there!! :) Just like i've stated on EMAIL-SIG, you really have convinced me of simply using the binary feedparser, but since you have found even more places where explicit str() is necessary, this package is once again at least 50% better than before! But i've readded a email.header.make_header(email.header.decode_header(b)) thing in my Ticket._bewitch_msg() and ran that patched S-Postman ;=) on an 3.8 MB mbox file (by the way, if you need f..d .. emails, subscribe to OpenBSD Misc), and i'll end up like this: Traceback (most recent call last): File /Users/steffen/usr/bin/s-postman.py, line 1815, in _walk self._tickets.extend(Ticket.process_message(msg)) File /Users/steffen/usr/bin/s-postman.py, line 1671, in process_message return [Ticket(m, _targets=rsm.targets) for m in splitter] File /Users/steffen/usr/bin/s-postman.py, line 1671, in listcomp return [Ticket(m, _targets=rsm.targets) for m in splitter] File /Users/steffen/usr/bin/s-postman.py, line 1681, in __init__ self._bewitch_msg() File /Users/steffen/usr/bin/s-postman.py, line 1752, in _bewitch_msg self._msg[n] = email.header.make_header(email.header.decode_header(b)) File /Users/steffen/usr/opt/py3k/lib/python3.3/email/header.py, line 73, in decode_header if not ecre.search(header): Exception: TypeError: expected string or buffer Here: header==class 'email.header.Header' And: Traceback (most recent call last): File /Users/steffen/usr/bin/s-postman.py, line 1815, in _walk self._tickets.extend(Ticket.process_message(msg)) File /Users/steffen/usr/bin/s-postman.py, line 1671, in process_message return [Ticket(m, _targets=rsm.targets) for m in splitter] File /Users/steffen/usr/bin/s-postman.py, line 1671, in listcomp return [Ticket(m, _targets=rsm.targets) for m in splitter] File /Users/steffen/usr/bin/s-postman.py, line 1681, in __init__ self._bewitch_msg() File /Users/steffen/usr/bin/s-postman.py, line 1752, in _bewitch_msg self._msg[n] = email.header.make_header(email.header.decode_header(b)) File /Users/steffen/usr/opt/py3k/lib/python3.3/email/header.py, line 154, in make_header h.append(s, charset) File /Users/steffen/usr/opt/py3k/lib/python3.3/email/header.py, line 270, in append s = s.decode(input_charset, errors) Exception: AttributeError: 'Header' object has no attribute 'decode' Here s==class 'email.header.Header' And after adding # Steffen is out now if isinstance(s, email.header.Header): s = str(s) i got stuck on this: Traceback (raising call only): File /Users/steffen/usr/opt/py3k/lib/python3.3/email/header.py, line 278, in append s.encode(output_charset, errors) Exception: UnicodeEncodeError: 'ascii' codec can't encode character '\ufffd' in position 7: ordinal not in range(128) {Aaaargh! Special case UNICODE replacement character, mongrel!} s was a Header here, too. I apply a simple email_header.diff which applies cleanly to a49bda. Hope i could help a bit. -- Added file: http://bugs.python.org/file21210/email_header.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11243 ___diff --git a/Lib/email/header.py b/Lib/email/header.py --- a/Lib/email/header.py +++ b/Lib/email/header.py @@ -70,7 +70,7 @@ occurs (e.g. a base64 decoding exception). # If no encoding, just return the header with no charset. -if not ecre.search(header): +if not ecre.search(str(header)): return [(header, None)] # First step is to parse all the encoded parts into triplets of the form # (encoded_string, encoding, charset). For unencoded strings, the last @@ -265,6 +265,9 @@ charset = self._charset elif not isinstance(charset, Charset): charset = Charset(charset) +# Steffen is out now +if isinstance(s, email.header.Header): +s = str(s) if not isinstance(s, str): input_charset = charset.input_codec or 'us-ascii' s = s.decode(input_charset, errors) ___ 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
Natalia B. Bidart nataliabid...@gmail.com added the comment: Attaching a new patch with latest changes from trunk merged in (conflicts resolved). -- Added file: http://bugs.python.org/file21211/pycon-issue11501.patch ___ 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
[issue11477] Bug in code dispatching based on internal slots
Nick Coghlan ncogh...@gmail.com added the comment: Armin: yeah, I learned better in the course of trying to fix this misbehaviour in CPython. I've adjusted assorted sq_concat methods to return NotImplemented in the sandbox where I'm working on this, along with modifying abstract.c to correctly cope with that. Terry: the slot signatures vary, so copying function pointers around isn't really viable. I'm just fixing abstract.c to call the slots in the right order. The fun part is that historically, CPython didn't check for NotImplemented returns from sq_concat and sq_repeat, so those methods are all written to raise TypeError explicitly, which breaks delegation to __radd__ methods (i.e. exactly the same thing Armin fixed in PyPy). As far as 2.7 and 3.2 go, I'm thinking a Py3k warning in the next 2.7 release and a CompatibilityWarning (once we have it) in the next 3.2 will be a possibility. However, I want to finish the patch and see the magnitude of the change before deciding what we do with the maintenance versions. -- ___ 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
[issue11550] Fix ResourceWarning in test_pulldom
Ben Hayden hayden...@gmail.com added the comment: I was unclear as to why the list() calls were there. I thought it would just change the iterator into a list - I didn't know that actually was needed for the test - my mistake. I'll change it back to the list() - but I'll need to loop over the first list to make sure and close the stream. -- ___ 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
[issue11477] Bug in code dispatching based on internal slots
Nick Coghlan ncogh...@gmail.com added the comment: My work in progress is on the respect_LHS_precedence branch in http://hg.python.org/sandbox/ncoghlan Current status is that I have tests for correct handling of sq_concat and sq_repeat, and am close to having sq_concat and sq_inplace_concat behaving correctly. I'm not happy with the current duplication of checks in abstract.c, but I'll look for ways to make the code prettier after it is working properly. -- ___ 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
[issue11509] fileinput module unit test coverage improvements
Roundup Robot devnull@devnull added the comment: New changeset f2e04ce75f0b by briancurtin in branch 'default': Fix #11509. Significantly increase test coverage for fileinput. http://hg.python.org/cpython/rev/f2e04ce75f0b -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11509] fileinput module unit test coverage improvements
Brian Curtin br...@python.org added the comment: Many thanks for the patch, Denver! -- assignee: - brian.curtin resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11459] Python select.select does not correctly report read readyness
Ross Lagerwall rosslagerw...@gmail.com added the comment: The Charles' patch fixes the problem but breaks [test_os test_poll test_popen test_select test_uuid] when running make test. Those two lines were introduced by Guido in [1f7891d84d93] but that was back in 2007 when subprocess used os.fdopen and the new IO hadn't been invented (I think). They should probably be removed now. I think it breaks those tests because despite the fact that the docs claim subprocess defaults to unbuffered, it has been set at bufsize=1 which actually causes line buffering mode. os.popen wraps the returned stream with a TextIOWrapper which doesn't work with an unbuffered stream. The attached patch causes os.popen (and platform.popen) to default to line buffered mode and to throw an error if buffering=0 is passed (unbuffered). I don't think this should be backported since there is some behavior change. -- stage: - patch review Added file: http://bugs.python.org/file21212/11459.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11459 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11554] Port email module's test_email_codecs.py to Python 3
New submission from Michael Henry pyt...@drmikehenry.com: test_email_codecs.py in the email module should be ported to Python 3. The attached patch ports test_email_codecs.py and hooks it into the email test suite. -- components: Library (Lib) files: port-test_email_codecs.py.patch keywords: patch messages: 130980 nosy: michael.henry, r.david.murray priority: normal severity: normal status: open title: Port email module's test_email_codecs.py to Python 3 versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file21213/port-test_email_codecs.py.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11554 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11555] email.Message.as_string no longer mangles From (doc fix)
New submission from Michael Henry pyt...@drmikehenry.com: The function email.Message.as_string has an out-of-date comment: This is a convenience method and may not generate the message exactly as you intend because by default it mangles lines that begin with From . For more flexibility, use the flatten() method of a Generator instance. The functionality has changed such that From mangling is no longer done. -- components: Library (Lib) messages: 130981 nosy: michael.henry, r.david.murray priority: normal severity: normal status: open title: email.Message.as_string no longer mangles From (doc fix) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11555 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11556] email.Message.get_payload can handle bytes payloads (minor doc fix)
New submission from Michael Henry pyt...@drmikehenry.com: In email.Message.get_payload, there is the following out-of-date comment: # payload can be bytes here, (I wonder if that is actually a bug?) The code can actually handle bytes payloads. -- components: Library (Lib) messages: 130982 nosy: michael.henry, r.david.murray priority: normal severity: normal status: open title: email.Message.get_payload can handle bytes payloads (minor doc fix) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11556 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11557] Increase coverage in logging module
New submission from Natalia B. Bidart nataliabid...@gmail.com: Current coverage is: Name Stmts Miss Cover -- Lib/logging/__init__ 73916278% Lib/logging/config 571 9883% Lib/logging/handlers 60132546% -- TOTAL 191158569% -- components: Tests messages: 130983 nosy: nessita priority: normal severity: normal status: open title: Increase coverage in logging module type: resource usage versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11557 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11558] Raise a more helpful exception in email.message.Message.attach after set_payload(some string)
New submission from Michael Henry pyt...@drmikehenry.com: The attached test program, test_email_attach_to_string.py, demonstrates the desire for email.message.Message.attach to raise a more helpful exception when the user incorrectly invokes attach() after setting the payload to a string. -- components: Library (Lib) files: test_email_attach_to_string.py messages: 130984 nosy: michael.henry, r.david.murray priority: normal severity: normal status: open title: Raise a more helpful exception in email.message.Message.attach after set_payload(some string) Added file: http://bugs.python.org/file21214/test_email_attach_to_string.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11558 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11509] fileinput module unit test coverage improvements
Roundup Robot devnull@devnull added the comment: New changeset 9448691fe084 by briancurtin in branch 'default': Add news item for #11509. http://hg.python.org/cpython/rev/9448691fe084 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9667] NetBSD curses KEY_* constants
Changes by Gregory P. Smith g...@krypto.org: -- assignee: - gregory.p.smith keywords: +patch nosy: +gregory.p.smith Added file: http://bugs.python.org/file21215/_cursesmodule.c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9667 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11503] Expand test coverage in posixpath
Changes by Michael Foord mich...@voidspace.org.uk: Removed file: http://bugs.python.org/file21125/test_posixpath_with_same_device.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11503] Expand test coverage in posixpath
Changes by Michael Foord mich...@voidspace.org.uk: Removed file: http://bugs.python.org/file21124/test_posixpath.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11503] Expand test coverage in posixpath
Changes by Michael Foord mich...@voidspace.org.uk: Removed file: http://bugs.python.org/file21122/test_posixpath.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11556] email.Message.get_payload can handle bytes payloads (minor doc fix)
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11556 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11503] Expand test coverage in posixpath
Michael Foord mich...@voidspace.org.uk added the comment: Note that instead of try finally constructs you can create a cleanup function and call self.addCleanup(...). This reduces extra levels of indentation in your test code. In the new code in test_ismount, from # Non-existent mountpoint on, I would turn this into a new test. (Does os.symlink *always* exist - if it is platform dependent you should skip the test if it isn't available.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.
Winston Ewert winstonew...@gmail.com added the comment: The public methods were using both callable_obj and callableObj. Perhaps the patch should standardize on callableObj and accept callable_obj with a warning? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10775 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11503] Expand test coverage in posixpath
Michael Foord mich...@voidspace.org.uk added the comment: Scratch the comment about symlink - in test_mount. I see you already protect that code with if support.can_symlink(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11503] Expand test coverage in posixpath
Michael Foord mich...@voidspace.org.uk added the comment: Will posixpath.sameopenfile work on Windows? That may need skipping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1006238] cross compile patch
Changes by Gregory P. Smith g...@krypto.org: -- assignee: gregory.p.smith - nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1006238 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3718] environment variable MACHDEP and python build system
Changes by Gregory P. Smith g...@krypto.org: -- assignee: gregory.p.smith - nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3718 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6873] posix_lchown: possible overflow of uid, gid
Gregory P. Smith g...@krypto.org added the comment: a test would still be a good thing but this should be fixed regardless. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6873 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11554] Port email module's test_email_codecs.py to Python 3
Roundup Robot devnull@devnull added the comment: New changeset 013a1cd673fc by R David Murray in branch '3.2': #11554: reactivate test_email_codecs, and make it pass. http://hg.python.org/cpython/rev/013a1cd673fc New changeset a6390ebff835 by R David Murray in branch 'default': Merge #11554 test_email_codecs activation from 3.2. http://hg.python.org/cpython/rev/a6390ebff835 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11554 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11554] Port email module's test_email_codecs.py to Python 3
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11554 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11505] string.py increased test coverage
Barry A. Warsaw ba...@python.org added the comment: After discussion, it's probably a good idea to back port this to Python 3.2. -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11505 ___ ___ 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: Trying out the hg integration MvL added to Roundup. -- hgrepos: +3 ___ 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
[issue11477] Bug in code dispatching based on internal slots
Changes by Nick Coghlan ncogh...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file21216/85d7c99fd31e.diff ___ 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
[issue11477] Bug in code dispatching based on internal slots
Changes by Nick Coghlan ncogh...@gmail.com: Removed file: http://bugs.python.org/file21216/85d7c99fd31e.diff ___ 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
[issue11477] Bug in code dispatching based on internal slots
Changes by Nick Coghlan ncogh...@gmail.com: Added file: http://bugs.python.org/file21217/b9b7d4c10bc4.diff ___ 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
[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows
Ronald Oussoren ronaldousso...@mac.com added the comment: To reproduce install ActiveState Tcl 8.5.9 and then build python using: ../configure --enable-framework --enable-universalsdk=/ --with-universal-archs=intel MACOSX_DEPLOYMENT_TARGET=10.6 Both 3.2 and 3.3 fail can be used. Install the framework and then open an existing file, use SHIFT+CMD+S to save the file and you'll see two dialogs (both labelled 'Save'). Some investigation learns that the save_as method in IOBindings gets called twice. The attached patch (for 3.2) is a crude hack, but does result in a working copy of IDLE that doesn't show two save dialogs. I'm inclined to commit the patch, it is a hack but there are already other workarounds for Tk-on-OSX weirdness. Comments? -- keywords: +needs review, patch nosy: +kbk, ronaldoussoren Added 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
[issue11555] email.Message.as_string no longer mangles From (doc fix)
Changes by R. David Murray rdmur...@bitdance.com: -- versions: +Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11555 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11556] email.Message.get_payload can handle bytes payloads (minor doc fix)
Changes by R. David Murray rdmur...@bitdance.com: -- versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11556 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11556] email.Message.get_payload can handle bytes payloads (minor doc fix)
R. David Murray rdmur...@bitdance.com added the comment: Fixed, thanks. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11556 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11459] Python select.select does not correctly report read readyness
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11459 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11515] Misspelled actually
Roundup Robot devnull@devnull added the comment: New changeset ee5350f1d0c2 by Ezio Melotti in branch '2.7': #11515: fix several typos. Patch by Piotr Kasprzyk. http://hg.python.org/cpython/rev/ee5350f1d0c2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11515 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11515] Misspelled actually
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the patch! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11515 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.
Changes by Michael Foord mich...@voidspace.org.uk: -- assignee: - michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10775 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11385] TextTestRunner methods are not documented
Changes by Michael Foord mich...@voidspace.org.uk: -- assignee: docs@python - michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11385 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2636] Regexp 2.7 (modifications to current re 2.2.2)
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: I've fixed the problem with iterators for both Python 3 and Python 2. They can now be shared safely across threads. I've updated the release on PyPI. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2636 ___ ___ 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: Please ignore the patch, it doesn't work after all. It was too good to be true after all. -- nosy: -kbk ___ 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
[issue11477] Bug in code dispatching based on internal slots
Nick Coghlan ncogh...@gmail.com added the comment: I generated a patch between my sandbox and the main repository using the rdiff extension immediately after syncing with the main line of development. (hg diff --reverse cpython where cpython is aliased to the main repository) This is the output I was hoping to get from the automated branch checking. -- Added file: http://bugs.python.org/file21219/issue11477_LHS_prededence.diff ___ 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
[issue11477] Bug in code dispatching based on internal slots
Changes by Nick Coghlan ncogh...@gmail.com: Added file: http://bugs.python.org/file21220/2f5db44c98f2.diff ___ 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
[issue11477] Bug in code dispatching based on internal slots
Changes by Nick Coghlan ncogh...@gmail.com: Removed file: http://bugs.python.org/file21220/2f5db44c98f2.diff ___ 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
[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 does seem to be gone in 3.2 with a up-to-date Tk 8.5 from ActiveState. -- nosy: +ronaldoussoren ___ 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
[issue11503] Expand test coverage in posixpath
Evan Dandrea e...@ubuntu.com added the comment: Updated the patch to address Michael's concerns. -- Added file: http://bugs.python.org/file21221/test_posixpath_with_same_device.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ 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: I think the roundup/Hg integration may be getting confused by the merges of the cpython main line of development with my sandbox. -- ___ 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
[issue11503] Expand test coverage in posixpath
Evan Dandrea e...@ubuntu.com added the comment: I've looked at the sameopenfile code, and can see no reason why it would not work on Windows. I've asked Brian to verify this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11503] Expand test coverage in posixpath
Evan Dandrea e...@ubuntu.com added the comment: I haven't used addCleanup here, but have noted it for the future. In this case, using it would require adding another function to handle the reassignment, which I think is a bit more messy than the extra bit of indentation. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ 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
Benjamin Peterson benja...@python.org added the comment: Is that a patch you can put on Rietveld then? (/me wanting to review) -- nosy: +benjamin.peterson ___ 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
[issue11289] smtplib context manager
Barry A. Warsaw ba...@python.org added the comment: Thanks for the contribution! It seems like a reasonable new feature, so I'll get this landed in 3.3. Probably should use :versionadded: instead (thanks gps). I'll address SilentGhost's issues in the commit. -- assignee: - barry nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289 ___ ___ 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
Ned Deily n...@acm.org added the comment: I can still reproduce it in 3.2 with A/S Tk 8.5. The script needs to be run from a separate editor window, not the PyShell window. -- ___ 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: On 15 Mar, 2011, at 13:57, Ned Deily wrote: Ned Deily n...@acm.org added the comment: I can still reproduce it in 3.2 with A/S Tk 8.5. The script needs to be run from a separate editor window, not the PyShell window. That's odd. What I did: * Create a new file (script.py) with the following two lines: x = input('prompt: ') print(x) * Save the script * Run the script using the menu All of this using an activestate Tcl/Tk that I downloaded earlier today. -- ___ 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
[issue11555] email.Message.as_string no longer mangles From (doc fix)
Roundup Robot devnull@devnull added the comment: New changeset 2804a78a123e by R David Murray in branch '3.1': #11555: update doc for 3.x change to as_string mangle_from default. http://hg.python.org/cpython/rev/2804a78a123e New changeset 9daa9a4c4cc4 by R David Murray in branch '3.2': Merge #11555 as_string doc fix from 3.1. http://hg.python.org/cpython/rev/9daa9a4c4cc4 New changeset 1c0cded97280 by R David Murray in branch 'default': Merge #11555 as_string doc fix from 3.2. http://hg.python.org/cpython/rev/1c0cded97280 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11555 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11555] email.Message.as_string no longer mangles From (doc fix)
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: - committed/rejected status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11555 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11513] Infinite recursion around raising an exception in tarfile
Evan Dandrea e...@ubuntu.com added the comment: *facepalm* Indeed, thanks for pointing that out and nice catch on the race condition. Attached is a patch to fix the issue as you've suggested, and adds a test case for it. -- keywords: +patch Added file: http://bugs.python.org/file21222/tarfile-fix-multiple-exception-on-enoent.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11513 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11513] Infinite recursion around raising an exception in tarfile
Changes by Evan Dandrea e...@ubuntu.com: Added file: http://bugs.python.org/file21223/tarfile-fix-multiple-exception-on-enoent.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11513 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11513] Infinite recursion around raising an exception in tarfile
Changes by Evan Dandrea e...@ubuntu.com: Removed file: http://bugs.python.org/file21222/tarfile-fix-multiple-exception-on-enoent.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11513 ___ ___ 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
Ned Deily n...@acm.org added the comment: Sorry, forgot one crucial step: you have to use the keyboard accelerator (F5) to run the script, not the mouse and the menu. It seems like a number of the problems out there with Cocoa Tk 8.5 have to do with using the keyboard accelerators. -- ___ 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
[issue11503] Expand test coverage in posixpath
Brian Curtin br...@python.org added the comment: Tested the patch on Windows -- all tests pass. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ 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?)
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +loewis ___ 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
[issue4972] context managerment support in imaplib, smtplib, ftplib
SilentGhost ghost@gmail.com added the comment: The work on smtplib context manager continues in #11289. I'm putting it as a dependency here. -- dependencies: +smtplib context manager nosy: +SilentGhost versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4972 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10288] Remove deprecated C character handling macros ISUPPER() etc
Changes by Dave Malcolm dmalc...@redhat.com: -- resolution: - accepted stage: patch review - committed/rejected status: open - closed versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10288 ___ ___ 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?)
Antoine Pitrou pit...@free.fr added the comment: How about turning these asserts into Py_FatalError()s and then enabling Victor's faulthandler extension? -- ___ 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
[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9635 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11289] smtplib context manager
Giampaolo Rodola' g.rod...@gmail.com added the comment: @barry I have commit privileges, but no problem if you want to commit it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289 ___ ___ 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
New submission from Matias Bordese mbord...@gmail.com: Attaching patch to add new tests for dis module. -- components: Tests files: add_dis_tests.patch keywords: patch messages: 131018 nosy: matiasb priority: normal severity: normal status: open title: Increase test coverage in dis module type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21224/add_dis_tests.patch ___ 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
[issue11289] smtplib context manager
Barry A. Warsaw ba...@python.org added the comment: On Mar 15, 2011, at 06:40 PM, Giampaolo Rodola' wrote: Giampaolo Rodola' g.rod...@gmail.com added the comment: @barry I have commit privileges, but no problem if you want to commit it. @giampaolo: I'd like to do it (and am almost ready to), mostly to test out hg workflow, but also because I have some additions which address SilentGhost's comments. Thanks! (Don't worry, you'll get credit in NEWS :). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11289] smtplib context manager
Giampaolo Rodola' g.rod...@gmail.com added the comment: Go on, no prob. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289 ___ ___ 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
Benjamin Peterson benja...@python.org added the comment: 1. Use splitlines() instead of split('\n') 2. Use try finally when replacing sys.stdout. 3. Why is dist(None) a RuntimeError and anything else invalid TypeError? -- nosy: +benjamin.peterson ___ 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
Nick Coghlan ncogh...@gmail.com added the comment: MvL says the review creation script should be able to cope with the rdiff output within the next day or so. -- ___ 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
[issue11257] asyncore stores unnecessary object references
Giampaolo Rodola' g.rod...@gmail.com added the comment: Closing out as per msg128969. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11257 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11257] asyncore stores unnecessary object references
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11257 ___ ___ 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
Matias Bordese mbord...@gmail.com added the comment: Updated patch following Benjamin advice (1. and 2.). Re 3. Why is dist(None) a RuntimeError and anything else invalid TypeError? When the dis argument is None, the last traceback is disassembled; if something different to None and that does not have code (ie. no class, method, function or bytecode) is passed, the TypeError exception is raised [0]. [0] http://hg.python.org/cpython/file/1c0cded97280/Lib/dis.py#l28 -- Added file: http://bugs.python.org/file21225/updated_add_dis_tests.patch ___ 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
[issue11289] smtplib context manager
Roundup Robot devnull@devnull added the comment: New changeset a6a94cfb75e9 by Barry Warsaw in branch 'default': - Issue #11289: `smtp.SMTP` class becomes a context manager so it can be used http://hg.python.org/cpython/rev/a6a94cfb75e9 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11289] smtplib context manager
Changes by Barry A. Warsaw ba...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11289] smtplib context manager
Changes by Barry A. Warsaw ba...@python.org: -- resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11289] smtplib context manager
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- stage: - committed/rejected type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11515] Misspelled actually
Terry J. Reedy tjre...@udel.edu added the comment: I want to thank you all too, both for the changes themselves and for the bundling. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11515 ___ ___ 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 Tarek Ziadé ziade.ta...@gmail.com: Removed file: http://bugs.python.org/file21137/pycon-issue11501.patch ___ 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
[issue11501] distutils.archive_util should handle absence of zlib module
Changes by Tarek Ziadé ziade.ta...@gmail.com: Removed file: http://bugs.python.org/file21142/pycon-issue11501.patch ___ 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
[issue1189811] pydoc may hide non-private doc strings.
Changes by Tim Lesher tles...@gmail.com: -- nosy: +tlesher ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1189811 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8754] ImportError: quote bad module name in message
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8754 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com