[issue14250] for string patterns regex.flags is never equal to 0

2012-03-13 Thread Georg Brandl
Georg Brandl added the comment: There is even more wrongness here: if you give flags inline in the pattern, they also show up in .flags (since they are global, at least in the current implementation). Suggested patch attached. -- keywords: +patch nosy: +georg.brandl Added file: http:

[issue14298] account for dict randomization in Design & History FAQ

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 305cf9be1cd3 by Georg Brandl in branch 'default': Closes #14298: update section about dict implementation. http://hg.python.org/cpython/rev/305cf9be1cd3 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -

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

2012-03-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is patch which adds DeprecationWarning to URLOpener and (it's subclasses FancyURLopener) as well as some other Request methods. The idea would be, in the next release we remove this old URLOpener and it's subclasses and remove (or make _private) the Requ

[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 added the comment: Guido suggested I break the work up into small patches. So here's the first patch: adds st_?time_ns fields to os.stat() result. Includes doc changes and a reasonable smoke-test in the regrtest suite; suite passes all expected tests. FYI I wasn't sure what

[issue4199] add shorthand global and nonlocal statements

2012-03-13 Thread R. David Murray
R. David Murray added the comment: We could also just decide we don't need it :) If we do (I haven't read the PEP) does a statement with an assignment make the variable global in that scope, or does it only affect the global variable for the duration of the assignment, and otherwise the varia

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: and given that you cannot expose if this is enabled or not by the order in which things come out of the library... no need to make this change its behavior based on the overall python hash randomization setting. nobody's tests will break. there is no way t

[issue4080] unittest: display time used by each test case

2012-03-13 Thread Michael Foord
Michael Foord added the comment: I'm working on a modified version of the patch that is switched on with a command line option --timer=0.1 (or similar). Only tests that take longer than the threshold have the time printed. --timer=0 is valid, but it still only works when unittest is running

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: The existing pyexpat API doesn't give me a way to test if hash randomization is actually working so I'm going ahead without a specific test case for this. Attributes are either reported to xmlparser.SameElementHandler in a dictionary (unordered) or are repo

[issue989712] Support using Tk without a mainloop

2012-03-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: The issue is fixed. Thanks to Guilherme Polo. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue12014] str.format parses replacement field incorrectly

2012-03-13 Thread Ben Wolfson
Ben Wolfson added the comment: just curious if there are any developments here since the first 3.3 alpha has been released. -- ___ Python tracker ___ __

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2012-03-13 Thread Jeff McNeil
Jeff McNeil added the comment: The actual implementation calls os.path.normcase from tempfile._get_default_tempdir. In this scenario here, that resolves to the ntpath module & triggers a lowercase conversion. On the other hand, the posixpath module is simply an identity function. Now, it *is

[issue14299] OS X installer build script: permissions not ensured

2012-03-13 Thread Ned Deily
Changes by Ned Deily : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue14299] OS X installer build script: permissions not ensured

2012-03-13 Thread Ned Deily
Changes by Ned Deily : -- assignee: ronaldoussoren -> ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14299] OS X installer build script: permissions not ensured

2012-03-13 Thread Nicholas Riley
Changes by Nicholas Riley : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14299] OS X installer build script: permissions not ensured

2012-03-13 Thread Nicholas Riley
New submission from Nicholas Riley : The OS X installer build script does not ensure that files had the correct permissions when being packaged; some files' permissions were affected by your umask when running the build script, and others by the permissions of the source tree. This patch sets

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

2012-03-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, it is simply a matter of adding warnings.warn in proper classes and methods. I have started on that, Jeff. No problem. I just wanted the changes to be two separate commits. Thanks! -- ___ Python tracker

[issue14298] account for dict randomization in Design & History FAQ

2012-03-13 Thread Chris Rebert
New submission from Chris Rebert : The randomization introduced by the fix for issue 13703 means that the example string hash values given in http://docs.python.org/dev/faq/design.html#how-are-dictionaries-implemented are liable to become more difficult to reproduce (in fact, the example alrea

[issue12365] URLopener should support context manager protocol

2012-03-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patch, Jeff McNeil. I pushed the patches to 3.2 and 3.3 docs. Since it is a documentation change (an explaination rather), I did not update the NEWS. Thanks again! -- ___ Python tracker

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

2012-03-13 Thread Jeff McNeil
Jeff McNeil added the comment: I'd be happy to do that (URLopener, to begin with), though I'm not familiar with the usual approach. Is it simply a matter of warning in __init__? -- nosy: +mcjeff ___ Python tracker

[issue12365] URLopener should support context manager protocol

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8625627969aa by Senthil Kumaran in branch '3.2': closes Issue12365 - Add an example explaining the context manager use case of urllib.urlopen http://hg.python.org/cpython/rev/8625627969aa New changeset 074e12441ed6 by Senthil Kumaran in branch 'de

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

2012-03-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: One at the time - urlretrieve is re-written. Now should add deprecation warnings to things methods to be deprecated / removed. -- ___ Python tracker

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

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 53715804dc71 by Senthil Kumaran in branch 'default': Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve takes, block number, block read size, file_size http://hg.python.org/cpython/rev/53715804dc71 -- nosy: +python-dev

[issue14297] Custom string formatter doesn't work like builtin str.format

2012-03-13 Thread R. David Murray
Changes by R. David Murray : -- nosy: +eric.smith versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14294] Requirements are not properly copied into metatdata of dist-info

2012-03-13 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: +add a {dist-info} category to distutils2 versions: +3rd party, Python 3.3 -Python 2.7 ___ Python tracker ___ __

[issue14285] Traceback wrong on ImportError while executing a package

2012-03-13 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +brett.cannon, eric.araujo, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue14297] Custom string formatter doesn't work like builtin str.format

2012-03-13 Thread Paul McMillan
New submission from Paul McMillan : In Python 2.7, I can use an empty format string to indicate automatically numbered positional arguments when formatting the builtin string object. http://docs.python.org/release/2.7/library/string.html#format-string-syntax If I subclass string.Formatter, thi

[issue989712] Support using Tk without a mainloop

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 535bb0bf1f49 by Andrew Svetlov in branch 'default': Issue #989712: Support using Tk without a mainloop. http://hg.python.org/cpython/rev/535bb0bf1f49 -- nosy: +python-dev ___ Python tracker

[issue14296] Compilation error on CentOS 5.8

2012-03-13 Thread Hervé Coatanhay
New submission from Hervé Coatanhay : Linux Version: 2.6.18-238.19.1.el5 / CentOS release 5.8 (Final) Since changeset 71704:89e92e684b37 , I have the following compilation error: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes-I. -I./Include-DPy_BUI

[issue8739] Update to smtpd.py to RFC 5321

2012-03-13 Thread Dan Boswell
Changes by Dan Boswell : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bu

[issue14295] PEP 417: adding mock module

2012-03-13 Thread Michael Foord
New submission from Michael Foord : PEP 417: Including mock in the Standard Library http://www.python.org/dev/peps/pep-0417/ Tasks: * Add mock with tests * Cleanup mock code to remove Python 2 compatibility * Add documentation I'll close this issue when all the tasks are complete. --

[issue14288] Make iterators pickleable

2012-03-13 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Btw, is there some way I can make this patch easier to review? I haven't contributed much since the Hg switchover, can I make it so that people can do visual diff? -- ___ Python tracker

[issue14222] Using time.time() in Queue.get breaks when system time is changed

2012-03-13 Thread STINNER Victor
STINNER Victor added the comment: threading_monotonic.patch: similar patch for the threading module. Drawback of these patchs: they now call time.monotonic() when the module is loaded (another useless syscall?). -- Added file: http://bugs.python.org/file24835/threading_monotonic.patch

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

2012-03-13 Thread py.user
py.user added the comment: I take someone's code make tests for its behavior all tests say "the code is working" I continue to write the code make tests for its behavior all tests say "the code is working" I install it somewhere and it crashes now it is depending on the cache, when this excepti

[issue14222] Using time.time() in Queue.get breaks when system time is changed

2012-03-13 Thread STINNER Victor
STINNER Victor added the comment: queue_monotonic.patch: simple patch using time.monotonic(), with a fallback to time.time() if monotonic failed or is not available. -- keywords: +patch Added file: http://bugs.python.org/file24834/queue_monotonic.patch

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

2012-03-13 Thread Ali Ikinci
Ali Ikinci added the comment: Together with David we have worked on a fix and test for this. Thanks David. -- keywords: +patch Added file: http://bugs.python.org/file24833/Issue14291.patch ___ Python tracker _

[issue989712] Support using Tk without a mainloop

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: +1. asvetlov: please commit. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue9079] Make gettimeofday available in time module

2012-03-13 Thread STINNER Victor
STINNER Victor added the comment: > The new patch, issue9079.diff exposes gettimeofday > as time.gettimeofday() returning (sec, usec) pair. A tuple is not the preferred type for a timestamp: Python uses float and is not going to use something different (the PEP 410 was just rejected). I don't

[issue12365] URLopener should support context manager protocol

2012-03-13 Thread Jeff McNeil
Jeff McNeil added the comment: Yeah, updated with different wording and proper caps. I left the piece in regarding the use without the context manager as I think that's probably the more common use case still. -- Added file: http://bugs.python.org/file24832/urllib_request_doc.patch

[issue14294] Requirements are not properly copied into metatdata of dist-info

2012-03-13 Thread Preston Holmes
New submission from Preston Holmes : the egginfo_to_distinfo util method is not converting requirements properly from a requirements.txt file into the metadata file of the dist-info dir -- assignee: eric.araujo components: Distutils2 messages: 155696 nosy: Preston.Holmes, alexis, eric.a

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: A test case for this is also needed. one that sets the hash seed via the environment variable to a different value for two subprocesses that parse and re-emit an xml document to confirm that all of the xml attributes are present but emitted in a different o

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-13 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: uploaded an updated patch (against 3.1) with the changes from r1.168 to r1.170 xmlparse.c from the expat project. it fixes the test_sax issue. there is one other thing that needs fixing (next patch update). The test for the hash seed being == 0 that falls

[issue3754] cross-compilation support for python build

2012-03-13 Thread Matthias Klose
Matthias Klose added the comment: Roumen, do you have a newer patch which applies to the current trunk? -- nosy: +doko ___ Python tracker ___

[issue13963] dev guide has no mention of mechanics of patch review

2012-03-13 Thread Dave Malcolm
Dave Malcolm added the comment: It would appear that having: [diff] git = on in ~/.hgrc breaks the rietveld integration, since "hg diff" then emits a diff that doesn't identify the hg revision number, and hence the importer can't determine the baseline. -- ___

[issue13963] dev guide has no mention of mechanics of patch review

2012-03-13 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13963] dev guide has no mention of mechanics of patch review

2012-03-13 Thread Dave Malcolm
Dave Malcolm added the comment: Some notes from discussion with MvL at PyCon sprint: The ideal is that: - for any patch attached to an issue: the patch is uploaded to a Rietveld instance colocated in the same db as Roundup (bugs.python.org) - if it works, than a "review" link is visible

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: sweet, thanks for the reference. that really looks like the problem. -- ___ Python tracker ___ _

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

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d6a5c5a4ebe by Victor Stinner in branch 'default': Issue #14180: datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() http://hg.python.org/cpython/rev/5d6a5c5a4ebe New changeset 706689b2d678 by Victor Stinner in branch 'default': Issue

[issue9216] FIPS support for hashlib

2012-03-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: quick summary of comments from pycon sprints discussion: this looks pretty good. i like the 0001 refactoring cleanup. a couple things to fix in error handling (better messages and some bogus handling in the test). dmalcolm has the notes on what to do. do

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-13 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Maybe it's related to: https://sourceforge.net/tracker/?func=detail&aid=3500861&group_id=10127&atid=110127 (But I think that --with-system-expat should be recommended.) -- nosy: +Arfrever ___ P

[issue829370] math.signum(int)

2012-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: > Mark, the convincing use-cases apear already on this page. I meant that I'd be interested to see examples of real code (e.g., specific numeric algorithms, etc.) where signum would be useful, and where existing functionality doesn't really do the job neatly.

[issue14288] Make iterators pickleable

2012-03-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: The patch looks fine. If python-dev thinks that making-iterators-picklable is worth doing, I would support this going into Python 3.3 (no extra benefit will come from waiting). -- ___ Python tracker

[issue989712] Support using Tk without a mainloop

2012-03-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: I've uploaded gpolo's patch converted to python 3.3 Works good on Linux -- nosy: +asvetlov, loewis versions: +Python 3.3 -Python 3.2 Added file: http://bugs.python.org/file24830/issue989712.diff ___ Python tracker

[issue8315] ./python -m unittest test.test_importlib doesn't work

2012-03-13 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue14288] Make iterators pickleable

2012-03-13 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Sure, I'll start a discussion there, but at least I've gotten the patch in. The patch is smaller than it looks, most of it is tests. -- ___ Python tracker __

[issue13703] Hash collision security issue

2012-03-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: I believe so. This is in all of the release candidates. The expat/xmlparse.c hash collision DoS issue is being handled on its own via http://bugs.python.org/issue14234. -- resolution: -> fixed status: open -> closed __

[issue13703] Hash collision security issue

2012-03-13 Thread STINNER Victor
STINNER Victor added the comment: Can we close this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13703] Hash collision security issue

2012-03-13 Thread Jon Vaughan
Jon Vaughan added the comment: Victor - yes that was it; a mixture of a 2.7.2 virtual env and 2.7.3. Apologies for any nuisance caused. -- ___ Python tracker ___ _

[issue14293] Message methods delegated via __getattr__ inaccessible using super().

2012-03-13 Thread Brian Jones
New submission from Brian Jones : In email6, the message.Message class tries to delegate calls to methods not defined in Message to message._HeaderList. However, delegating in this way makes the methods inaccessible when accessing them through a call to super(). This comes into play in the htt

[issue5302] Allow package_data specs/globs to match directories

2012-03-13 Thread Éric Araujo
Éric Araujo added the comment: Or on the contrary, we could remove the special, not-supported-by-other-parts-of-the-stdlib ** syntax and just expand somedir to match all files in subdir and descendents, in package_data and resources. I’ll make a patch for this idea to see how it looks.

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

2012-03-13 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> works for me status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue8315] ./python -m unittest test.test_importlib doesn't work

2012-03-13 Thread R. David Murray
R. David Murray added the comment: I fixed this for test_email by adding automatic unit test discovery to test_email.__init__. I believe it should be possible for a similar thing to do be done for test_importlib. -- nosy: +r.david.murray ___ Pytho

[issue8315] ./python -m unittest test.test_importlib doesn't work

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 217fdeeaf6e0 by R David Murray in branch 'default': #8315: add automatic unittest test discovery in test.test_email http://hg.python.org/cpython/rev/217fdeeaf6e0 -- nosy: +python-dev ___ Python tracker

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

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the patch and the review. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker ___ _

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

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset af1f8adc913b by Martin v. Löwis in branch '2.7': Issue #5219: Prevent event handler cascade in IDLE. http://hg.python.org/cpython/rev/af1f8adc913b -- ___ Python tracker

[issue7719] distutils: ignore .nfsXXXX files

2012-03-13 Thread Jeff Ramnani
Jeff Ramnani added the comment: I've updated SilentGhost's patch to include a test and documentation. -- nosy: +jramnani Added file: http://bugs.python.org/file24828/issue7719-nfs_silly_rename.patch ___ Python tracker

[issue8247] Can't Import Tkinter

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: Closing because of lack of feedback. -- resolution: -> works for me status: open -> closed ___ Python tracker ___

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

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7e79dbceb039 by Martin v. Löwis in branch '3.2': Issue #5219: Prevent event handler cascade in IDLE. http://hg.python.org/cpython/rev/7e79dbceb039 -- ___ Python tracker

[issue14200] Idle shell crash on printing non-BMP unicode character

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

[issue4345] Implement nb_nonzero for PyTclObject

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm closing the issue. People who want to check for an empty string representation can just convert the tcl objects to strings themselves. I agree with Mark that implementing nonzero is too ambiguous. -- nosy: +loewis resolution: -> rejected status:

[issue14288] Make iterators pickleable

2012-03-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: ISTM that a discussion on python-dev would be of value here. Iterators are a protocol, not a class; hence, the effort to make them all picklable is potentially endless. The effort would also always be incomplete because some iterators are difficult or in

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

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 505c3b7dc539 by Martin v. Löwis in branch 'default': Issue #5219: Prevent event handler cascade in IDLE. http://hg.python.org/cpython/rev/505c3b7dc539 -- nosy: +python-dev ___ Python tracker

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

2012-03-13 Thread Luke Macken
Luke Macken added the comment: Yep, that seems like the right solution. Thanks, Martin. -- ___ Python tracker ___ ___ Python-bugs-lis

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

2012-03-13 Thread Nicholas Riley
Nicholas Riley 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: +nriley Added file: http:/

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

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the patch! -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker ___

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

2012-03-13 Thread Roundup Robot
Roundup Robot 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 ___ Python tracker <

[issue829370] math.signum(int)

2012-03-13 Thread Frank
Frank 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 function and not lose tim

[issue2843] New methods for existing Tkinter widgets

2012-03-13 Thread Roundup Robot
Roundup Robot 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 tracker

[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 : % 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 location: /Developer/SDKs/M

[issue2843] New methods for existing Tkinter widgets

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks both of you for the patches. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

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

2012-03-13 Thread R. David Murray
R. David Murray 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 ___ ___

[issue14062] UTF-8 Email Subject problem

2012-03-13 Thread R. David Murray
R. David Murray 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 and CTE code. Can you

[issue829370] math.signum(int)

2012-03-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker ___ ___ Pyth

[issue829370] math.signum(int)

2012-03-13 Thread Mark Dickinson
Mark Dickinson 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 __

[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 : 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: 7bit\n\nab

[issue14289] Prebuilt CHM file on Docs download page

2012-03-13 Thread Georg Brandl
Georg Brandl 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 tracker

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

2012-03-13 Thread Michael Foord
Michael Foord added the comment: Now fixed. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue829370] math.signum(int)

2012-03-13 Thread Mark Dickinson
Mark Dickinson 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): return (x > 0) - (x <

[issue829370] math.signum(int)

2012-03-13 Thread Frank
Frank added the comment: That's too much for too little. The math module should cover the basics. -- ___ Python tracker ___ ___ Pyt

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

2012-03-13 Thread Robert
New submission from Robert : 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, so when I'm done wi

[issue14289] Prebuilt CHM file on Docs download page

2012-03-13 Thread Nam Nguyen
New submission from Nam Nguyen : 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 unwieldy. I am on

[issue7652] Merge C version of decimal into py3k.

2012-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: > FWIW, I think we would be better off if this patch were merged in soon. +1 -- ___ Python tracker ___

[issue829370] math.signum(int)

2012-03-13 Thread Merlijn van Deen
Merlijn van Deen added the comment: numpy.sign does this: http://docs.scipy.org/doc/numpy/reference/generated/numpy.sign.html -- nosy: +valhallasw ___ Python tracker ___ _

[issue829370] math.signum(int)

2012-03-13 Thread Frank
Frank 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 _

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

2012-03-13 Thread Mark Dickinson
Mark Dickinson 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. -- __

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

2012-03-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: I confirm: patch5219.diff solves the problem in linux box. -- nosy: +asvetlov ___ Python tracker ___ ___

[issue7652] Merge C version of decimal into py3k.

2012-03-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Stefan, please feel free to commit the latest patch. -- ___ Python tracker ___ ___ Python-bugs-li

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

2012-03-13 Thread Jason Killen
Jason Killen 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 file: http://bugs.pyt

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

2012-03-13 Thread Ned Deily
Ned Deily 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 tracker

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

2012-03-13 Thread Roundup Robot
Roundup Robot 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 'default': Issue #14184: merge http://

  1   2   >