[issue14357] Distutils2 does not work with virtualenv

2012-03-22 Thread Alex Grönholm
Alex Grönholm added the comment: Kubuntu 11.10, 64-bit. No ~/.pydistutils.cfg. What other info do you need? -- ___ Python tracker ___ ___

[issue9528] Add pure Python implementation of time module to CPython

2012-03-22 Thread Matt Joiner
Changes by Matt Joiner : -- nosy: +anacrolix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Jeff Robbins
New submission from Jeff Robbins : Windows.h includes RpcNdr.h which does this: #define small char accu.h in Python\Include (Python 3.2.3rc2) has this in it: typedef struct { PyObject *large; /* A list of previously accumulated large strings */ PyObject *small; /* Pending small strin

[issue4024] float(0.0) singleton

2012-03-22 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- superseder: -> Intern certain integral floats for memory savings and performance ___ Python tracker ___ __

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I suggest to remove accu.h from Python.h: all functions are private anyway, and it's only used by couple of files. -- assignee: -> pitrou nosy: +amaury.forgeotdarc, pitrou ___ Python tracker

[issue14378] __future__ imports fail when compiling from python ast

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset f57cbcefde34 by Benjamin Peterson in branch '3.2': check by equality for __future__ not identity (closes #14378) http://hg.python.org/cpython/rev/f57cbcefde34 New changeset 9d793be3b4eb by Benjamin Peterson in branch 'default': merge 3.2 (#14378) h

[issue14360] email.encoders.encode_quopri doesn't work with python 3.2

2012-03-22 Thread R. David Murray
R. David Murray added the comment: email in python3 doesn't necessarily work with binary payloads. (Obviously here you've found the opposite problem, but it is in methods that aren't used by the package itself.) There aren't any tests of binary payloads in the test suite. Ultimately this n

[issue14078] Add 'sourceline' property to xml.etree Elements

2012-03-22 Thread R. David Murray
Changes by R. David Murray : -- keywords: +needs review stage: -> patch review type: -> enhancement ___ Python tracker ___ ___ Pytho

[issue14386] Expose dictproxy as a public type

2012-03-22 Thread STINNER Victor
STINNER Victor added the comment: Patch version 2: - add tests and documentation - dictproxy code moved to dictproxyobject.c - dict_proxy replaced with dictproxy in repr(dictproxy) - "key in dictproxy" now handles correctly dict subclasses - dictproxy constructor raises a TypeError if the

[issue14386] Expose dictproxy as a public type

2012-03-22 Thread STINNER Victor
STINNER Victor added the comment: The dictproxy is useful to implement a Python sandbox: see the related issue #14385. -- ___ Python tracker ___ ___

[issue14385] Support other types than dict for __builtins__

2012-03-22 Thread STINNER Victor
STINNER Victor added the comment: > Note: this protection is not enough to secure Python, > but it is an important part of a Python sandbox. Oh, and by the way, I workaround the lack of read-only mapping in pysandbox by removing dict methods: dict.__init__(), dict.clear(), dict.update(), etc.

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Thanks for the report and patch. However, in general we prefer not to mask exceptions (doing that can hide bugs in programs). It would probably be reasonable to fix this in pydoc, however. Alternatively there might be a specific exception or set of excepti

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson, georg.brandl priority: normal -> release blocker versions: +Python 3.3 ___ Python tracker ___ ___

[issue14378] __future__ imports fail when compiling from python ast

2012-03-22 Thread R. David Murray
R. David Murray added the comment: After this commit the buildbots are dying randomly with segfaults. -- nosy: +r.david.murray priority: normal -> release blocker status: closed -> open ___ Python tracker

[issue14378] __future__ imports fail when compiling from python ast

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1729ec440bb6 by Benjamin Peterson in branch '2.7': check by equality for __future__ not identity (closes #14378) http://hg.python.org/cpython/rev/1729ec440bb6 -- status: open -> closed ___ Python tracker

[issue14378] __future__ imports fail when compiling from python ast

2012-03-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: 1b467efb9b27 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14382] test_unittest crashes loading 'unittest.test.testmock' when run from installed Python

2012-03-22 Thread Vinay Sajip
Vinay Sajip added the comment: This should be fixable using the attached patch. -- keywords: +patch nosy: +vinay.sajip stage: needs patch -> patch review type: -> behavior Added file: http://bugs.python.org/file24992/Makefile.pre.in.diff ___ Python

[issue14078] Add 'sourceline' property to xml.etree Elements

2012-03-22 Thread Eli Bendersky
Eli Bendersky added the comment: Hi Leon, Thanks for the patch. I suggest to start by raising this to the python-ideas mailing list, to see if anyone has objections / different idea about doing this. Next, keep in mind that starting with 3.3, the default ElementTree implementation comes from

[issue14388] configparser.py traceback

2012-03-22 Thread Sol Jerome
New submission from Sol Jerome : This seems like it could be user error, but the traceback doesn't provide useful information on where the problem could be. The relevant class is at the following URL. https://github.com/Bcfg2/bcfg2/blob/master/src/lib/Server/Plugin.py#L1180 Traceback (most r

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset f34ac2e9d5cf by Antoine Pitrou in branch '3.2': Issue #14387: Do not include accu.h from Python.h. http://hg.python.org/cpython/rev/f34ac2e9d5cf New changeset 5fe7d19ec49a by Antoine Pitrou in branch 'default': Issue #14387: Do not include accu.h f

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed according to Amaury's suggestion. Georg, Benjamin, I think this should probably go into the final releases. -- ___ Python tracker ___ ___

[issue14388] configparser.py traceback

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Looking at the traceback and your code, configparser is calling 'get', expecting to call its own get method (that takes a 'raw' keyword), but instead is calling the get on your subclass, which doesn't take a 'raw' keyword. Since this appears to be example

[issue13325] no address in the representation of asyncore dispatcher after connection established

2012-03-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Closing as duplicate of issue 13694. -- resolution: -> duplicate status: open -> closed versions: +Python 2.7 ___ Python tracker ___ __

[issue14381] Intern certain integral floats for memory savings and performance

2012-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Yes, there is a measurable performance decrease in pybench arithmetic tests. Integers don't fall out of arithmetic that often, true. But integral floats are incredibly common in tabular data. In a game such as Eve Online, configuration data contain

[issue14382] test_unittest crashes loading 'unittest.test.testmock' when run from installed Python

2012-03-22 Thread Michael Foord
Michael Foord added the comment: Thanks vinay (and ned). I thought that was the cause of the problem - but glad you diagnosed and fixed it before I had to look into it. Patch looks good to apply. -- ___ Python tracker

[issue14381] Intern certain integral floats for memory savings and performance

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Integers don't fall out of arithmetic that often, true. But integral > floats are incredibly common in tabular data. In a game such as Eve > Online, configuration data contains a lot of 0.0, 1.0, -1.0 and so > on. This patch saved us many megabytes on the

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c19c9914c22 by Giampaolo Rodola' in branch '2.7': fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect. http://hg.python.org/cpython/rev/8c19c9914c22 -

[issue14381] Intern certain integral floats for memory savings and performance

2012-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: The -10..11 range was determined empirically. As you see from the values, only -10 shows up as significant... In fact, just storing 0 to 5 would capture the bulk of the savings. Right, I'll do some test with the hardcoded values you mentioned. Btw,

[issue14381] Intern certain integral floats for memory savings and performance

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Right, I'll do some test with the hardcoded values you mentioned. > Btw, I don't think -0.0 is worth it, that value is a typical > arithmetic result and not something you typically get from input data. I was suggesting -0.0 in the hope that it might make the

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset e2cddb3f4526 by Giampaolo Rodola' in branch '3.2': fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect. http://hg.python.org/cpython/rev/e2cddb3f4526 N

[issue14381] Intern certain integral floats for memory savings and performance

2012-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Try moving your changes from PyFloat_FromDouble to PyFloat_FromString. Look at memory and perfomance. -- ___ Python tracker ___

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c1fd9276b25 by Giampaolo Rodola' in branch '3.2': issue 10340 - forgot to update Misc/NEWS http://hg.python.org/cpython/rev/8c1fd9276b25 -- ___ Python tracker __

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 13cefcbcc7da by Giampaolo Rodola' in branch 'default': fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect. http://hg.python.org/cpython/rev/13cefcbcc7d

[issue14228] It is impossible to catch sigint on startup in python code

2012-03-22 Thread telmich
telmich added the comment: It seems not even using -S fixes the problem: [16:25] brief:python-traceback-test% head -n 2 caller.py #!/usr/bin/python3 -S [16:25] brief:python-traceback-test% ./caller.py Indirect child being called Indirect child being called Indirect child being called ^Ccaugh

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2012-03-22 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- assignee: -> giampaolo.rodola priority: high -> normal resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue14228] It is impossible to catch sigint on startup in python code

2012-03-22 Thread telmich
telmich added the comment: I think setting up SIGINT after importing site is a good solution: It will kill the program as expected and as soon as the user takes over control, she can decide what todo. In which stage/part is the python interpreter when I guess/hope that the race condition betw

[issue14389] Mishandling of large numbers

2012-03-22 Thread Practicing Zazen
New submission from Practicing Zazen : Please let me know if this is accepted behavior or not. >>> 9*999 8991 >>> 9*999+0.1 8990.0 >>> 9*999+1 8992 -- messages: 156576 nosy: Practicing.Zazen priority: normal severit

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2012-03-22 Thread Dave Burton
Dave Burton added the comment: Well, the exception is NotImplementedError. It's raised explicitly in pygame\__init__.py I uncommented my commented-out print statement in inspect.py, and added a traceback print, and ran pydoc like this: c:\python32\python.exe c:\python32\Lib\pydoc.py -p 7464

[issue14381] Intern certain integral floats for memory savings and performance

2012-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: PyFloat_FromString() is very restrictive. In our case, for example, the floats in question don't come from text files. I'm adding a new file with changes suggested by Antoine. only 0.0 and 1.0 are interned. It turns out that the "int" test is expen

[issue14389] Mishandling of large numbers

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: See http://docs.python.org/dev/faq/design.html#why-are-floating-point-calculations-so-inaccurate -- nosy: +pitrou ___ Python tracker ___ _

[issue14228] It is impossible to catch sigint on startup in python code

2012-03-22 Thread poq
poq added the comment: > It seems not even using -S fixes the problem That's because you try to use re and os in your except block, and the KeyboardInterrupt is raised before they are imported. -- nosy: +poq ___ Python tracker

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Michael, I thought you might be interested in this one since it looks like it might involve inspect executing code unexpectedly, and I know you worked on ways of not doing that... -- nosy: +michael.foord ___ Pytho

[issue10538] PyArg_ParseTuple("s*") does not always incref object

2012-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Adding a patch here. -- keywords: +patch Added file: http://bugs.python.org/file24995/#10538.patch ___ Python tracker ___ _

[issue14389] Mishandling of large numbers

2012-03-22 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14228] It is impossible to catch sigint on startup in python code

2012-03-22 Thread telmich
telmich added the comment: Oh yes, you are right. Sorry for the confusion. When modifying caller.py to only print(), everything works. But then I've a different problem: If I want to exit(1), in case I get a SIGINT, I'd like to try to import sys. But trying to import sys, will probably fail a

[issue14307] Make subclassing SocketServer simpler for non-blocking frameworks

2012-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: What's wrong with making functionality overridable, Antoine? By all means, let's keep the select() but allow subclasses to elect not to use it. As for the wakeup fd, there isn't such a thing. Why object on the basis of a hypothetical feature which m

[issue14389] Mishandling of large numbers

2012-03-22 Thread R. David Murray
R. David Murray added the comment: You might want to take a look at the Decimal module. -- nosy: +r.david.murray ___ Python tracker ___ _

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2012-03-22 Thread R. David Murray
R. David Murray added the comment: This appears to be causing buildbot failures: http://www.python.org/dev/buildbot/all/builders/x86%20debian%20parallel%203.x/builds/4077 http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.x/builds/3520 -- keywords: +buildbot sta

[issue10538] PyArg_ParseTuple("s*") does not always incref object

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Georg Brandl
Georg Brandl added the comment: Sounds reasonable to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Stefan Krah
Stefan Krah added the comment: Hmm, I still get the error in 13cefcbcc7da: c:\Users\stefan\pydev\cpython\Include\accu.h(21) : error C2059: syntax error : 'type' c:\Users\stefan\pydev\cpython\Include\accu.h(22) : error C2059: syntax error : '}' c:\Users\stefan\

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Georg Brandl
Georg Brandl added the comment: We can of course also rename "small". -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue10538] PyArg_ParseTuple("s*") does not always incref object

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 17c671529f7e by Kristján Valur Jónsson in branch '2.7': Issue #10538. Put a reference to the source object in the Py_buffer when http://hg.python.org/cpython/rev/17c671529f7e -- nosy: +python-dev ___ Pyt

[issue10538] PyArg_ParseTuple("s*") does not always incref object

2012-03-22 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14384] Add "default" kw argument to operator.itemgetter and operator.attrgetter

2012-03-22 Thread Miki Tebeka
Miki Tebeka added the comment: python-ideas post at https://groups.google.com/d/msg/python-ideas/lc_hkpKNvAg/ledftgY0mFUJ -- ___ Python tracker ___

[issue14371] Add support for bzip2 compression to the zipfile module

2012-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: All errors are fixed. All tests are passed. Unfortunately, the patch was more than expected. This is necessary for correct and effective work with large bzip2 buffers (for other codecs can also be a profit). -- Added file: http://bugs.python.org/fil

[issue14384] Add "default" kw argument to operator.itemgetter and operator.attrgetter

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Great. I'm going to close the issue, but it's only "for now": if you get a good response and a design agreement on python-ideas please reopen the issue. Of course, we'd need a patch, too; and I believe there would need to be close to zero impact on perform

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Hmm, I still get the error in 13cefcbcc7da: Can you try to find a fix? I don't have anything to test here. -- assignee: pitrou -> ___ Python tracker __

[issue14371] Add support for bzip2 compression to the zipfile module

2012-03-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +nadeem.vawda stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10538] PyArg_ParseTuple("s*") does not always incref object

2012-03-22 Thread STINNER Victor
STINNER Victor added the comment: You should mention your change in Misc/NEWS. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Jeff Robbins
Jeff Robbins added the comment: The easiest fix would be to rename the "small" field in accu.h (and of course in any file that references that field.) I have no idea who uses this file. Perhaps the 2nd easiest fix would be to put this after the #include of Windows.h #ifdef small #undef small

[issue1676] Fork/exec issues with Tk 8.5/Python 2.5.1 on OS X

2012-03-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: Let's close this issue as very old and obsolete. -- nosy: +asvetlov ___ Python tracker ___ ___ Pytho

[issue14361] No link to issue tracker on Python home page

2012-03-22 Thread Daniel Swanson
Daniel Swanson added the comment: I agree that the link to the bug tracker should be more obvious (yesterday it took me almost an hour to find it) -- nosy: +weirdink13 ___ Python tracker _

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2012-03-22 Thread Michael Foord
Michael Foord added the comment: The code is *already* triggering execution through the use of hasattr. It could be switched to use getattr_static instead, but the try...except in the patch looks reasonable whether or not that change is made. -- __

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, the exception shouldn't be silenced. As David said, I think it would be better to silence the exception in pydoc. Besides, it would be nice to come with a standalone test case, because it's not clear exactly why pygame triggers this. -- nosy: +p

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread Jeff Knupp
Jeff Knupp added the comment: Patch to default character set to utf8 if non-ascii characters are found in the input string. Please let me know if this is what you had in mind. -- nosy: +Jeff.Knupp ___ Python tracker

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread Jeff Knupp
Changes by Jeff Knupp : -- keywords: +patch Added file: http://bugs.python.org/file24997/mailutf8.patch ___ Python tracker ___ ___ Pyt

[issue14307] Make subclassing SocketServer simpler for non-blocking frameworks

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > What's wrong with making functionality overridable, Antoine? By all > means, let's keep the select() but allow subclasses to elect not to use > it. It's making the implementation more complex for no obvious point. Using select() is not a bug in itself. Furt

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Pretty close. I'd do the check for us_ascii first, and only do the encode test/switch to utf-8 if that's the charset. The reason is that that if a charset has been specified, we don't waste time doing an unnecessary encoding (and the ascii codec is very fa

[issue1222721] tk + setlocale problems...

2012-03-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: I have no problems with executing demo. I used Russian locale with LC_NUMERIC, utf-8 and cp1251 (Russian Windows encoding). Looks like the problem cannot be reproduced. -- nosy: +asvetlov ___ Python tracker

[issue14384] Add "default" kw argument to operator.itemgetter and operator.attrgetter

2012-03-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Stefan Krah
Stefan Krah added the comment: Jeff's #undef suggestion works here (see patch). But I have a question: Where is Windows.h pulled in anyway? A grep only shows signalmodule.c: $ find . -name "\.hg" -prune -o -type f -print0 | xargs -0 grep -n 'Windows\.h' ./Modules/signalmodule.c:9:#include ./D

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Jeff Robbins
Jeff Robbins added the comment: re Stefan Krah's posting: I am sorry if I've caused any confusion. I am building a Python extension (APSW), and it includes the sqlite "amalgamation" and also includes Python.h. Sqlite includes Windows.h. Which then causes the problem when Python.h is inclu

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread Jeff Knupp
Jeff Knupp added the comment: Understood. Please take a look at the updated patch. Also, removed the unrelated diffs that somehow were hanging around in my hg mq. -- Added file: http://bugs.python.org/file24999/mimeutf8.patch ___ Python tracker

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Stefan Krah
Stefan Krah added the comment: Jeff Robbins wrote: > I am sorry if I've caused any confusion. I am building a Python extension > (APSW), and it includes the sqlite "amalgamation" and also includes Python.h. The Python build itself failed here, too, specifically in unicodeobject.c. But I now

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread R. David Murray
R. David Murray added the comment: That looks good. -- stage: test needed -> commit review ___ Python tracker ___ ___ Python-bugs-lis

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Stefan Krah
Stefan Krah added the comment: To prevent further confusion. :) db154e62ac03 -> OK 5fe7d19ec49a -> failure 5fe7d19ec49a with #undef patch -> OK So I don't know if it is better to revert to db154e62ac03 or to use the #undef patch. Jeff, you originally said: 'An extension which includes bot

[issue1676] Fork/exec issues with Tk 8.5/Python 2.5.1 on OS X

2012-03-22 Thread Ned Deily
Ned Deily added the comment: Yes, whatever the initial problem, it doesn't seem to be an issue anymore. -- nosy: +ned.deily resolution: -> out of date stage: test needed -> committed/rejected status: open -> closed ___ Python tracker

[issue10538] PyArg_ParseTuple("s*") does not always incref object

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8efe88c0f14e by krisvale in branch '2.7': Issue #10538 - Update Misc/NEWS http://hg.python.org/cpython/rev/8efe88c0f14e -- ___ Python tracker

[issue3035] Removing apparently unwanted functions from Tkinter

2012-03-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: David Murray, I used to think what deprecation process in Python have to go trough PendingDeprectaionWarning to DeprecationWarning and removing in next next release at end. Is it right? Also I thought what that trivial patch does not need to be published in t

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Jeff Robbins
Jeff Robbins added the comment: Stefan asked 'Did you include Python.h before or after Windows.h? Extensions are supposed to include Python.h before anything else. ' I downloaded http://code.google.com/p/apsw/ to test it out on the latest sqlite release. I followed the build instructions on

[issue11077] Tkinter is not thread safe

2012-03-22 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5527] multiprocessing won't work with Tkinter (under Linux)

2012-03-22 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1447222] tkinter Dialog fails when more than four buttons are used

2012-03-22 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10538] PyArg_ParseTuple("s*") does not always incref object

2012-03-22 Thread STINNER Victor
STINNER Victor added the comment: Thanks :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1252236] Simplying Tkinter's event loop

2012-03-22 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14382] test_unittest crashes loading 'unittest.test.testmock' when run from installed Python

2012-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1ec74eeda4e8 by Ned Deily in branch 'default': Issue #14382: Ensure new unittest.test.testmock is installed. http://hg.python.org/cpython/rev/1ec74eeda4e8 -- nosy: +python-dev ___ Python tracker

[issue14382] test_unittest crashes loading 'unittest.test.testmock' when run from installed Python

2012-03-22 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14390] Tkinter single-threaded deadlock

2012-03-22 Thread John Bollinger
New submission from John Bollinger : This is the same as issue 452973, created as a new issue pursuant to the instruction given when 452973 was closed as "out of date". In a nutshell, in a program using combining Tkinter with Tcl callbacks written in C, it is possible for even a single-threade

[issue3035] Removing apparently unwanted functions from Tkinter

2012-03-22 Thread R. David Murray
R. David Murray added the comment: You are theoretically right about not posting trivial patches, but as you can see, sometimes even a trivial patch elicits unexpected insights. So I like to always post my patches, even the seemingly trivial ones. Then if I don't get any responses, I figure

[issue3367] Uninitialized value read in parsetok.c

2012-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Victor, could you check out the last patch here for sysmodule? I gather that you are familiar with it. -- nosy: +haypo ___ Python tracker

[issue1222721] tk + setlocale problems...

2012-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for retesting. Closing until there is a clear problem with current releases. -- resolution: -> out of date status: open -> closed versions: -Python 2.4 ___ Python tracker

[issue6270] Menu deletecommand fails if command is already deleted

2012-03-22 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue3015] tkinter with wantobjects=False has been broken for some time

2012-03-22 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue14381] Intern certain integral floats for memory savings and performance

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok. In the current state it doesn't look detrimental, although I'm not convinced it's that useful either. That said, the implementation needs a bit of work, I don't think it's ok for float_is_positive_zero() to use the Py_LONG_LONG casting thing. --

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Now unicodedata.c does not compile with VS2010, because somewhere, "small" is defined. Do you mind if I change the _PyAccu.small member to 'smalls'? -- nosy: +krisvale ___ Python tracker

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Now unicodedata.c does not compile with VS2010, because somewhere, "small" is > defined. > Do you mind if I change the _PyAccu.small member to 'smalls'? How about the #undef suggested somewhere? -- ___ Python tra

[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Sure, that's simpler. I'll submit a fix. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2012-03-22 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: -> asvetlov nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue1752252] tkFileDialog closes Python when used

2012-03-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ping. Is there can be reproduced? I like to see the issue as out of date. -- nosy: +asvetlov, georg.brandl, loewis, terry.reedy versions: +Python 3.3 -Python 2.6, Python 3.0 ___ Python tracker

  1   2   >