[issue1249] PEP 3137 patch: make PyBytes/PyUnicode ==/!= comparisons return False

2007-10-09 Thread Thomas Lee
New submission from Thomas Lee: Initial patch attached. -- components: Interpreter Core files: bytes-unicode-return-false-r1.patch messages: 56284 nosy: thomas.lee severity: normal status: open title: PEP 3137 patch: make PyBytes/PyUnicode ==/!= comparisons return False type: rfe version

[issue1249] PEP 3137 patch: PyBytes/PyUnicode comparisons

2007-10-09 Thread Thomas Lee
Thomas Lee added the comment: Revised patch - originally misinterpreted what was required here. bytes() == str() now returns False, bytes() != str() now returns True. -- title: PEP 3137 patch: make PyBytes/PyUnicode ==/!= comparisons return False -> PEP 3137 patch: PyBytes/PyUnicode com

[issue1249] PEP 3137 patch: PyBytes/PyUnicode comparisons

2007-10-09 Thread Guido van Rossum
Changes by Guido van Rossum: -- assignee: -> gvanrossum nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1249] PEP 3137 patch: PyBytes/PyUnicode comparisons

2007-10-09 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! This patch looks fine, except the PyClear() call is unnecessary. I suppose you copied it from the similar return clauses further down, but there they clear an exception set by the _getbuffer() call. But just calling PyObject_IsInstance() cannot set a

[issue1247] PEP 3137 patch (repr, names, parser)

2007-10-09 Thread Guido van Rossum
Guido van Rossum added the comment: GHave you two agreed yet as to which patch(es) I should look at? -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __

[issue1631171] implement warnings module in C

2007-10-09 Thread Brett Cannon
Brett Cannon added the comment: I just tried Neal's version of _warnings.c and it has the same failures, so they are not my fault. =) _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1247] PEP 3137 patch (repr, names, parser)

2007-10-09 Thread Christian Heimes
Christian Heimes added the comment: Guido van Rossum wrote: > Guido van Rossum added the comment: > > GHave you two agreed yet as to which patch(es) I should look at? Please commit Alexandres patch. His patch for bytesobject.c is based on my patch. It's more complete and a bit better than mine,

[issue1225] IDLE - Fix: pressing Ctrl+C while printing exception -> stuck

2007-10-09 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: r58396 Thanks for the patch! -- assignee: -> kbk priority: -> normal resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1631171] implement warnings module in C

2007-10-09 Thread Brett Cannon
Brett Cannon added the comment: I figured out why the tests are all failing; the C code does not call back into the Python 'warnings' wrapper. For instance, warn_explicit in the C code does not ever try to use a user-provided showwarning() function. This causes the tests to fail as they rely on

[issue1713041] fix for 1712742: corrects pprint's handling of 'depth'

2007-10-09 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: I was just searching for all my issues and found this one. Can some one please apply pprint.patch? Thanks. _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1250] Building external modules using Sun Studio 12

2007-10-09 Thread anilj
New submission from anilj: When compiling matplotlib, ditutils defaults to using /opt/SUNWspro/bin/cc but it needs to use /opt/SUNWspro/bin/CC for compiling c++ files. % python2.5 setup.py build building for GTK requires pygtk; you must be able to "import gtk" in your build/install environmentTK

[issue1247] PEP 3137 patch (repr, names, parser)

2007-10-09 Thread Guido van Rossum
Guido van Rossum added the comment: I don't think I can check these in yet; right now they are inconsistent. But I will check them in when they are ready. -- assignee: -> gvanrossum __ Tracker <[EMAIL PROTECTED]> __

[issue1251] ssl module doesn't support non-blocking handshakes

2007-10-09 Thread Chris Stawarz
New submission from Chris Stawarz: The current version of the ssl module doesn't support non-blocking creation of SSLSocket objects. The reason for this is that the SSL handshaking (SSL_connect/SSL_accept) takes place during the construction of the SSLContext object (in newPySSLObject). This me

[issue1130] Idle - Save (buffer) - closes IDLE and does not save file (Windows XP)

2007-10-09 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: r58398. Thanks for the report. Solution a little different than Tal Einat's. Please test. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1238] dictobject and dictentry not used consistently in dictobject.c

2007-10-09 Thread Brett Cannon
Brett Cannon added the comment: I went ahead and had Vim do a global search-and-replace on the names and ditched the typedefs; the patch is uploaded. I have not yet run the test suite, though, which is why I have not committed it. But if it passes I will just check it in. -- assignee:

[issue1775388] Display CallTips for classes using metaclasses.

2007-10-09 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Appears this was fixed at r55818, though with a typo. Module heavily rewritten since then to use the inspect module. The example below now works without further changes. -- resolution: -> out of date status: open -> closed

[issue1713252] character set in Japanese on Ubuntu distribution

2007-10-09 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: absent further response, closing as unreproducible. -- assignee: -> kbk keywords: +patch nosy: +kbk resolution: fixed -> works for me status: open -> closed _ Tracker <[EMAIL PROTECTED]>

[issue1238] dictobject and dictentry not used consistently in dictobject.c

2007-10-09 Thread Brett Cannon
Brett Cannon added the comment: Applied my patch in r58399. Thanks for noticing the inconsistency, anthon! -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue1130] Idle - Save (buffer) - closes IDLE and does not save file (Windows XP)

2007-10-09 Thread Tal Einat
Tal Einat added the comment: Your solution is better than my suggestion, but has two minor bugs: 1) eol_convention must be initialized somewhere. For instance, opening a new editor window (Ctrl+N) and saving it fails because self.eol_convention is not defined. I agree that is shouldn't be a clas

[issue1710718] Ctrl+Shift block marking by words

2007-10-09 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Ctrl- right does jump to the ends. Behaviour is slightly strange, but useful. Let Tk handle it. -- keywords: +patch resolution: -> works for me status: open -> closed _ Tracker <[EMAIL PROTECTED]>

[issue1691411] Duplicate "preferences" menu item/Tk Aqua 8.4.14

2007-10-09 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser: -- assignee: -> ronaldoussoren nosy: +ronaldoussoren _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list

[issue1691411] Duplicate "preferences" menu item/Tk Aqua 8.4.14

2007-10-09 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser: -- keywords: +patch _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1725576] IDLE - cursor color configuration bug

2007-10-09 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: r58403. Thanks for the patch! -- assignee: -> kbk nosy: +kbk resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]> _

[issue1659326] Minor pasting patch

2007-10-09 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: r58404. Thanks for the patch! -- assignee: -> kbk nosy: +kbk resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ _

[issue1252] IDLE - patch Delegator to support callables

2007-10-09 Thread Tal Einat
New submission from Tal Einat: Add an __call__ magic method to Delegator so that it can delegate to callables. This will raise the required exception if the delegate isn't callable. The built-in callable() method will now return True for any Delegator. Before this patch it always returns False,

[issue1253] IDLE - Percolator overhaul

2007-10-09 Thread Tal Einat
New submission from Tal Einat: The Percolator class has been very hard to figure out, and has been a source of confusion for users wanting to "hack" IDLE. This patch makes Percolator a generally useful class which inherits from Delegator. It also adds a new class, TkTextPercolator, which inherit

[issue1251] ssl module doesn't support non-blocking handshakes

2007-10-09 Thread Guido van Rossum
Guido van Rossum added the comment: Assigning to Bill Janssen. -- assignee: -> janssen nosy: +gvanrossum, janssen __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1253] IDLE - Percolator overhaul

2007-10-09 Thread Guido van Rossum
Guido van Rossum added the comment: It's been too long since I wrote this code to be able to review, but I'm glad that it still gets some love and attention. Here's to hoping that your patch gets applied. -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED

[issue1251] ssl module doesn't support non-blocking handshakes

2007-10-09 Thread Bill Janssen
Bill Janssen added the comment: By a bit of synchronicity, I've been looking at non-blocking SSL issues all day. Thanks, Chris. I'll take a look and fold it in. There are a number of other issues here, too, such as changing the socket's blocking- ness after it's wrapped (which asyncore does)

[issue1541420] tools and demo missing from windows

2007-10-09 Thread Martin v. Löwis
Martin v. Löwis added the comment: I'm closing it as "won't fix". If you have specific tools that you would like to see included, please submit that as a separate report, along with a rationale as to why you want to see them included. -- resolution: -> wont fix status: open -> closed _

[issue1252] IDLE - patch Delegator to support callables

2007-10-09 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1253] IDLE - Percolator overhaul

2007-10-09 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p