[issue2001] Pydoc interactive browsing enhancement

2010-11-02 Thread Ron Adam
Ron Adam added the comment: Here you go Nick. One file with Underscores for the new class's and functions. Where there was some overlap in names, like where some of the older server class's were reused, but don't have exactly the same behavior, I started those with underscores also. This s

[issue2001] Pydoc interactive browsing enhancement

2010-11-02 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file18271/pydoc_server4.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2001] Pydoc interactive browsing enhancement

2010-11-02 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file18165/pydoc_server3.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2001] Pydoc interactive browsing enhancement

2010-11-02 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file16517/pydoc_gui.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10295] _socket.pyd uses winsock2, select.pyd uses winsock 1

2010-11-02 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Here is a patch -- keywords: +patch Added file: http://bugs.python.org/file19475/select.patch ___ Python tracker ___ __

[issue10295] _socket.pyd uses winsock2, select.pyd uses winsock 1

2010-11-02 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : These two socket modules link to a different winsock api, thus pulling two potentially incompatible dlls in to the process. There is no guarantee that they interact. I'll see if there is a simple patch for select module -- components: IO m

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Bruce Sherwood
Bruce Sherwood added the comment: Thanks for the detailed explanation. What had not occurred to me was to read the README file that came with the installer. I made the mistake (that may be made by others) of assuming continuity with installer policy, especially since the installation location

[issue8998] add crypto routines to stdlib

2010-11-02 Thread Devin Cook
Devin Cook added the comment: It sounds like you may already have an idea of how you want the API structured, but just in case you're still thinking about it here's another API to look at that I think focuses on exactly what you were highlighting as priorities (sane defaults, easy to use): ke

[issue7652] Merge C version of decimal into py3k.

2010-11-02 Thread Case Van Horsen
Case Van Horsen added the comment: Has the cdecimal branch kept up with the hash value changes in 3.2? Is there a still a chance that cdecimal could be merged into 3.2? -- nosy: +casevh ___ Python tracker

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Ned Deily
Changes by Ned Deily : -- Removed message: http://bugs.python.org/msg120303 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Ned Deily
Ned Deily added the comment: It was a deliberate decision on Ronald's part to not modify the Versions/Current link in the Python framework when installing a Python 3.x version. As far as I know, the Current link is not used anywhere other than perhaps by Xcode when trying to link a Python fr

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Ned Deily
Ned Deily added the comment: It was a deliberate decision on Ronald's part to not modify the Versions/Current link in the Python framework when installing a Python 3.x version. As far as I know, the Current link is not used anywhere other than perhaps by Xcode when trying to link a Python fr

[issue3605] Py_FatalError causes infinite loop

2010-11-02 Thread Roger Upole
Roger Upole added the comment: I know this has been closed, but I disagree with the fix. Py_FatalError is designed to give a clean exit with a readable error message when the state of the interpreter is known to be compromised. Calling *any* python functions or accessing *any* python interna

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg120300 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10273] Clean-up Unittest API

2010-11-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Besides being shorter, the advantages of assertLE are consistent with the rich comparison method names, no worries about Than, no camel casing ambiguities, no pluralization or other nmemonic issues (LessThanEqual or LessThanEquals or LessThanOrEqual or Les

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Besides being shorter, the advantages of assertLE are consistent with the rich comparison method names, no worries about Than, no camel casing ambiguities, no pluralization or other nmemonic issues (LessThanEqual or LessThanEquals or LessThanOrEqual or Les

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread R. David Murray
R. David Murray added the comment: My conclusion in working on the email package is that only the first space after the ':', if it exists, should be stripped. That is, even though the RFC (for email) reads as if the space after the colon is part of the value, in practice it is part of the de

[issue10273] Clean-up Unittest API

2010-11-02 Thread R. David Murray
R. David Murray added the comment: I don't think assertLE is enough of an improvement over assertLessEqual to be worth adding yet more deprecated names to unittest. So I'm -0 on this change in general. (I'd be -1 except that it would be kind of nice to have the names be shorter :) If the ch

[issue10181] get_shape0 in memoryobject.c not checked for error return

2010-11-02 Thread Roger Upole
Roger Upole added the comment: The culprit wrt copying Py_buffer structs seems mainly to be dup_buffer, which is called in memory_getbuf. This seems unnecessary in the case where there's an underlying object and it has returned the view thru its own tp_as_buffer. The underlying object at th

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Bruce Sherwood
Bruce Sherwood added the comment: Now I understand what you're getting at; I didn't realize that you were aiming at the possible distinction between 3 and 3.1. Yes, this is what bothered me and prompted my original posting. Python 3.1 goes into the same framework as the 2.x versions. Inciden

[issue1926] NNTPS support in nntplib

2010-11-02 Thread Andrew Vant
Andrew Vant added the comment: On 2 Nov 2010 at 23:22, Antoine Pitrou wrote: > I'm talking about the code under "if __name__ == '__main__'". > Specifically the "-c" option for specifying an SSL context. Now I feel silly. Partly because of the mistake, partly because I did test_nntplib.py last

[issue10273] Clean-up Unittest API

2010-11-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: After discussion on python-dev, it seems that API lock-in precludes any change to the package structure. So, the main proposals left are the addition of new better aliases for some of the functions and changing to the docs so that the new name is clear:

[issue10173] Don't pickle TestCase instances in test_multiprocessing

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r86130 (3.2), r86131 (2.7) and r86132 (3.1). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-02 Thread Rafe Kettler
Rafe Kettler added the comment: I don't know anything about the Tcl development process either. Luckily, Tk is hosted on SourceForge so it was just a matter of adding a ticket to their issue tracker. Hopefully it'll get fixed quickly and the fix will percolate down into Tkinter. --

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-02 Thread Éric Araujo
Éric Araujo added the comment: Thanks for hunting that down. Agreed about closing. I have no inkling about the Tcl development process. Can you report the bug to them? -- resolution: -> invalid stage: -> committed/rejected status: open -> closed __

[issue10263] "python -m site" does not print path details

2010-11-02 Thread Ned Deily
Ned Deily added the comment: The issue here is not unique to OS X. I see the same behavior on Linux with a built-from-source Python 3.2a3 and Distribute 0.6.14. (As I noted earlier, Debian and presumably various other distributors package a patched version of setuptools / Distribute which doe

[issue1926] NNTPS support in nntplib

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > * the command-line option for the SSLContext won't work, since a > > context is a custom object, not a string; I would rework this part > > anyway, since I don't think separate options for the "SSL host" are > > useful (I'd rather add a SSL-enabling flag; al

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Éric Araujo
Éric Araujo added the comment: So your answer is actually *no*, it does not install into Python3.framework :) If there had been separate Python.framework and Python3.framework, the answer to this bug would be obvious. But since 2.x and 3.x Pythons are installed as versions of the same framew

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oops, sorry. -- Added file: http://bugs.python.org/file19474/nntpover2.patch ___ Python tracker ___ ___

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file19473/nntpover2.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch trying to better handle whitespace. Would it be ok for you? -- Added file: http://bugs.python.org/file19473/nntpover2.patch ___ Python tracker

[issue1926] NNTPS support in nntplib

2010-11-02 Thread Andrew Vant
Andrew Vant added the comment: On 2 Nov 2010 at 17:05, Antoine Pitrou wrote: > * the command-line option for the SSLContext won't work, since a > context is a custom object, not a string; I would rework this part > anyway, since I don't think separate options for the "SSL host" are > useful (I'

[issue8037] multiprocessing.Queue's put() not atomic thread wise

2010-11-02 Thread Vilnis Termanis
Vilnis Termanis added the comment: Please find attached an updated patch (including unit test) for the release27-maint branch. I've run the test_multiprocessing suite against svn revision 86129 of said branch. -- Added file: http://bugs.python.org/file19472/patch_27maint.diff ___

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: > OK, thanks. > By the way, why is the token stripped? > token = token[len(h):].lstrip(" ") > > "X-Header: test \r\n" in an header is kept in the overview as-is. > I do not see why " test " should not be the value returned. It's a simple way of handling

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Julien ÉLIE
Julien ÉLIE added the comment: OK, thanks. By the way, why is the token stripped? token = token[len(h):].lstrip(" ") "X-Header: test \r\n" in an header is kept in the overview as-is. I do not see why " test " should not be the value returned. Also, with: token = token or None "X-Head

[issue10181] get_shape0 in memoryobject.c not checked for error return

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Read the "Releasing the buffer" section in PEP 3118 again. Unless I'm > misunderstanding you completely, the rules you're asking for are > already in place: those fields are entirely the responsibility of the > exporting object, and it needs to ensure they rem

[issue10181] get_shape0 in memoryobject.c not checked for error return

2010-11-02 Thread Nick Coghlan
Nick Coghlan added the comment: Read the "Releasing the buffer" section in PEP 3118 again. Unless I'm misunderstanding you completely, the rules you're asking for are already in place: those fields are entirely the responsibility of the exporting object, and it needs to ensure they remain val

[issue10284] Exception raised when decoding NNTP newsgroup descriptions

2010-11-02 Thread Julien ÉLIE
Julien ÉLIE added the comment: > Unless I'm mistaken, Content-Type should only apply to the body, not the > headers. Either the headers use UTF-8 (RFC 3977), or they should be > MIME-encoded. Everything else is undecodable. Yes, of course. Such articles are not RFC-compliant. You're not mis

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch for returning None on absent fields. (works with trigofacile.com) -- keywords: +patch Added file: http://bugs.python.org/file19471/nntpover.patch ___ Python tracker

[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2010-11-02 Thread Jim Fulton
Jim Fulton added the comment: On Tue, Nov 2, 2010 at 5:55 PM, Éric Araujo wrote: > > Éric Araujo added the comment: > > Would you like to work on a patch? Sure. Jim -- ___ Python tracker ___

[issue10284] Exception raised when decoding NNTP newsgroup descriptions

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, a news client could guess it because of the Content-Type: > header field (in this example, it mentions charset="gb2312"). > Yet, articles without a Content-Type: header field exist in the > wild... Unless I'm mistaken, Content-Type should only apply

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Julien ÉLIE
Julien ÉLIE added the comment: The empty string would mean the header exists, and is empty (though not RFC-compliant). For instance: "User-Agent: \r\n" I believe None is better. -- ___ Python tracker __

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Bruce Sherwood
Bruce Sherwood added the comment: Yes. After installation, you'll see that Python 3.1 is in /Library/Frameworks/Python.framework/Versions/3.1 Bruce Sherwood On Tue, Nov 2, 2010 at 1:45 PM, Éric Araujo wrote: > > Éric Araujo added the comment: > > Without typos: Does 3.1 install into a Python

[issue10284] Exception raised when decoding NNTP newsgroup descriptions

2010-11-02 Thread Julien ÉLIE
Julien ÉLIE added the comment: Antoine, a news client could guess it because of the Content-Type: header field (in this example, it mentions charset="gb2312"). Yet, articles without a Content-Type: header field exist in the wild... There is no way to always make the right guess, unfortunately.

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: I am wondering how to return the corresponding information. Should the field be totally absent from the returned dictionary, should it map to the empty string, or should it map to None? I'm leaning towards the latter (map to None), but perhaps the empty string

[issue10280] nntp_version set to the most recent advertised version

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've fixed it according to your suggestion (take the max of the advertised version) in r86129. Thank you! -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue10181] get_shape0 in memoryobject.c not checked for error return

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: > As far as I know, PEP 3118 serves its purpose of allowing extension > modules like numpy and PIL to share data without needing to copy it > around all the time. It's just that memoryview wasn't really part of > that purpose (since all the affected third party

[issue2927] expose html.parser.unescape

2010-11-02 Thread Tom Pinckney
Tom Pinckney added the comment: I don't think Django includes an HTML unescape. I'm not familiar with other frameworks. So I'd still find this useful to include in the stdlib. -- ___ Python tracker ___

[issue10181] get_shape0 in memoryobject.c not checked for error return

2010-11-02 Thread Nick Coghlan
Nick Coghlan added the comment: As far as I know, PEP 3118 serves its purpose of allowing extension modules like numpy and PIL to share data without needing to copy it around all the time. It's just that memoryview wasn't really part of that purpose (since all the affected third party librari

[issue10181] get_shape0 in memoryobject.c not checked for error return

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, there are probably many holes like this. I've done what I could to make the simple cases (builtin types) to work, but the spec is rotten from the start. Blame the numpy people, sorry. -- nosy: +ncoghlan ___ Py

[issue10284] Exception raised when decoding NNTP newsgroup descriptions

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: > And my text string is "\xC9ric", that's all. You mean b"\xC9ric", right? > If you look at the source of the articles, you will for instance see > that the Subject: header field is not MIME-encoded. It is directly > written in gb2312. How is an NNTP client

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2010-11-02 Thread Éric Araujo
Éric Araujo added the comment: Would it be reasonable to add knowledge to html.parser to make it recognize script elements as CDATA and handle it correctly (that is let “<” pass)? -- nosy: +eric.araujo ___ Python tracker

[issue1500504] Alternate RFC 3986 compliant URI parsing module

2010-11-02 Thread Nick Coghlan
Nick Coghlan added the comment: I still like the higher level API concept, although I might not do it exactly as presented here any more. Independently of introducing a new parsing API, it would be worthwhile extracting the parsing tests from the attached module to make sure the *existing* p

[issue9587] unittest.assertRaises() return the raised exception

2010-11-02 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10284] Exception raised when decoding NNTP newsgroup descriptions

2010-11-02 Thread Julien ÉLIE
Julien ÉLIE added the comment: David, the headers are not at all supposed to be "utf-8" encoded. For instance, have a look at the cn.bbs.comp.lang.python newsgroup: http://groups.google.fr/group/cn.bbs.comp.lang.python If you look at the source of the articles, you will for instance see that t

[issue2001] Pydoc interactive browsing enhancement

2010-11-02 Thread Nick Coghlan
Nick Coghlan added the comment: On Wed, Nov 3, 2010 at 2:17 AM, Ron Adam wrote: > > Ron Adam added the comment: > > Nick, I can update the patch and move the server back into pydoc.py if that > will help you get this into 3.2 beta. Yep, probably the best option 3.2 - then make a new issue ab

[issue9625] argparse: Problem with defaults for variable nargs

2010-11-02 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10263] "python -m site" does not print path details

2010-11-02 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, because the internal import system isn't fully exposed, runpy and a couple of other tools in the standard library rely on the emulation in pkgutil instead. I know there are some differences between the emulation and the builtin mechanism on Windows in ter

[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2010-11-02 Thread Éric Araujo
Éric Araujo added the comment: Would you like to work on a patch? (Setting the versions field to versions that are open for bug fixes.) -- nosy: +eric.araujo stage: -> needs patch type: -> behavior versions: +Python 3.2 -Python 2.5, Python 2.6 ___

[issue9846] ZipExtFile provides no mechanism for closing the underlying file object

2010-11-02 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9849] Argparse needs better error handling for nargs

2010-11-02 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue10181] get_shape0 in memoryobject.c not checked for error return

2010-11-02 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8488] Docstrings of non-data descriptors "ignored"

2010-11-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: pydoc should probably be adapted to look at a type for descrs. -- nosy: +benjamin.peterson ___ Python tracker ___ ___

[issue9999] test_shutil cross-file-system tests are fragile (may not test what they purport to test)

2010-11-02 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo title: test_shutil cross-file-system tests are fragile (may not test what they pruport to test) -> test_shutil cross-file-system tests are fragile (may not test what they purport to test) ___ Python tra

[issue10038] json.loads() on str should return unicode, not str

2010-11-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: r86126 -- assignee: bob.ippolito -> barry resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue10038] json.loads() on str should return unicode, not str

2010-11-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: @doerwalter: patch looks good. I've added a test and will commit momentarily. -- ___ Python tracker ___ _

[issue8488] Docstrings of non-data descriptors "ignored"

2010-11-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue10038] json.loads() on str should return unicode, not str

2010-11-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Adding that argument to Python 2.7 seems like new feature territory. -- ___ Python tracker ___ ___

[issue6625] UnicodeEncodeError on pydoc's CLI

2010-11-02 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10038] json.loads() on str should return unicode, not str

2010-11-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: To mitigate possible negative impacts from changing the return type, consider adding a parse_string hook that lets users control the return type: json.loads(f, parse_int=decimal.Decimal, parse_string=repr) -- nosy: +rhettinger _

[issue8488] Docstrings of non-data descriptors "ignored"

2010-11-02 Thread Torsten Landschoff
Torsten Landschoff added the comment: FYI, this still applies to r86094 of py3k. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10198] wave module writes corrupt wav file for zero-length writeframes

2010-11-02 Thread Éric Araujo
Éric Araujo added the comment: That revision is actually an edit to re.rst. Is the patch irrelevant for other branches? -- nosy: +eric.araujo ___ Python tracker ___ ___

[issue8994] pydoc does not support non-ascii docstrings

2010-11-02 Thread Torsten Landschoff
Torsten Landschoff added the comment: You are right, this is a duplicate of #6625. And in fact I should have known since I commented on that bug... -- status: open -> closed ___ Python tracker

[issue10206] python program starting with unmatched quote spews spaces to stdout

2010-11-02 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Éric Araujo
Éric Araujo added the comment: Without typos: Does 3.1 install into a Python3.framework directory? -- ___ Python tracker ___ ___ Pyth

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Éric Araujo
Éric Araujo added the comment: Does 3.2 install into a Python3.framework? In other words, is the conception that 2.x and 3.x are two different languages ported over to Mac? -- nosy: +eric.araujo ___ Python tracker

[issue5843] Normalization error in urlunparse

2010-11-02 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Library (Lib) title: Possible normalization error in urlparse.urlunparse -> Normalization error in urlunparse versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue10252] Fix resource warnings in distutils

2010-11-02 Thread Brian Brazil
Brian Brazil added the comment: I don't see your patch on the other bug, so I've updated mine not to use with. -- Added file: http://bugs.python.org/file19470/distutils_fd_leak_v2.patch ___ Python tracker

[issue10294] Lib/test/test_unicode_file.py contains dead code

2010-11-02 Thread Brett Cannon
Brett Cannon added the comment: Committed in r86125 -- assignee: -> brett.cannon nosy: +brett.cannon resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue10038] json.loads() on str should return unicode, not str

2010-11-02 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: The incomplete testing and C/Python implementation mismatch are covered by issue 5723 and issue 9233. -- ___ Python tracker ___ __

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-02 Thread Rafe Kettler
Rafe Kettler added the comment: I've tested how these dialogs display in regular Tcl/Tk, and it appears the problem resides in the Tcl implementation, not the Python binding. You can see for yourself by running this Tcl script: package require Tk tk_messageBox tk_chooseColor Since this is no

[issue1500504] Alternate RFC 3986 compliant URI parsing module

2010-11-02 Thread Éric Araujo
Éric Araujo added the comment: Is this still relevant? Can’t the improvements make it into urllib.parse? -- nosy: +eric.araujo ___ Python tracker ___

[issue10038] json.loads() on str should return unicode, not str

2010-11-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: The fact that the C and Python versions are not fully tested (afaict) is not good. I'm not sure that's worth fixing for 2.7 and it's probably worth a separate bug report for Python 3.2 on that. In the meantime, I'll test Walter's patch and add a unit test f

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-11-02 Thread Matthew Barnett
Matthew Barnett added the comment: issue2636-20101102a.zip is a new version of the regex module. msg120204 relates to issue #1519638 "Unmatched group in replacement". In 'regex' an unmatched group is treated as an empty string in a replacement template. This behaviour is more in keeping with

[issue10240] dict.update.__doc__ is misleading

2010-11-02 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: -Python 2.5, Python 2.6, Python 3.3 ___ Python tracker ___ ___ Python-bugs-l

[issue1926] NNTPS support in nntplib

2010-11-02 Thread Julien ÉLIE
Julien ÉLIE added the comment: Thanks a lot for having implemented STARTTLS, Andrew! That's great news! +Since the order in which certain operations need to be done varies +between normal, SSL, and STARTTLS connections varies, some +initialization must be done in the s

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would rename Py_BREAKPOINT to _Py_BREAKPOINT since we don't really want to support this. Also, why do you allow any arguments to sys._breakpoint()? -- nosy: +pitrou ___ Python tracker

[issue10294] Lib/test/test_unicode_file.py contains dead code

2010-11-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue10267] test_ttk_guionly leaks many references

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hirokazu's patch works for me. -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue1926] NNTPS support in nntplib

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Andrew, thank you for posting a patch. I have a couple of comments: * the command-line option for the SSLContext won't work, since a context is a custom object, not a string; I would rework this part anyway, since I don't think separate options for the "SSL h

[issue2001] Pydoc interactive browsing enhancement

2010-11-02 Thread Ron Adam
Ron Adam added the comment: Nick, I can update the patch and move the server back into pydoc.py if that will help you get this into 3.2 beta. I can also changed the docstrings of the new parts to # comments. -- ___ Python tracker

[issue10038] json.loads() on str should return unicode, not str

2010-11-02 Thread Walter Dörwald
Walter Dörwald added the comment: The following patch (against the release27-maint branch) seems to fix the problem. -- keywords: +patch nosy: +doerwalter Added file: http://bugs.python.org/file19468/json.diff ___ Python tracker

[issue10294] Lib/test/test_unicode_file.py contains dead code

2010-11-02 Thread Stefan Behnel
New submission from Stefan Behnel : Lib/test/test_unicode_file.py contains dead code: def _test_equivalent(self, filename1, filename2): remove_if_exists(filename1) self.assertTrue(not os.path.exists(filename2)) f = file(filename1, "w") f.close() try:

[issue9796] Add summary tables for unittest API

2010-11-02 Thread Ezio Melotti
Ezio Melotti added the comment: Updated patch after the changes made in r86118. -- Added file: http://bugs.python.org/file19467/issue9796-4.diff ___ Python tracker ___ __

[issue9919] gdbinit lineno result is one line in excess

2010-11-02 Thread qpatata
qpatata added the comment: I'm sorry, I've not explained correctly. I'm wondering if the addition of the \n is ok or not, taken into account that it breaks the format of the "pyframe" macro output. It could be better to keep the older version (without the \n"). Kind regards. -- ___

[issue10038] json.loads() on str should return unicode, not str

2010-11-02 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Alternately, the Python implementation may be thought of as definitive and the optimizations are broken. -- ___ Python tracker ___

[issue8037] multiprocessing.Queue's put() not atomic thread wise

2010-11-02 Thread Ask Solem
Ask Solem added the comment: Pickling on put makes sense to me. I can't think of cases where this could break existing code either. I think this may also resolve issue 8323 -- stage: -> unit test needed ___ Python tracker

[issue5573] multiprocessing Pipe poll() and recv() semantics.

2010-11-02 Thread Ask Solem
Changes by Ask Solem : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue10038] json.loads() on str should return unicode, not str

2010-11-02 Thread Nik Tautenhahn
Nik Tautenhahn added the comment: There is even more inconsistency here. As already mentioned, we have this: >>> import json >>> json.loads(json.dumps("abc")) 'abc' If, however, I am evil and hide _json.so (which is the C-part of the json module for speedup), the JSON code falls back to it

[issue10292] tarinfo should use relative symlinks

2010-11-02 Thread Jasper St. Pierre
Jasper St. Pierre added the comment: Uh, I just noticed the "python2.6" in the traceback. Looks like I *was* using 2.6 because Cygwin decided to downgrade for some reason. Uh, sorry about that. -- ___ Python tracker

  1   2   >