[issue626452] Support RFC 2111 in email package

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue626452 ___ ___ Python-bugs-list mailing

[issue4493] urllib2 doesn't always supply / where URI path component is empty

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4493 ___ ___

[issue3428] httplib.HTTPMessage undocumented

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3428 ___ ___ Python-bugs-list mailing

[issue4758] Python 3.0 internet documentation needs work

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4758 ___ ___

[issue3991] urllib.request.urlopen does not handle non-ASCII characters

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3991 ___ ___ Python-bugs-list

[issue1349732] urllib.urlencode provides two features in one param

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1349732 ___ ___

[issue4733] Add a decode to declared encoding version of urlopen to urllib

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4733 ___ ___ Python-bugs-list mailing

[issue1424148] urllib.FancyURLopener.redirect_internal looses data on POST!

2009-04-22 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: I agree that changing the default isn't an option. However, IMHO, having to override HTTPRedirectHandler.redirect_request or FancyURLopener.redirect_internal to get RFC compliant (albeit non-useful in 99.99% of use cases) is a bit weird. Maybe

[issue3244] multipart/form-data encoding

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___ ___ Python-bugs-list

[issue618023] imap handler in urllib(2)

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue618023 ___ ___

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1490929 ___ ___ Python-bugs-list

[issue1508475] transparent gzip compression in liburl2

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1508475 ___ ___ Python-bugs-list

[issue1595365] User-agent header added by an opener is frozen

2009-04-22 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk. Easier to copy and paste: import urllib2 h = urllib2.HTTPHandler(debuglevel = 1) opener = urllib2.build_opener(h) request = urllib2.Request('http://www.google.de/') request.header_items() opener.open(request)

[issue724459] Add documentation about line endings in email messages.

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue724459 ___ ___ Python-bugs-list mailing

[issue683938] HTMLParser attribute parsing bug

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue683938 ___ ___

[issue755660] allow HTMLParser to continue after a parse error

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy -patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue755660 ___ ___ Python-bugs-list

[issue1046092] HTMLParser fix to accept mailformed tag attributes

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy, patch stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1046092 ___

[issue2204] document ConfigParser behaviour when a file has same section multiple times

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Library (Lib) keywords: +easy priority: - normal stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2204 ___

[issue1440472] email.Generator is not idempotent

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1440472 ___ ___

[issue1660009] continuing problem with httplib multiple set-cookie headers

2009-04-22 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: John J Lee wrote: Hold on, httplib.HTTPMessage.addheader() is undocumented, hence private. Not so easy to know, as many things in the network libs are undocumented. And it can be still be wrong, regardless of being private. --

[issue4608] urllib.request.urlopen does not return an iterable object

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy priority: - high stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4608 ___

[issue5815] locale.getdefaultlocale() missing corner case

2009-04-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I wasn't able to reproduce this by just setting my LC_ALL environment variable to es_ca.ut...@valencia and calling getdefaultlocale. Can you provide more complete steps to reproduce? -- nosy: +r.david.murray priority: - normal

[issue3521] file.readline: bad exception recovery

2009-04-22 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - benjamin.peterson nosy: +benjamin.peterson priority: - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3521 ___

[issue5815] locale.getdefaultlocale() missing corner case

2009-04-22 Thread rg3
rg3 sarbalap+freshm...@gmail.com added the comment: You are right. The issue is not reproduced with es_ca.ut...@valencia but with ca_es.ut...@valencia. The fact that the first case works makes me think maybe there's another way to solve the problem. Can you check that? --

[issue5815] locale.getdefaultlocale() missing corner case

2009-04-22 Thread rg3
rg3 sarbalap+freshm...@gmail.com added the comment: Further investigation: The guy who had this issue may be from Valencia, Spain. According to the manpage for setlocale(3) in my system, the form is usually language[_territory][.codese...@modifier]. So, in this case, it would make sense for the

[issue1012435] ctrl-left/-right works incorectly with diacritics

2009-04-22 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: This is not a bug in tkinter either, unfortunately. Please report it at tk tracker: http://sourceforge.net/projects/tktoolkit/ Here is the equivalent tcl code to reproduce the problem (you could use it while re-reporting at the tk tracker): $

[issue798058] IDLE / PyOS_InputHook

2009-04-22 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: This issue has remained as is for too long, I assume the OP has found another solution or: dropped tkinter from his usage, fixed his problem according to issue989712, something else. Some time ago I read about your proposal to change

[issue4111] Add DTrace probes

2009-04-22 Thread Robert Kern
Robert Kern robert.k...@gmail.com added the comment: John, -Z does not appear to help: $ sudo dtrace -Z -n 'pid$target::PyEval_EvalFrameEx:entry' -c python dtrace: description 'pid$target::PyEval_EvalFrameEx:entry' matched 0 probes I'm not sure how that would help. If I'm reading the man

[issue5434] datetime.monthdelta

2009-04-22 Thread Jess Austin
Jess Austin jess.aus...@gmail.com added the comment: The backport through python 2.3 is up at PyPI: http://pypi.python.org/pypi?name=MonthDelta:action=display Download source and install, or just easy_install. Documentation is also linked at PyPI. --

[issue1100366] Frame does not receive configure event on move

2009-04-22 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: That is because only the root window changed the position, a Configure event is fired whenever the window changes its size, position, or border width, and sometimes when it has changed position in the stacking order. Try changing your example

[issue2995] Idle, some Linuxes, cannot position Cursor by mouseclick

2009-04-22 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Closing as won't fix since there is nothing to fix on Python side, not from what I have noticed at least. Mandriva 2009 and Sugar (and other places with this problem) should check how they got IDLE to act like that, and could try compiling

[issue4111] Add DTrace probes

2009-04-22 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Sorry, I've been away from this issue. I was sort of hoping the Sun and Apple folks would just work things out amongst themselves and present us with a fait accompli. ;-) I'll try to mess around with this a little. Robert $ sudo dtrace ...

[issue5815] locale.getdefaultlocale() missing corner case

2009-04-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: OK, it turns out that this is one of a class of known bugs of long standing (see issue554676 and issue1080864, for example). The recommended solution is to not use locale.getdefaultlocale, but to use locale.getperferredencoding. I have

[issue5816] Simplify parsing of complex numbers and make complex('inf') valid.

2009-04-22 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: Here's a patch that: 1. greatly simplifies the complex parsing code in Objects/complexobject.c 2. allows nans and infinities in constructing a complex number from a string 3. fixes missing out-of-memory checks (PyOS_ascii_strtod can

[issue5816] Simplify parsing of complex numbers and make complex('inf') valid.

2009-04-22 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - marketdickinson components: +Interpreter Core priority: - normal stage: - patch review type: - behavior versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue4111] Add DTrace probes

2009-04-22 Thread Robert Kern
Robert Kern robert.k...@gmail.com added the comment: Skip Perhaps not quite on-topic for this tracker item, but it bugs me that the Skip mere compilation of a D script requires root privileges. It doesn't. dtrace -G and dtrace -h (the only mere compilation that dtrace does) run without root

[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2009-04-22 Thread Torsten Bronger
Torsten Bronger bron...@physik.rwth-aachen.de added the comment: The problem is the pickle result. It's not about debugging the pickler itself. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2980

[issue5815] locale.getdefaultlocale() missing corner case

2009-04-22 Thread rg3
rg3 sarbalap+freshm...@gmail.com added the comment: Excellent. Thanks for the tip. I'll now proceed to modify my code to use getpreferredencoding. Still, I think getdefaultlocale should work because it could be used in other situations, I suppose. --

[issue5812] Fraction('1e6') should be valid.

2009-04-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's a patch for making Fraction(3, Fraction(4, 5)) valid. It's against the trunk. -- stage: needs patch - patch review Added file: http://bugs.python.org/file13739/fraction_of_fractions.patch

[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2009-04-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: If your data is simple enough, you can use JSON. It has an `ensure_ascii` flag when dumping data. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2980

[issue4111] Add DTrace probes

2009-04-22 Thread John Levon
John Levon movem...@users.sourceforge.net added the comment: Yes, my mistake. I noticed this typo in the original patch: 207 +PyObject * 208 +PyEval_EvalFrameexEx(PyFrameObject *f, int throwflag)) Can you: - verify that HAVE_DTRACE is indeed defined for ceval.c - do an nm on ceval.o

[issue1119673] ScrolledText allows Frame.bbox to hide Text.bbox

2009-04-22 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I suppose these lines from ScrolledText.py should be expanded to include 'bbox', but I have not tested such a fix: if m[0] != '_' and m != 'config' and m != 'configure': setattr(self, m, getattr(self.frame, m))

[issue4111] Add DTrace probes

2009-04-22 Thread Ted Leung
Ted Leung t...@sauria.com added the comment: On Apr 22, 2009, at 1:24 PM, Skip Montanaro wrote: Skip Montanaro s...@pobox.com added the comment: Sorry, I've been away from this issue. I was sort of hoping the Sun and Apple folks would just work things out amongst themselves and

[issue4111] Add DTrace probes

2009-04-22 Thread Robert Kern
Robert Kern robert.k...@gmail.com added the comment: Ah, duh, of course. The problem here with PyEval_EvalFrameEx is that I don't have ceval.o on the command line *at all* since OS X's dtrace doesn't support -G. It doesn't appear to accept ceval.o with -h, either, so I suppose that adding the

[issue5812] Fraction('1e6') should be valid.

2009-04-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Hmm. That patch isn't quite right, in at least two respects - if the single-argument constructor is using LBYL (i.e., an explicit isinstance(x, Rational), then the two-argument constructor should too. - the zero-division check should

[issue4482] 10e667.__format__('+') should return 'inf'

2009-04-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: A somewhat related comment about formatting of infs and nans: I think that a formatted nan should never include a sign, even when it's explicitly asked for. I'm not so sure about this any more. Sometimes the role of an explicit sign

[issue4482] 10e667.__format__('+') should return 'inf'

2009-04-22 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I agree on the alignment issue. Maybe if you explicitly ask for the sign of a NaN, it should always be a space. And when requesting leading zeros, you also get leading spaces instead? -- ___ Python

[issue780602] No sleep or busy wait

2009-04-22 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: In theory at least, it is valid. I have done something similar in another tcl - python bridge that I did for fun, but didn't achieve good results in the end. From what I remember, creating a timer handler instead of using a 20ms sleep

[issue4111] Add DTrace probes

2009-04-22 Thread Robert Kern
Robert Kern robert.k...@gmail.com added the comment: Hmm, wait a second. Never mind. The Solaris patches don't have ceval.o on the line for compiling phelper.o, either. If dtrace needs to resolve the symbol PyEval_EvalFrameEx in an object file, how does it know to look in ceval.o for the

[issue4482] 10e667.__format__('+') should return 'inf'

2009-04-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Maybe if you explicitly ask for the sign of a NaN, it should always be a space. Actually, I think '+nan' for format(float('nan'), '+'), and ' nan' for format(float('nan'), ' '). Then nans and infs can be treated identically, except that

[issue4961] Inconsistent/wrong result of askyesno function in tkMessageBox

2009-04-22 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I've verified it, it is indeed a bug in tkMessageBox.py which is very likely to be noticed while using tk 8.5 or newer. -- assignee: - gpolo nosy: +gpolo versions: +Python 2.7, Python 3.0, Python 3.1

[issue4961] Inconsistent/wrong result of askyesno function in tkMessageBox

2009-04-22 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4961 ___ ___ Python-bugs-list

[issue5817] Right-click behavior from Windows Explorer

2009-04-22 Thread Michael Kopinsky
New submission from Michael Kopinsky mkopin...@gmail.com: When I right-click on a .py file in Windows Explorer and click Edit with IDLE, it currently opens a completely new instance of IDLE (with two windows, one for shell and one for editing the file). It would be better if it just opened the

[issue1525806] Tkdnd mouse cursor handling patch

2009-04-22 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I just created a sample listbox with drag drop support and it indeed looks better if the hand2 cursor or whatever cursor is set only shows up when motion starts. But, for the sample included with Tkdnd, I find it better to show up the different

[issue1500504] Alternate RFC 3986 compliant URI parsing module

2009-04-22 Thread Senthil
Senthil orsent...@gmail.com added the comment: I am willing to review this/work on it. But I wonder if this can be categorized as easy task. 1) Integration to Standard Library will involve compatibility with existing parsing, which will invariably involve certain tweaks (with discussions/buy-in

[issue5783] IDLE cannot find windows chm file

2009-04-22 Thread Kurt B. Kaiser
Kurt B. Kaiser k...@shore.net added the comment: r71812 in trunk. Will port to 3-head 30-maint 26-maint. Thanks for the patch! -- resolution: - accepted status: open - pending ___ Python tracker rep...@bugs.python.org

[issue5434] datetime.monthdelta

2009-04-22 Thread Jess Austin
Changes by Jess Austin jess.aus...@gmail.com: Added file: http://bugs.python.org/file13743/monthdelta3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5434 ___

[issue5434] datetime.monthdelta

2009-04-22 Thread Jess Austin
Changes by Jess Austin jess.aus...@gmail.com: Removed file: http://bugs.python.org/file13696/monthdelta2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5434 ___

<    1   2   3   4