[issue14284] unicodeobject error on macosx in build process

2012-03-13 Thread Hervé Coatanhay
New submission from Hervé Coatanhay herve.coatan...@gmail.com: On a fresh install from mercurial on macosx. ./python -SE -m sysconfig --generate-posix-vars Could not find platform dependent libraries exec_prefix Consider setting $PYTHONHOME to prefix[:exec_prefix] Assertion failed:

[issue14284] unicodeobject error on macosx in build process

2012-03-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: See #13241. -- nosy: +ezio.melotti resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7) ___ Python

[issue14285] Traceback wrong on ImportError while executing a package

2012-03-13 Thread Marc Schlaich
New submission from Marc Schlaich marc.schla...@googlemail.com: It is very simple to reproduce this error. There is an executable package: package/ __init__.py __main__.py The __init__ imports a missing module: import missing_module And the __main__ imports from it: from .

[issue14257] minor error in glossary wording regarding __hash__

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0f146020d8e9 by Senthil Kumaran in branch '3.2': closes issue14257 - Grammatical fix http://hg.python.org/cpython/rev/0f146020d8e9 New changeset c5833f277258 by Senthil Kumaran in branch 'default': closes issue14257

[issue14246] Accelerated ETree XMLParser cannot handle io.StringIO

2012-03-13 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: FWIW, lxml also has support for parsing Unicode strings. It doesn't encode the input, however, but parses straight from the underlying buffer (after detecting the buffer layout etc. at module init time - and yes, I still haven't

[issue5758] fileinput.hook_compressed returning bytes from gz file

2012-03-13 Thread Tatiana Al-Chueyr
Tatiana Al-Chueyr tatiana.alchu...@gmail.com added the comment: Improved patch, according to eric.araujo's suggestions and mnewman's guidance. -- Added file: http://bugs.python.org/file24815/issue5758_fileinput_gzip_with_encoding_v2.patch ___ Python

[issue12890] cgitb displays p tags when executed in text mode

2012-03-13 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net added the comment: Did this ever get committed? Is there anything left for me to do here? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___

[issue14246] Accelerated ETree XMLParser cannot handle io.StringIO

2012-03-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Stefan, Thanks a lot for taking the time to review the patch. As you correctly say, the current pathch's goal is just to align with existing behavior in the Python implementation of ET. I understand the problem you are describing, but at

[issue1666318] shutil.copytree doesn't give control over directory permissions

2012-03-13 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net added the comment: I made the change suggested in the last comment, patch is attached. Trying to clean up any bugs I've got my name on! -- keywords: +patch Added file: http://bugs.python.org/file24816/makedirs_function.patch

[issue14281] Add unit test for cgi.escape method

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 757afb3af762 by Senthil Kumaran in branch '2.7': Fix closes Issue14281 - Test for cgi.escape by Brian Landers http://hg.python.org/cpython/rev/757afb3af762 New changeset 13922f6d87f2 by Senthil Kumaran in branch

[issue12365] URLopener should support context manager protocol

2012-03-13 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net added the comment: Documentation patch to outline the use of context manager protocol attached. Trying to cleanup any bugs with my name on them. -- keywords: +patch Added file: http://bugs.python.org/file24817/urllib_request_doc.patch

[issue10050] urllib.request still has old 2.x urllib primitives

2012-03-13 Thread Jeff McNeil
Changes by Jeff McNeil j...@jmcneil.net: -- nosy: -mcjeff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10050 ___ ___ Python-bugs-list mailing

[issue14262] Allow using decimals as arguments to `timedelta`

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: The PEP 410 was rejected. See also the issue #13882. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14262 ___

[issue14273] distutils2: logging handler not properly initialized

2012-03-13 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I cannot reproduce this, and in fact couldn't find anywhere in packaging in the default branch where a distutils2 logger is set up. I used grep to look for getLogger.*(distutils2|__name__), could some other logic be in use to construct

[issue1429] FD leak in SocketServer

2012-03-13 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net added the comment: In an effort to walk through bugs in my nosy list, I dug into this and tried to reproduce it to no avail. Also, as the handle_error method is supposed to handle problems gracefully, calling shutdown on handle_error exception is probably

[issue14272] ast.c: windows compile error

2012-03-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Looks fixed in 6bee4eea1efa. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14272

[issue14262] Allow using decimals as arguments to `timedelta`

2012-03-13 Thread Ram Rachum
Ram Rachum r...@rachum.com added the comment: I'm not proposing that `timedelta` will use `Decimal` internally, but that it would handle the conversion to `float` itself, instead of the user having to do it. -- ___ Python tracker

[issue14286] xxlimited.obj: unresolved external symbol __imp__PyObject_New

2012-03-13 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: Linking fails on Windows 64-bit. Perhaps Py_LIMITED_API ifdefs are missing. Creating library C:\Users\stefan\hg\cpython\PCbuild\\amd64\\xxlimited.lib and object C:\Users\stefan\hg\c python\PCbuild\\amd64\\xxlimited.exp

[issue1762561] unable to serialize Infinity or NaN on ARM using marshal

2012-03-13 Thread Nir Soffer
Nir Soffer nir...@gmail.com added the comment: As someone who has to develop on ARM OABI, I find this won't fix policy rather frustrating. If you happen to need this patch on 2.7, this is the same patch as arm-float2.diff, which can be applied cleanly to release 2.7.2. Changes from

[issue13889] str(float) and round(float) issues with FPU precision

2012-03-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I've looked at the latest patch: It seems that new_387controlword is not set if old_387controlword already has the desired precision and rounding mode. Attached is a revised patch that uses the same logic as the Linux version. A couple

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The proposition of using other C functions and changing the bdist_wininst code looks risky to me, especially as I don’t know how compatibility would be affected (see my previous message). We are free to improve the wininst code in distutils2,

[issue8954] wininst regression: errors when building on linux

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Sean: In msg135902 I am merely explaining why I removed 2.6 from the list of versions. Only 2.7, 3.2 and 3.3 can get fixed. If you look at my previous message or the list of dependencies, you can see that #10945 needs to be fixed first before

[issue14260] re.groupindex available for modification and continues to work, having incorrect data inside it

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I can get code from anywhere I am afraid I don’t understand. Could you start again and explain what bug you ran into, i.e. what behavior does not match what the docs say? At present this report looks like it is saying “when I put random

[issue14282] lib2to3.fixer_util.touch_import('__future__', ...) can lead to SyntaxError in code

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I think that's actually a bug in python-modernize, not in touch_import - or, rather, touch_import shouldn't be used to add future imports. Instead, I think there should be a touch_future function which adds a future import, taking into

[issue5758] fileinput.hook_compressed returning bytes from gz file

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks. Unless another core dev wants to do a complementary review I will slightly tweak the patch and commit it. I need to finish waking up and eat some food before I do that :) Technically adding a new argument means that this is a new

[issue12890] cgitb displays p tags when executed in text mode

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’ll apply it shortly. -- assignee: - eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___

[issue14267] TimedRotatingFileHandler chooses wrong file name due to daylight saving time spring forward

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a5c4b8ccca8b by Vinay Sajip in branch '2.7': Closes #14267: Corrected computation of rollover filename. http://hg.python.org/cpython/rev/a5c4b8ccca8b New changeset a1d9466441ff by Vinay Sajip in branch '3.2': Closes

[issue14202] The docs of xml.dom.pulldom are almost nonexistent

2012-03-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: I reviewed the patch in http://bugs.python.org/review/14202/show -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14202 ___

[issue13885] CVE-2011-3389: _ssl module always disables the CBC IV attack countermeasure

2012-03-13 Thread Tomas Hoger
Tomas Hoger tho...@redhat.com added the comment: Is the final patch going to enable empty fragments unconditionally and will ofter no way to disable them? curl did that recently and ended up adding option to allow users to disable empty fragments when they break compatibility:

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1e9cc1a03365 by Victor Stinner in branch 'default': Close #14180: Factorize code to convert a number of seconds to time_t, timeval or timespec http://hg.python.org/cpython/rev/1e9cc1a03365 -- nosy:

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ed73006bac42 by Victor Stinner in branch 'default': Issue #14180: Remove commented code http://hg.python.org/cpython/rev/ed73006bac42 -- ___ Python tracker

[issue14262] Allow using decimals as arguments to `timedelta`

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Attached patch changes timedelta constructor to accept decimal.Decimal. See also the issue #14180. -- keywords: +patch Added file: http://bugs.python.org/file24820/timedelta_decimal.patch

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Would the proposed change mean that a bdist_wininst built with 3.2.0 won’t work with a patched 3.2.3? The installer doesn't use distutils to read its configuration, so such binary runs with any installed Python version. bdist_msi

[issue10148] st_mtime differs after shutil.copy2

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: This issue is a duplicate of #14127. -- nosy: +haypo resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10148

[issue14127] os.stat and os.utime: allow preserving exact metadata

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: I'm lost in all issues related to os.stat/utime and nanosecond, here is a list: - #10148: duplicate - #11457: closed (was related the the rejected PEP 410) - #12904: closed, it was the first step to fix os.stat/os.utime - #13882:

[issue13964] os.utimensat() and os.futimes() should accept (sec, nsec), drop os.futimens()

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: This issue is a duplicate of #14127. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13964

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-13 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: os.stat and os.utime: allow preserving exact metadata - add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds ___ Python

[issue14282] lib2to3.fixer_util.touch_import('__future__', ...) can lead to SyntaxError in code

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Instead of changing touch_import, I propose to add a function similar to https://github.com/loewis/python-modernize/commit/0db885e616807d0cc6859b4035d81fd260b06a67 -- ___ Python tracker

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: The following changes has to be done to fix this issue: - add st_atime_ns, st_mtime_ns and st_ctime_ns fileds to os.stat() result: number of nanoseconds since Epoch (1970.1.1), an integer - change os.*utime*() functions (see below)

[issue14262] Allow using decimals as arguments to `timedelta`

2012-03-13 Thread Ram Rachum
Ram Rachum r...@rachum.com added the comment: Thanks for the patch! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14262 ___ ___

[issue13889] str(float) and round(float) issues with FPU precision

2012-03-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: BTW, the MSDN documentation at http://msdn.microsoft.com/en-us/library/e9b52ceh(v=vs.100).aspx is a bit confusing. Question 1: when doing __control87_2(new, mask, old, NULL), does the resulting value in old reflect the *new* FPU state or

[issue14217] text output pretends to be code

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This issue does not apply to 2.7 docs because they lack the local/nonlocal assignment example; do you agree it would be good to backport that? Tshepang, if you find more instances of the same problem, please report them. Thanks! --

[issue14287] sys.stdin.readline and KeyboardInterrupt on windows

2012-03-13 Thread Musashi Tamura
New submission from Musashi Tamura yuri.musashi.miwa.tam...@gmail.com: I run z.py and press Ctrl-C. '' Traceback (most recent call last): File z.py, line 7, in module print(repr(x)) KeyboardInterrupt I think '' should not be printed. This sometimes occurs on Python 3.2.2 and 2.7.2

[issue1666318] shutil.copytree doesn't give control over directory permissions

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Patch looks good. I don’t know if I should fix this in 3.3 with your patch or go back to the first idea of adding a copystat(src, dst) after the mkdir call. I just don’t know if it’s important that this behavior does not change in stable

[issue14273] distutils2: logging handler not properly initialized

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: We didn’t give enough info, sorry. This bug is not reproducible with packaging, it only shows when using the distutils2 repository with Python 2.5, 2.6 or 3.1. I think it’s related to the absence of built-in handler of last resort.

[issue12365] URLopener should support context manager protocol

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the patch. - This function returns a file-like object with two additional methods from + This function returns a file-like object that supports the Context Manager + protocol, with two additional methods from The

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1eaf6e899f02 by Victor Stinner in branch 'default': Issue #14180: Fix select.select() compilation on BSD and a typo in kqueue_queue_control() http://hg.python.org/cpython/rev/1eaf6e899f02 --

[issue13889] str(float) and round(float) issues with FPU precision

2012-03-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Mark Dickinson rep...@bugs.python.org wrote: http://msdn.microsoft.com/en-us/library/e9b52ceh(v=vs.100).aspx Question 1: when doing __control87_2(new, mask, old, NULL), does the resulting value in old reflect the *new* FPU state or

[issue5758] fileinput.hook_compressed returning bytes from gz file

2012-03-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: For 3.2 could we use the same fix, but without exposing the ability to *change* the encoding? That is, we use TextIOWrapper but always with the default None for encoding. It also occurs to me that this really exposes a weakness in the

[issue13889] str(float) and round(float) issues with FPU precision

2012-03-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Stefan Krah rep...@bugs.python.org wrote: Stefan Krah stefan-use...@bytereef.org added the comment: Mark Dickinson rep...@bugs.python.org wrote: http://msdn.microsoft.com/en-us/library/e9b52ceh(v=vs.100).aspx Question 1: when

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-13 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Larry, are you sprinting on this? I'd love to help. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14127 ___

[issue14273] distutils2: logging handler not properly initialized

2012-03-13 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Yes, the whole package only uses one logger, and we don’t want to stop messages: the application (pysetup, pip, etc.) must be able to set the level.  I’ll remove the code that sets a level on the logger and write a test to make

[issue5758] fileinput.hook_compressed returning bytes from gz file

2012-03-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It also occurs to me that this fix makes the charset hook look rather odd. We could render it redundant by passing charset to open in the non-openhook case, and mark it deprecated. There is also a bug in the hook_encoding docs. It

[issue14273] distutils2: logging handler not properly initialized

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I think you might mean sets a level on the handler - the logger should still have the level set IIUC the logger should be set to DEBUG, otherwise even if e.g. pip wants to get INFO messages it won’t see them. Is that right? --

[issue5758] fileinput.hook_compressed returning bytes from gz file

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: For 3.2 could we use the same fix, but without exposing the ability to *change* the encoding? That is, we use TextIOWrapper but always with the default None for encoding. Yes! It also occurs to me that this really exposes a weakness in the

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset cb1c877a27f2 by Victor Stinner in branch 'default': Issue #14180: Fix another typo in kqueue_queue_control() http://hg.python.org/cpython/rev/cb1c877a27f2 -- ___ Python

[issue14288] Make iterators pickleable

2012-03-13 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: A common theme in many talks last year about cloud computing was the need to suspend execution, pickle state, and resume it on a different node. This patch is the result of last year's stackless sprint at pycon, finally

[issue14262] Allow using decimals as arguments to `timedelta`

2012-03-13 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: I am -0 on the feature and -1 on the implementation. Conversion from Decimal to float is explicit by design. Decimal gives the user fine control over rounding issues allowing for either exact arithmetics (trapping inexact

[issue1666318] shutil.copytree doesn't give control over directory permissions

2012-03-13 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net added the comment: Ah, understood. I kind of like the idea of having the added functionality behind a custom callable, but if it's generally just a bug then copystat is a good solution, too. -- ___ Python tracker

[issue14062] UTF-8 Email Subject problem

2012-03-13 Thread Tatiana Al-Chueyr
Tatiana Al-Chueyr tatiana.alchu...@gmail.com added the comment: Hi msladek! I tried to reproduce your bug using Python 3.2.2 on MacOS X, but didn't manage - all worked fine. I used gmail both to send and receive the message, on SSL: smtpPort = '465' smtpSrv = 'smtp.gmail.com' As I'm

[issue8536] Support new features of ZLIB 1.2.4

2012-03-13 Thread Jason Killen
Jason Killen jsnk...@gmail.com added the comment: Given this is marked as good for a newbie and easy I figured I'd take a crack at it but I'm confused. As example I don't see where inflateReset2 would be useful. I don't see anywhere inflateReset is used and would need to be replaced by

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 760cf150bb99 by Victor Stinner in branch 'default': Issue #14180: Fix pythoncore.vcproj, Modules/_time.[ch] have been removed http://hg.python.org/cpython/rev/760cf150bb99 --

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I don't want to remove os.futimens() and os.utimensat() because they add a feature: UTIME_NOW and UTIME_OMIT flags. I'm not sure how this could work: UTIME_NOW and UTIME_OMIT have typically values such as ((1l 30) - 2l) which could be

[issue1178863] Variable.__init__ uses self.set(), blocking specialization

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the patch. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1178863 ___

[issue14278] email.utils.localtime throws exception if time.daylight is False

2012-03-13 Thread Brian Jones
Changes by Brian Jones bkjo...@gmail.com: -- nosy: +r.david.murray -Brian.Jones ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14278 ___ ___

[issue14062] UTF-8 Email Subject problem

2012-03-13 Thread Michal Sladek
Michal Sladek mic...@sladkovi.eu added the comment: I tested the code again. Using Gmail SMTP server produces correct results, using server smtp.seznam.cz leads to a problem (I should mention here, that Seznam is the largest free mail provider in the Czech Republic). Here are the differences

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-13 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Larry, are you sprinting on this? I'd love to help. I am. Come on by--mi CPU es tu CPU! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14127

[issue2843] New methods for existing Tkinter widgets

2012-03-13 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Fresh patch for current 3.3 head is attached. -- keywords: +patch Added file: http://bugs.python.org/file24824/tknewmethods.diff ___ Python tracker rep...@bugs.python.org

[issue2843] New methods for existing Tkinter widgets

2012-03-13 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Martin, please review and move it forward if ok. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2843 ___

[issue10522] test_telnet exception

2012-03-13 Thread Jack Diederich
Jack Diederich jackd...@gmail.com added the comment: Either someone changed the test or I can't understand how the try/except/else could happen where 'conn' is undefined in the else. Either way, I'm marking it closed. -- resolution: - out of date status: open - closed

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9d69a2418d80 by Victor Stinner in branch 'default': Issue #14180: Fix an invalid rounding when compiler optimization are enabled http://hg.python.org/cpython/rev/9d69a2418d80 --

[issue3835] tkinter goes into an infinite loop (pydoc.gui)

2012-03-13 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Push updated patch for tip (3.3) head -- nosy: +asvetlov Added file: http://bugs.python.org/file24825/issue_3835_2.diff ___ Python tracker rep...@bugs.python.org

[issue14288] Make iterators pickleable

2012-03-13 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/issue14288 ___ ___ Python-bugs-list mailing list

[issue14184] test_recursion_limit fails on OS X when compiled with clang

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 246e681a4272 by Ned Deily in branch '3.2': Issue #14184: Increase the default stack size for secondary threads on http://hg.python.org/cpython/rev/246e681a4272 New changeset c00ac2b25048 by Ned Deily in branch

[issue14184] test_recursion_limit fails on OS X when compiled with clang

2012-03-13 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Thanks for the report. Fix applied for 3.2.x (for release in 3.2.4) and default (for 3.3.0). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed type: - crash ___ Python

[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

2012-03-13 Thread Jason Killen
Jason Killen jsnk...@gmail.com added the comment: I've generated a patch that checks to see if seen_greeting is set before processing other commands. This is the first time I've submitted a patch so if there is something more I need to do let me know. -- nosy: +Jason.Killen Added

[issue7652] Merge C version of decimal into py3k.

2012-03-13 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Stefan, please feel free to commit the latest patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___

[issue5219] IDLE/Tkinter: edit win stops updating when tooltip is active

2012-03-13 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: I confirm: patch5219.diff solves the problem in linux box. -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5219

[issue13889] str(float) and round(float) issues with FPU precision

2012-03-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for the responses. As far as I'm concerned, this is good to go into all 3 maintained branches. Having said that, the 2.7 and 3.2 branches are currently at release candidate stage, so I think we should wait until after the releases.

[issue829370] math.signum(int)

2012-03-13 Thread Frank
Frank frank.breitl...@gmx.de added the comment: Its true. Python needs it as every scientific programming language needs it. Its a matter of completeness. This is a deficit. -- nosy: +fkbreitl versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4

[issue829370] math.signum(int)

2012-03-13 Thread Merlijn van Deen
Merlijn van Deen valhall...@gmail.com added the comment: numpy.sign does this: http://docs.scipy.org/doc/numpy/reference/generated/numpy.sign.html -- nosy: +valhallasw ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue829370

[issue7652] Merge C version of decimal into py3k.

2012-03-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: FWIW, I think we would be better off if this patch were merged in soon. +1 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___

[issue14289] Prebuilt CHM file on Docs download page

2012-03-13 Thread Nam Nguyen
New submission from Nam Nguyen bits...@gmail.com: Before 2.7, one can easily find .CHM files in the Documentation download page. When 2.7 come out, the only way to get CHM files is downloading the Windows installers (EXE or MSI), installing it on Windows, and grabbing the CHM files. This is

[issue14290] Importing script as module causes ImportError with pickle.load

2012-03-13 Thread Robert
New submission from Robert bobbyr...@gmail.com: I implemented a data-structure as an object in a script, let's call it objectScript.py. I'm using this data-structure in other scripts like so: from objectScript import data-structure Populating this data-structure requires quite a bit of time,

[issue829370] math.signum(int)

2012-03-13 Thread Frank
Frank frank.breitl...@gmx.de added the comment: That's too much for too little. The math module should cover the basics. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue829370 ___

[issue829370] math.signum(int)

2012-03-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I disagree that this is useful enough to make it worth adding to the standard library. Between math.copysign and simple comparisons, I think all the common cases are well covered. And it's a simple one-line function: def signum(x):

[issue10543] Test discovery (unittest) does not work with jython

2012-03-13 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Now fixed. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10543

[issue14289] Prebuilt CHM file on Docs download page

2012-03-13 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The CHMs are already on the Python download page, along with the .msi installers. We can add a note to the docs download page that they are to be found there. -- nosy: +georg.brandl ___ Python

[issue14291] Regression in Python3 of email handling of unicode strings in headers

2012-03-13 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: In Python2, this works: from email.mime.text import MIMEText m = MIMEText('abc') str(m) 'From nobody Tue Mar 13 15:44:59 2012\nContent-Type: text/plain; charset=us-ascii\nMIME-Version: 1.0\nContent-Transfer-Encoding:

[issue829370] math.signum(int)

2012-03-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: See also the (fairly) recent python-ideas discussion starting here: http://mail.python.org/pipermail/python-ideas/2010-April/007136.html -- ___ Python tracker rep...@bugs.python.org

[issue829370] math.signum(int)

2012-03-13 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue829370 ___

[issue14062] UTF-8 Email Subject problem

2012-03-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It makes no sense that changing how Subject is generated would affect the later formatting of the mime header. There is no coupling that I'm aware of in the code. I notice that your handcrafted version uses uppercase for the charset

[issue14278] email.utils.localtime throws exception if time.daylight is False

2012-03-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks, Brian. (For the record, this is a bug in email6 code that hasn't been checked into trunk yet.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14278

[issue2843] New methods for existing Tkinter widgets

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks both of you for the patches. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2843 ___

[issue14292] OS X installer build script doesn't set $CXX, so it ends up as c++

2012-03-13 Thread Nicholas Riley
New submission from Nicholas Riley com-python-b...@sabi.net: % python build-installer.py \ --sdk-path=/Developer/SDKs/MacOSX10.6.sdk \ --universal-archs=intel \ --dep-target=10.6 Settings: * Source directory: /Users/nicholas/src/cpython * Build directory: /tmp/_py * SDK

[issue2843] New methods for existing Tkinter widgets

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 71041c0dedd5 by Martin v. Löwis in branch 'default': Issue #2843: Add new Tk API to Tkinter. http://hg.python.org/cpython/rev/71041c0dedd5 -- nosy: +python-dev ___ Python

[issue829370] math.signum(int)

2012-03-13 Thread Frank
Frank frank.breitl...@gmx.de added the comment: Mark, the convincing use-cases apear already on this page. People suggest the usage of numpy or the definition of all kinds of functions to accomplish this trivial task. But the users don't want to worry about this. They just want to use this

[issue3835] tkinter goes into an infinite loop (pydoc.gui)

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d731dcda2611 by Martin v. Löwis in branch 'default': Issue #3835: Refuse to use unthreaded Tcl in threaded Python. http://hg.python.org/cpython/rev/d731dcda2611 -- nosy: +python-dev

[issue3835] tkinter goes into an infinite loop (pydoc.gui)

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the patch! -- nosy: +loewis resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3835 ___

[issue13507] Modify OS X installer builds to package liblzma for the new lzma module

2012-03-13 Thread Nicholas Riley
Nicholas Riley com-python-b...@sabi.net added the comment: The configure problem is soluble with --disable-dependency-tracking (it was the -M* options to gcc that caused the problem); something similar is used for SQLite. The attached patch should do it... -- keywords: +patch nosy:

  1   2   >