[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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 rep...@bugs.python.org

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[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 amaur...@gmail.com 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

[issue5092] weird memory usage in multiprocessing module

2009-01-29 Thread Jerzy
Jerzy jer...@genesilico.pl 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

[issue5084] unpickling does not intern attribute names

2009-01-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5084 ___ ___ Python-bugs-list mailing list

[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 j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4821 ___ ___ Python-bugs-list mailing list

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

2009-01-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4818 ___ ___ Python-bugs-list mailing list

[issue4701] range objects becomes hashable after attribute access

2009-01-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4701 ___ ___ Python-bugs-list mailing list

[issue5096] strange thing after call PyObject_CallMethod

2009-01-29 Thread Kandalintsev Alexandre
New submission from Kandalintsev Alexandre bug_hun...@messir.net: 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

[issue4676] python3 closes + home keys

2009-01-29 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com 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

[issue5096] strange thing after call PyObject_CallMethod

2009-01-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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

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

2009-01-29 Thread Mark Hammond
Mark Hammond mhamm...@users.sourceforge.net 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 Kandalintsev Alexandre
Kandalintsev Alexandre bug_hun...@messir.net 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 :(

[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 j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4174 ___ ___ Python-bugs-list mailing list

[issue5076] bdist_wininst fails on py3k

2009-01-29 Thread Mark Hammond
Mark Hammond mhamm...@users.sourceforge.net 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 rep...@bugs.python.org

[issue5096] strange thing after call PyObject_CallMethod

2009-01-29 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: -- assignee: - georg.brandl components: +Documentation -Interpreter Core nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5096

[issue5097] asyncore.dispatcher_with_send undocumented

2009-01-29 Thread Kandalintsev Alexandre
New submission from Kandalintsev Alexandre bug_hun...@messir.net: 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:

[issue4676] python3 closes + home keys

2009-01-29 Thread Weeble
Weeble clockworksa...@gmail.com 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

[issue5098] Environ doesn't escape spaces properly

2009-01-29 Thread Stuart Axon
New submission from Stuart Axon stu.a...@gmail.com: 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

[issue4676] python3 closes + home keys

2009-01-29 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com 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

[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 j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3823 ___ ___ Python-bugs-list mailing list

[issue5098] Environ doesn't escape spaces properly

2009-01-29 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com 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

[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 exar...@divmod.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3823 ___ ___ Python-bugs-list

[issue4676] python3 closes + home keys

2009-01-29 Thread Weeble
Weeble clockworksa...@gmail.com 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

[issue4676] python3 closes + home keys

2009-01-29 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com 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

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Actually, I would like to repurpose tp_compare as tp_bytes for the __bytes__ method. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1717 ___

[issue5097] asyncore.dispatcher_with_send undocumented

2009-01-29 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: georg.brandl - josiahcarlson nosy: +josiahcarlson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5097 ___

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

2009-01-29 Thread Mary Stern
New submission from Mary Stern maryst...@yahoo.com: I was getting this error (while running my unit tests): Exception exceptions.AttributeError: 'NoneType' object has no attribute 'error' in bound method Popen.__del__ of subprocess.Popen object at 0x8a2596c ignored which I tracked down to the

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

2009-01-29 Thread Raghuram Devarakonda
Raghuram Devarakonda draghu...@gmail.com added the comment: On Wed, Jan 28, 2009 at 5:13 PM, Antoine Pitrou rep...@bugs.python.org wrote: shutil_destinsrc.patch has both the code chage and two test cases. Actually test cases are much longer than the code itself :-).

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

2009-01-29 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com 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 ___

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

2009-01-29 Thread Mary Stern
Changes by Mary Stern maryst...@yahoo.com: -- title: subprocess.POpen.__del__() AttribuetError (os module == None!) - subprocess.POpen.__del__() AttributeError (os module == None!) ___ Python tracker rep...@bugs.python.org

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

2009-01-29 Thread David W. Lambert
Changes by David W. Lambert lamber...@corning.com: -- nosy: +LambertDW ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5099 ___ ___ Python-bugs-list

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

2009-01-29 Thread David W. Lambert
Changes by David W. Lambert lamber...@corning.com: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4174 ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2009-01-29 Thread David W. Lambert
Changes by David W. Lambert lamber...@corning.com: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4174 ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2009-01-29 Thread Guido van Rossum
Guido van Rossum gu...@python.org 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.

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

2009-01-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

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

2009-01-29 Thread Raghuram Devarakonda
Raghuram Devarakonda draghu...@gmail.com added the comment: On Thu, Jan 29, 2009 at 1:32 PM, Antoine Pitrou rep...@bugs.python.org 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

[issue5092] weird memory usage in multiprocessing module

2009-01-29 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de 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

[issue5076] bdist_wininst fails on py3k

2009-01-29 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de 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

[issue5098] Environ doesn't escape spaces properly

2009-01-29 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de 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 rep...@bugs.python.org

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson rep...@bugs.python.org wrote: Benjamin Peterson benja...@python.org added the comment: Actually, I would like to repurpose tp_compare as tp_bytes for the __bytes__ method. Repurposing would be

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: On Thu, Jan 29, 2009 at 2:39 PM, Brett Cannon rep...@bugs.python.org wrote: Brett Cannon br...@python.org added the comment: On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson rep...@bugs.python.org wrote: Benjamin Peterson

[issue1717] Get rid of more references to __cmp__

2009-01-29 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson rep...@bugs.python.org wrote: Benjamin Peterson benja...@python.org added the comment: Actually, I would like to repurpose tp_compare as tp_bytes for the __bytes__ method. Repurposing

[issue5100] ElementTree.iterparse and Element.tail confusion

2009-01-29 Thread Jeroen Dirks
New submission from Jeroen Dirks jeroen.di...@oracle.com: 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

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

2009-01-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - accepted versions: +Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2047 ___

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

2009-01-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed, thanks! ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2047 ___ ___ Python-bugs-list mailing

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

2009-01-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: accepted - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2047 ___

[issue5101] test_funcattrs truncated during unittest conversion

2009-01-29 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: 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

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

2009-01-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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,

[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 jacq...@tripitinc.com: 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

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

2009-01-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2009-01-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The test (io_deadlock.patch) pass on the io-c branch \o/ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3618 ___

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

2009-01-29 Thread Jacques Grove
New submission from Jacques Grove jacq...@tripitinc.com: 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)

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

2009-01-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2009-01-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file12771/tokenizer_ignore_cookie-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4626 ___

[issue3610] Fix gdbinit for Python 3.0

2009-01-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The patch is now outdated. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3610

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

2009-01-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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:

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

2009-01-29 Thread Roman Zeyde
New submission from Roman Zeyde roman.ze...@gmail.com: 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

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

2009-01-29 Thread Roman Zeyde
Changes by Roman Zeyde roman.ze...@gmail.com: -- components: +Extension Modules -None ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5104 ___ ___

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

2009-01-29 Thread Roman Zeyde
Changes by Roman Zeyde roman.ze...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5104 ___ ___ Python-bugs-list

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

2009-01-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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:

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

2009-01-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file12822/unicode_fromwidechar_surrogate-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4474 ___

[issue4487] Add utf8 alias for email charsets

2009-01-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4487 ___ ___

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

2009-01-29 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org 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 rep...@bugs.python.org

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

2009-01-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2009-01-29 Thread Brandon Adams
New submission from Brandon Adams sockonaf...@gmail.com: 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,

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

2009-01-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue5085] distutils/test_sdist failure on windows

2009-01-29 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com 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

[issue4673] Distutils should provide an uninstall command

2009-01-29 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com 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 --

[issue3783] dbm.sqlite proof of concept

2009-01-29 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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

[issue3783] dbm.sqlite proof of concept

2009-01-29 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com 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__

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

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: On Thu, Jan 29, 2009 at 5:13 PM, STINNER Victor rep...@bugs.python.org 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

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

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Applied in r69113. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3880

[issue5087] set_daemon does not exist in Thread

2009-01-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r69114. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5087

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2009-01-29 Thread HiroakiKawai
HiroakiKawai ka...@apache.org added the comment: I want UTC tzinfo. too. -- nosy: +kawai ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5094 ___

[issue3783] dbm.sqlite proof of concept

2009-01-29 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Thanks for looking at this. I'll do an update in the next few days. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___

[issue5041] Memory leak in imp.find_module

2009-01-29 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Fixed in r69117(py3k). -- keywords: -needs review resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5041

[issue5106] Update Naming Binding statement for 3.0

2009-01-29 Thread Terry J. Reedy
New submission from Terry J. Reedy tjre...@udel.edu: 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

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

2009-01-29 Thread John Machin
New submission from John Machin sjmac...@users.sourceforge.net: 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