[issue5107] built-in open(..., encoding=vague_default)

2009-01-29 Thread John Machin
New submission from John Machin : Docs say """The default encoding is platform dependent""" but don't say how to find out what that is, or how it is determined. On my Windows XP SP3 setup, the default is cp1252, but the best/only guess at finding out without actually opening a file involved sys.d

[issue5106] Update Naming & Binding statement for 3.0

2009-01-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : Language / Execution Model / Naming & Binding just before example that does not work, class A: a = 42 b = list(a + i for i in range(10)) says : "The scope of names defined in a class block is limited to the class block; it does not extend to the co

[issue5041] Memory leak in imp.find_module

2009-01-29 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Fixed in r69117(py3k). -- keywords: -needs review resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue3783] dbm.sqlite proof of concept

2009-01-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for looking at this. I'll do an update in the next few days. ___ Python tracker ___ ___ Python-bug

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2009-01-29 Thread HiroakiKawai
HiroakiKawai added the comment: I want UTC tzinfo. too. -- nosy: +kawai ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue5087] set_daemon does not exist in Thread

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r69114. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue3880] _tkinter._flatten() doesn't check PySequence_Size() error code

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: Applied in r69113. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Thu, Jan 29, 2009 at 5:13 PM, STINNER Victor wrote: > Ok, I created a new function PyTokenizer_FromUnicode(). I > choosed "FromUnicode" because the string is encoded in unicode (as > UTF-8, even if it's not the wchar_t* type). How about PyTokenizer_FromU

[issue3783] dbm.sqlite proof of concept

2009-01-29 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Some comments on tmp_dev_shelver.py... Regarding SQLhash.__init__, it would be better to avoid relying on the "sqlite_master" table by using the CREATE TABLE IF NOT EXISTS form of table creation. Setting the isolation_level in __init__ will have essential

[issue3783] dbm.sqlite proof of concept

2009-01-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Am also working on a patch for this and would like to coordinate. My first draft is attached: Added file: http://bugs.python.org/file12891/tmp_dev_shelver.py ___ Python tracker ___

[issue4673] Distutils should provide an uninstall command

2009-01-29 Thread Tarek Ziadé
Tarek Ziadé added the comment: I will continue to discuss this in distutils-SIG: Marc-André Lemburg proposed me to introduce the uninstall command from mxSetup.py (from mxBase, http://www.egenix.com/products/python/mxBase/) So I need to ask for opinions first -- assignee: -> tarek _

[issue5085] distutils/test_sdist failure on windows

2009-01-29 Thread Tarek Ziadé
Tarek Ziadé added the comment: Just saw that issue, thanks, the bug was fixed some minutes ago. I came up with about the same fix, see r69106 -- assignee: -> tarek nosy: +tarek status: open -> closed ___ Python tracker

[issue1726687] Bug found in datetime for Epoch time = -1

2009-01-29 Thread STINNER Victor
STINNER Victor added the comment: My test included in mktime_fix_and_tests.patch has a problem: the timezone is constant and it's mine (GMT+1). I don't know how to write a generic test working on any time zone. I can't use datetime.fromtimestamp() because datetime.fromtimestamp() uses time.m

[issue5105] sqlite3.Row class, handling duplicate column names resulting from a SQL join

2009-01-29 Thread Brandon Adams
New submission from Brandon Adams : When using sqlite3.Row as the row_factory for a sqlite3 connection and performing a SQL join that returns rows from two or more tables with identical column names, the returned sqlite3.Row object contains duplicate keys. Subsequently, when trying to access

[issue1726687] Bug found in datetime for Epoch time = -1

2009-01-29 Thread STINNER Victor
STINNER Victor added the comment: > But negative time_t are still not allowed by the Microsoft CRT, > the tests fail. > (...) > is this a bug or a feature request? Linux mktime() supports any timestamp from 1901..2038. Should we limit the timestamp to 1970 just because of Microsoft? Test tm_w

[issue5104] getsockaddrarg() casts port number from int to short without any warning

2009-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: heh yes, not a big deal but this should raise an overflow error in that case. -- assignee: -> gregory.p.smith nosy: +gregory.p.smith priority: -> low ___ Python tracker __

[issue4487] Add utf8 alias for email charsets

2009-01-29 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-29 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12822/unicode_fromwidechar_surrogate-3.patch ___ Python tracker ___ ___ P

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-29 Thread STINNER Victor
STINNER Victor added the comment: For lemburg, updated patch: - Move USE_WCHAR_SURROGATE define outside PyUnicode_FromWideChar() (and indent the defines, sorry) - Add "#define SIZEOF_WCHAR_T 2" to PC/pyconfig.h Added file: http://bugs.python.org/file12890/unicode_fromwidechar_surrogate-4.pa

[issue5104] getsockaddrarg() casts port number from int to short without any warning

2009-01-29 Thread Roman Zeyde
Changes by Roman Zeyde : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5104] getsockaddrarg() casts port number from int to short without any warning

2009-01-29 Thread Roman Zeyde
Changes by Roman Zeyde : -- components: +Extension Modules -None ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5104] getsockaddrarg() casts port number from int to short without any warning

2009-01-29 Thread Roman Zeyde
New submission from Roman Zeyde : The following code shouldn't fail without any warning at all: >>> import socket >>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) >>> s.bind(('localhost', 7)) >>> print(s.getsockname()) ('127.0.0.1', 4464) After looking through socketmodule.c (rev.

[issue3880] _tkinter._flatten() doesn't check PySequence_Size() error code

2009-01-29 Thread STINNER Victor
STINNER Victor added the comment: The bug is still here in py3k: $ cat bla.py import _tkinter, gc _tkinter._flatten(True) gc.collect() $ ./python bla.py Exception TypeError: "object of type 'bool' has no len()" in 'garbage collection' ignored Fatal Python error: unexpected exception during ga

[issue3610] Fix gdbinit for Python 3.0

2009-01-29 Thread STINNER Victor
STINNER Victor added the comment: The patch is now outdated. -- resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-01-29 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12771/tokenizer_ignore_cookie-3.patch ___ Python tracker ___ ___ Python-bu

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-01-29 Thread STINNER Victor
STINNER Victor added the comment: > I don't like the change of API to PyTokenizer_FromString. > I would prefer another function like PyTokenizer_IgnoreCodingCookie() Ok, I created a new function PyTokenizer_FromUnicode(). I choosed "FromUnicode" because the string is encoded in unicode (as

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2009-01-29 Thread Jacques Grove
New submission from Jacques Grove : In ssl.py of Python 2.6.1 we have this code in SSLSocket.__init__(): if do_handshake_on_connect: timeout = self.gettimeout() try: self.settimeout(None) self.do_handshake()

[issue3618] possible deadlock in IO library (Lib/io.py)

2009-01-29 Thread STINNER Victor
STINNER Victor added the comment: The test (io_deadlock.patch) pass on the io-c branch \o/ ___ Python tracker ___ ___ Python-bugs-list mailing

[issue4233] open(0, closefd=False) prints 3 warnings

2009-01-29 Thread STINNER Victor
STINNER Victor added the comment: This issue has been fixed in py3k, release30-maint and trunk. I think that 2.6.x doesn't need this API change, so I prefer to close this issue. Reopen the issue if I'm wrong. -- status: open -> closed ___ Python tr

[issue5102] urllib2.py timeouts do not propagate across redirects for 2.6.1 (and 3.x?)

2009-01-29 Thread Jacques Grove
New submission from Jacques Grove : When doing a urllib2 fetch of a url that results in a redirect, the connection to the redirect does not pass along the timeout of the original url opener. The result is that the redirected url fetch (which is a new request) will get the default socket timeout,

[issue3311] block operation on closed socket/pipe for multiprocessing

2009-01-29 Thread STINNER Victor
STINNER Victor added the comment: This issue is not critical anymore because jesse.noller fixed the crash in r68768. Python 2.7a0 (trunk:68873M, Jan 23 2009, 08:46:25) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more

[issue5101] test_funcattrs truncated during unittest conversion

2009-01-29 Thread Mark Dickinson
New submission from Mark Dickinson : It looks as though a few of the tests in test_funcattrs disappeared in the conversion to unittest, committed in r60522. (The first one I noticed was test_empty_cell, but there are others missing too.) Question for Georg (who did the checkin): do you know w

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2009-01-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2009-01-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed, thanks! ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2009-01-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> accepted versions: +Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker ___ __

[issue5100] ElementTree.iterparse and Element.tail confusion

2009-01-29 Thread Jeroen Dirks
New submission from Jeroen Dirks : I am using cElementTree.iterparse in order to parse through a huge XML document and filter out sections of interest. The usage pattern is that I wait for an "end" event for a element of interest and then if it matches a some criterium I write it out using cElem

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Brett Cannon
Brett Cannon added the comment: >> On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson >> wrote: >>> >>> Benjamin Peterson added the comment: >>> >>> Actually, I would like to repurpose tp_compare as tp_bytes for the >>> __bytes__ method. >> >> Repurposing would be extremely bad as that would me

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Thu, Jan 29, 2009 at 2:39 PM, Brett Cannon wrote: > > Brett Cannon added the comment: > > On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson > wrote: >> >> Benjamin Peterson added the comment: >> >> Actually, I would like to repurpose tp_compare as tp_b

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Brett Cannon
Brett Cannon added the comment: On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson wrote: > > Benjamin Peterson added the comment: > > Actually, I would like to repurpose tp_compare as tp_bytes for the > __bytes__ method. Repurposing would be extremely bad as that would mean it is possible for

[issue5098] Environ doesn't escape spaces properly

2009-01-29 Thread Martin v. Löwis
Martin v. Löwis added the comment: As Jean-Paul explains, you are misinterpreting what you are seeing. Closing as invalid. -- nosy: +loewis resolution: -> invalid status: open -> closed ___ Python tracker

[issue5076] bdist_wininst fails on py3k

2009-01-29 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Checked into py3k as r6998; merged to release30-maint as 69099. I hope > I got that right! If you ask whether checking into py3k was the right thing: yes, it was. ___ Python tracker __

[issue5092] weird memory usage in multiprocessing module

2009-01-29 Thread Martin v. Löwis
Martin v. Löwis added the comment: > I still do not understand what is going on when python executed thic > code. I have a local variable l in my parent process. No, you don't. It's a global variable, not a local one. > When I create a > child process, program makes first makes a copy of me

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2009-01-29 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: On Thu, Jan 29, 2009 at 1:32 PM, Antoine Pitrou wrote: > Sorry, I had only given a quick look at Benjamin's patch, not yours. > Actually Benjamin's patch does not seem to address anything, which makes > things more confusing. True. It is all a bit unfort

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2009-01-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry, I had only given a quick look at Benjamin's patch, not yours. Actually Benjamin's patch does not seem to address anything, which makes things more confusing. ___ Python tracker _

[issue2578] Figure out what to do with unittest's redundant APIs

2009-01-29 Thread Guido van Rossum
Guido van Rossum added the comment: @gpsmith: Way to go! @gpolo: Alas, test discovery is now a much harder problem because it depends on using conventions for test naming. Unless all existing implementations use the same conventions, it's hard to see how to replace them. Please bring that up

[issue4174] Performance optimization for min() and max() over lists

2009-01-29 Thread David W. Lambert
Changes by David W. Lambert : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/pyth

[issue4174] Performance optimization for min() and max() over lists

2009-01-29 Thread David W. Lambert
Changes by David W. Lambert : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/pyth

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2009-01-29 Thread David W. Lambert
Changes by David W. Lambert : -- nosy: +LambertDW ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2009-01-29 Thread Mary Stern
Changes by Mary Stern : -- title: subprocess.POpen.__del__() AttribuetError (os module == None!) -> subprocess.POpen.__del__() AttributeError (os module == None!) ___ Python tracker

[issue2578] Figure out what to do with unittest's redundant APIs

2009-01-29 Thread Guilherme Polo
Guilherme Polo added the comment: As an side-side-note, I find much more important to add some kind of test discovery since it is being duplicated in several packages in Lib/ and will continue being duplicated. -- nosy: +gpolo ___ Python tracker

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2009-01-29 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: On Wed, Jan 28, 2009 at 5:13 PM, Antoine Pitrou wrote: shutil_destinsrc.patch has both the code chage and two test cases. Actually test cases are much longer than the code itself :-). ___ Python tracker

[issue5099] subprocess.POpen.__del__() AttribuetError (os module == None!)

2009-01-29 Thread Mary Stern
New submission from Mary Stern : I was getting this error (while running my unit tests): Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error'" in > ignored which I tracked down to the os module being set to None (yes really!) in POpen._internal_poll() when called fro

[issue5097] asyncore.dispatcher_with_send undocumented

2009-01-29 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: georg.brandl -> josiahcarlson nosy: +josiahcarlson ___ Python tracker ___ ___ Python-bugs-l

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: Actually, I would like to repurpose tp_compare as tp_bytes for the __bytes__ method. ___ Python tracker ___ __

[issue4676] python3 closes + home keys

2009-01-29 Thread Guilherme Polo
Guilherme Polo added the comment: > It's > also the only quick way in IDLE to be sure that the text widget is > scrolled all the way to the left, since there's no horizontal scrollbar. > (Any idea why that is? I assumed it's to discourage long lines, but I > don't know.) The shell is configured

[issue4676] python3 closes + home keys

2009-01-29 Thread Weeble
Weeble added the comment: I can't see any useful reason to go to the absolute start of the line in the interactive shell. However, it does make sense in the source editor, and it is consistent with, for example, Visual Studio. The first use- case off the top of my head is when you want to copy

[issue3823] ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement

2009-01-29 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5098] Environ doesn't escape spaces properly

2009-01-29 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: The backslash escaping has nothing to do with os.environ. It's the way any string with a backslash in it is displayed in the interactive interpreter (it's the way str.__repr__ works). Performing any escaping on a string to make it usable in a command line

[issue3823] ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement

2009-01-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue4676] python3 closes + home keys

2009-01-29 Thread Guilherme Polo
Guilherme Polo added the comment: > Weeble added the comment: > > I *think* the primary reason for overriding the home key behaviour was > not for the interactive shell, but to make it easier to edit code. Most > programmer's editors that do automatic indentation also let you use home > to move

[issue5098] Environ doesn't escape spaces properly

2009-01-29 Thread Stuart Axon
New submission from Stuart Axon : os.environ doesn't escape spaces, but does backslashes and others In the windows python interpreter I echo'd the variable 'ProgramFiles', then in the commandprompt. >>> from os import environ >>> environ['ProgramFiles'] 'C:\\Program Files' >>> ^Z [C:\]echo %Pr

[issue4676] python3 closes + home keys

2009-01-29 Thread Weeble
Weeble added the comment: You're right: we should find a solution that's safe and supported. I *think* the primary reason for overriding the home key behaviour was not for the interactive shell, but to make it easier to edit code. Most programmer's editors that do automatic indentation also l

[issue5097] asyncore.dispatcher_with_send undocumented

2009-01-29 Thread Kandalintsev Alexandre
New submission from Kandalintsev Alexandre : Hello! asyncore.dispatcher_with_send undocumented in all python versions -- assignee: georg.brandl components: Documentation messages: 80763 nosy: exe, georg.brandl severity: normal status: open title: asyncore.dispatcher_with_send undocument

[issue5096] strange thing after call PyObject_CallMethod

2009-01-29 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- assignee: -> georg.brandl components: +Documentation -Interpreter Core nosy: +georg.brandl ___ Python tracker ___ ___

[issue5076] bdist_wininst fails on py3k

2009-01-29 Thread Mark Hammond
Mark Hammond added the comment: Checked into py3k as r6998; merged to release30-maint as 69099. I hope I got that right! -- resolution: accepted -> fixed status: open -> closed ___ Python tracker _

[issue4174] Performance optimization for min() and max() over lists

2009-01-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5096] strange thing after call PyObject_CallMethod

2009-01-29 Thread Kandalintsev Alexandre
Kandalintsev Alexandre added the comment: Thank you for your activity. This feature drank alot of my blood. Please document this or change behavior. PS Older python versions may be also affected so changing behavior may brake existing code :( ___ Python tr

[issue5075] bdist_wininst should not depend on the vc runtime?

2009-01-29 Thread Mark Hammond
Mark Hammond added the comment: Checked into trunk as r69094; merged to release26-maint as r69095, py3k as r69096 and release30-maint as r69097. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker

[issue5096] strange thing after call PyObject_CallMethod

2009-01-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I think I have an explanation: When a python exception is raised, the current call stack is stored in the exception state (tstate->curexc_traceback). This includes all the living frame objects, with all their local variables. This explains why frame_deallo

[issue4676] python3 closes + home keys

2009-01-29 Thread Guilherme Polo
Guilherme Polo added the comment: > Weeble added the comment: > > Well, the status quo depends on an unsupported field - "anchor". Better not repeat the mistake then ? > As far > as I can tell, the only other option that allows any customisation of > cursor behaviour is to re-implement the en

[issue5096] strange thing after call PyObject_CallMethod

2009-01-29 Thread Kandalintsev Alexandre
New submission from Kandalintsev Alexandre : When unhandled in python code exception occurs in PyObject_CallMethod frame_dealloc() (Objects/frameobject.c:422) not called. Even if I call PyErr_Print(). But if I call PyErr_Clear() then all okay. Documentation says that both this functions doin

[issue4701] range objects becomes hashable after attribute access

2009-01-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue4818] Patch for thread-support in md5module.c

2009-01-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue4821] Patches for thread-support in built-in SHA modules

2009-01-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5084] unpickling does not intern attribute names

2009-01-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5092] weird memory usage in multiprocessing module

2009-01-29 Thread Jerzy
Jerzy added the comment: I still do not understand what is going on when python executed thic code. I have a local variable l in my parent process. When I create a child process, program makes first makes a copy of memory. Than what? I am sure that l still exists in child process because 1. I

[issue5090] import tkinter library Visual C++ Concepts:C Run-Time Error R6034 when embeded python in c++

2009-01-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Yes, issue4566 describes exactly the same problem. -- resolution: -> duplicate status: open -> pending superseder: -> 2.6.1 breaks many applications that embed Python on Windows ___ Python tracker

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Instead of tp_reserved, the name should be tp_deprecated_compare. There should be a python-dev discussion around when to actually remove the slot: 3.0.1 -- binary incompatibility between minor releases (BAD) 3.1.0 -- uncomfortable for writers who have t

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Mark Dickinson
Mark Dickinson added the comment: If I understand Christian's plan correctly, it was to: (1) raise TypeError for non-NULL tp_compare, and (2) rename tp_compare to tp_reserved (with type void *). and both of these would happen with 3.0.1, so no difference between 3.0.1 and 3.1.0. It seems to m

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: For 3.0, are you going to keep tp_compare slot in existence and just assert that it is NULL? Then in 3.1, remove the slot entirely? ___ Python tracker __

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Mark Dickinson
Mark Dickinson added the comment: I'm not going to get more time to work on this before the weekend, so if anyone else wants to take over please feel free. Still to do for stage 2: cell objects and slot wrapper objects need to have tp_richcompare implemented, to replace the tp_compare slots th

[issue4676] python3 closes + home keys

2009-01-29 Thread Weeble
Weeble added the comment: I posted a question on comp.lang.tcl here: http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/aab17806f6fa837f# By the way, which versions of Tk must Python support? Where do I find out things like that? ___ Python t

[issue5056] PyAPI assumes OS can access shared data in loadable modules (windows can't)

2009-01-29 Thread Ulrich Eckhardt
Changes by Ulrich Eckhardt : -- nosy: +eckhardt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue4676] python3 closes + home keys

2009-01-29 Thread Weeble
Weeble added the comment: Well, the status quo depends on an unsupported field - "anchor". As far as I can tell, the only other option that allows any customisation of cursor behaviour is to re-implement the entire selection system from the ground up. Would it be acceptable to detect the Tk vers