[issue16136] Removal of VMS support

2012-10-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: If they ported Python 2 on VMS, even though Python 2 is already supposed to work on Python 2, it means our compatibility code is broken. -- nosy: +pitrou ___ Python tracker __

[issue16136] Removal of VMS support

2012-10-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: (correction: Python 2 is already supposed to work on VMS) -- ___ Python tracker ___ ___ Python-bugs-

[issue16147] Rewrite PyUnicode_FromFormatV() to use the _PyUnicodeWriter API

2012-10-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14667] No IDLE

2012-10-06 Thread James Lu
Changes by James Lu : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14667] No IDLE

2012-10-06 Thread James Lu
Changes by James Lu : -- resolution: -> works for me ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue15111] Wrong ImportError message with importlib

2012-10-06 Thread Yury Selivanov
Yury Selivanov added the comment: Brett, can we patch 3.3 too? (in 3.3.1 version?) -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue16152] Trailing whitespace makes tokenize.generate_tokens pathological

2012-10-06 Thread Ned Batchelder
New submission from Ned Batchelder: When tokenizing with tokenize.generate_tokens, if the code ends with whitespace (no newline), the tokenizer produces an ERRORTOKEN for each space. Additionally, the regex that fails to find tokens in those spaces is linear in the number of spaces, so the ov

[issue16152] Trailing whitespace makes tokenize.generate_tokens pathological

2012-10-06 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Submit patch which store own state into module state. Still not finished yet: need to add checks for "ready state" in every access to fields of module state structure. -- assignee: -> asvetlov Added file: http://bugs.python.org/file27458/_tkinter_pep31

[issue16152] Trailing whitespace makes tokenize.generate_tokens pathological

2012-10-06 Thread Ned Batchelder
Ned Batchelder added the comment: Here's a patch for 3.3. I would like to also fix 2.7... -- keywords: +patch Added file: http://bugs.python.org/file27459/bug16152.patch ___ Python tracker

[issue16147] Rewrite PyUnicode_FromFormatV() to use the _PyUnicodeWriter API

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset b4bee17625e1 by Victor Stinner in branch 'default': Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API http://hg.python.org/cpython/rev/b4bee17625e1 New changeset d1369daeb9ec by Victor Stinner in branch 'default': Issue #1614

[issue16147] Rewrite PyUnicode_FromFormatV() to use the _PyUnicodeWriter API

2012-10-06 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Update patch to support TKINTER_PROTECT_LOADTK option. -- Added file: http://bugs.python.org/file27460/_tkinter_pep3121-384_v3.patch ___ Python tracker

[issue16135] Removal of OS/2 support

2012-10-06 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: distutils is not an external project. -- nosy: +Arfrever resolution: fixed -> stage: committed/rejected -> status: closed -> open ___ Python tracker

[issue16153] PyUnicode_FromFormatV() must fail if the format string is invalid

2012-10-06 Thread STINNER Victor
New submission from STINNER Victor: If the format string is invalid, PyUnicode_FromFormatV() formats the valid arguments and then copies the raw format string. Errors are silently ignored. I propose to raise a ValueError if the format string is invalid. This change may "break" existing applica

[issue16153] PyUnicode_FromFormatV() must fail if the format string is invalid

2012-10-06 Thread STINNER Victor
STINNER Victor added the comment: The full test suite pass with the patch, so hopefully, CPython doesn't rely on this bug :-) -- ___ Python tracker ___ _

[issue16147] Rewrite PyUnicode_FromFormatV() to use the _PyUnicodeWriter API

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset e16ec3b468d1 by Victor Stinner in branch 'default': Issue #16147: PyUnicode_FromFormatV() doesn't need anymore to allocate a buffer http://hg.python.org/cpython/rev/e16ec3b468d1 -- ___ Python tracker

[issue16154] Some minor doc fixes in Doc/library

2012-10-06 Thread Ravi Sinha
New submission from Ravi Sinha: - Doc/library/math.rst - fsum will pass if 'from math import fsum' is done before it, but I've left such issues for now since there seems to be a debate about how to go about that - some seem unfixable too - e.g. Doc/library/filecmp.rst - 'dir1' and 'dir

[issue16155] Some minor doc fixes in Doc/faq

2012-10-06 Thread Ravi Sinha
New submission from Ravi Sinha: - help(fn) which in the REPL leads to a new pager/ display - seems to be difficult to test with doctest - it does not seem to pick the whitespace in the docs and does not match - Doc/faq/general.rst - os.path.isdir returns True or False, not 0 or 1 as in

[issue9957] SpooledTemporayFile.truncate should take size parameter

2012-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 63c3a3f28b42 by R David Murray in branch '2.7': #9957: document that SpooledTemporaryFile.truncate does not take size arg http://hg.python.org/cpython/rev/63c3a3f28b42 New changeset 145480af0d78 by R David Murray in branch '3.2': #9957: document tha

[issue9957] SpooledTemporayFile.truncate should take size parameter

2012-10-06 Thread R. David Murray
R. David Murray added the comment: I have made the doc changes. -- nosy: +r.david.murray resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Upload version which check if _tkinter module was destroyed (for example, if it was call from daemon thread runing Tk app when main thread is exiting with interpreter finalization). -- Added file: http://bugs.python.org/file27464/_tkinter_pep3121-384_v

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2012-10-06 Thread STINNER Victor
STINNER Victor added the comment: I rewrote PyUnicode_FromFormatV() to use a single step instead of four: see issue #16147. So it's now simpler to fix this issue. Here is a new patch to implement width and precision modifiers for %s, %A, %R, %S and %U formats. -- Added file: http://bug

[issue12986] Using getrandbits() in uuid.uuid4() is faster and more readable

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: If somebody is going to implement uuid based on the random module that somebody must take care of fork. Currently the PRGN in random isn't reseeded during fork(). This would lead to 100% collisions. The tempfile module contains a workaround for the issue. I

[issue12986] Using getrandbits() in uuid.uuid4() is faster and more readable

2012-10-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, let's reject the issue then. -- resolution: -> rejected stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue16153] PyUnicode_FromFormatV() must fail if the format string is invalid

2012-10-06 Thread STINNER Victor
STINNER Victor added the comment: Hum, my patch is incomplete: "%.s" is not seen as an invalid format. -- ___ Python tracker ___ ___ P

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2012-10-06 Thread STINNER Victor
STINNER Victor added the comment: I read again this old issue. I still think that it would be better to truncate to a number of *bytes* for "%s" format (and %V format when the first argument is NULL) to mimic printf(). The "replace" error handler of the UTF-8 decoder handles truncated string c

[issue16063] HMAC trans_5C is a string, causing a TypeError

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: That's to be expected. HMAC and all cryptographic hashing algorithms work with bytes only. Text (unicode) is neither specified by the standards nor supported. You have to convert your text to bytes with some encoding (e.g. ASCII or UTF-8). -- compone

[issue14955] hmac.secure_compare() is not time-independent for unicode strings

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: Python 3.3 contains a secure and working implementation for bytes. unicode isn't supported unless both sides contains ASCII text only. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed _

[issue8998] add crypto routines to stdlib

2012-10-06 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list

[issue14322] More test coverage for hmac

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: IIRC we also need a signed contributor agreement in order to commit your patch. -- nosy: +christian.heimes versions: +Python 3.4 ___ Python tracker __

[issue8489] Support UTF8SMTP as part of RFC 5336

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: I've changed the topic and set the version to 3.4. -- components: +Library (Lib) keywords: +easy nosy: +christian.heimes, ezio.melotti title: smtplib.SMTP.login() breaks with unicode input -> Support UTF8SMTP as part of RFC 5336 type: crash -> enhance

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

2012-10-06 Thread Christian Heimes
Changes by Christian Heimes : -- components: +Extension Modules nosy: +christian.heimes stage: -> patch review type: -> performance versions: +Python 3.4 ___ Python tracker ___

[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2012-10-06 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue8489] Support UTF8SMTP as part of RFC 5336

2012-10-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue9216] FIPS support for hashlib

2012-10-06 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16059] Serialize MD5 computation-state and resume later

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: I don't think it's possible to serialize an crypto hash object like MD5. The internal states of those objects are opaque data structures. There is no way official way to access the data structures in a platform independent way. It *might* be possible to hack

[issue16156] Crash every time I copy or paste any code in IDLE

2012-10-06 Thread Raymond Costantini
New submission from Raymond Costantini: Process: Python [20738] Path:/Applications/Python 3.2/IDLE.app/Contents/MacOS/Python Identifier: org.python.IDLE Version: 3.2.3 (3.2.3) Code Type: X86-64 (Native) Parent Process: launchd [239] User ID: 501 Da

[issue16156] Crash every time I copy or paste any code in IDLE

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: There are known issues with TCL on Mac. Does http://www.python.org/download/mac/tcltk/ help with your issue? -- nosy: +christian.heimes versions: +Python 3.2 -Python 3.5 ___ Python tracker

[issue16156] Crash every time I copy or paste any code in IDLE

2012-10-06 Thread Raymond Costantini
Raymond Costantini added the comment: Downloaded and installed this twice, with no help on the issue. Still crashes every time. On Oct 6, 2012, at 5:04 PM, Christian Heimes wrote: > > Christian Heimes added the comment: > > There are known issues with TCL on Mac. Does > http://www.python.o

[issue16156] Crash every time I copy or paste any code in IDLE

2012-10-06 Thread Raymond Costantini
Raymond Costantini added the comment: Also crashes every time I try and access preferences in IDLE as well. Begin forwarded message: > From: "Costantini, MD, MBA Raymond" > Subject: Re: [issue16156] Crash every time I copy or paste any code in IDLE > Date: October 6, 2012 5:05:55 PM PDT > To:

[issue16156] Crash every time I copy or paste any code in IDLE

2012-10-06 Thread Roger Serwy
Roger Serwy added the comment: > Also crashes every time I try and access preferences in IDLE as well. See issue15853. -- nosy: +ned.deily, serwy ___ Python tracker ___ ___

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: Ned, do you have any new information on this crasher? More people are having issues with TCL on Mac, e.g. #16156. -- nosy: +christian.heimes ___ Python tracker _

[issue16156] Crash every time I copy or paste any code in IDLE

2012-10-06 Thread Christian Heimes
Christian Heimes added the comment: Raymond, I'm closing this bug as duplicate of #15853. Please follow the other ticket to get new information. -- resolution: -> duplicate ___ Python tracker

[issue16156] Crash every time I copy or paste any code in IDLE

2012-10-06 Thread Christian Heimes
Changes by Christian Heimes : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue16152] Trailing whitespace makes tokenize.generate_tokens pathological

2012-10-06 Thread Ned Batchelder
Changes by Ned Batchelder : Removed file: http://bugs.python.org/file27459/bug16152.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16152] Trailing whitespace makes tokenize.generate_tokens pathological

2012-10-06 Thread Ned Batchelder
Changes by Ned Batchelder : Added file: http://bugs.python.org/file27466/bug16152_v33.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue16152] Trailing whitespace makes tokenize.generate_tokens pathological

2012-10-06 Thread Ned Batchelder
Changes by Ned Batchelder : Added file: http://bugs.python.org/file27467/bug16152_v27.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue16152] Trailing whitespace makes tokenize.generate_tokens pathological

2012-10-06 Thread Ned Batchelder
Ned Batchelder added the comment: Updated with new (better) patch, for v2.7 and v3.3. They are the same except for the test. -- ___ Python tracker ___ _

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-06 Thread Ned Deily
Ned Deily added the comment: While there isn't a fix available for Tk yet, there is now a viable workaround. It turns out that ActiveState does make the last couple of their Community Edition ActiveTcl releases available if you know where to look for them. So I've updated the information on

[issue8489] Support UTF8SMTP as part of RFC 5336

2012-10-06 Thread R. David Murray
Changes by R. David Murray : -- components: +email stage: -> needs patch status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue8489] Support UTF8SMTP as part of RFC 5336 in smtlib

2012-10-06 Thread R. David Murray
R. David Murray added the comment: Woops, did not mean to close the issue. -- status: closed -> open title: Support UTF8SMTP as part of RFC 5336 -> Support UTF8SMTP as part of RFC 5336 in smtlib ___ Python tracker

[issue16059] Serialize MD5 computation-state and resume later

2012-10-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: Unless someone supplies a patch that works inter-operably across all platforms using public APIs in openssl and with the internals of all of python's builtin non-openssl hash functions including unitests for all of the above... This isn't going to be impleme

[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-06 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

<    1   2