[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:

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

2012-03-13 Thread Luke Macken
Luke Macken lmac...@redhat.com added the comment: Yep, that seems like the right solution. Thanks, Martin. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14282 ___

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

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14288] Make iterators pickleable

2012-03-13 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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

[issue4345] Implement nb_nonzero for PyTclObject

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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:

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

2012-03-13 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14200 ___ ___

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

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue8247] Can't Import Tkinter

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Closing because of lack of feedback. -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8247

[issue7719] distutils: ignore .nfsXXXX files

2012-03-13 Thread Jeff Ramnani
Jeff Ramnani j...@jefframnani.com 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

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

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

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

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

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2012-03-13 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14282 ___

[issue5302] Allow package_data specs/globs to match directories

2012-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2012-03-13 Thread Brian Jones
New submission from Brian Jones bkjo...@gmail.com: 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

[issue13703] Hash collision security issue

2012-03-13 Thread Jon Vaughan
Jon Vaughan jsvaug...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue13703

[issue13703] Hash collision security issue

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Can we close this issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13703 ___ ___

[issue13703] Hash collision security issue

2012-03-13 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org 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

[issue14288] Make iterators pickleable

2012-03-13 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com 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 rep...@bugs.python.org

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

2012-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8315 ___ ___ Python-bugs-list

[issue989712] Support using Tk without a mainloop

2012-03-13 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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

[issue14288] Make iterators pickleable

2012-03-13 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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). --

[issue829370] math.signum(int)

2012-03-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[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 arfrever@gmail.com added the comment: Maybe it's related to: https://sourceforge.net/tracker/?func=detailaid=3500861group_id=10127atid=110127 (But I think that --with-system-expat should be recommended.) -- nosy: +Arfrever

[issue9216] FIPS support for hashlib

2012-03-13 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org 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

[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 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

[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 g...@krypto.org added the comment: sweet, thanks for the reference. that really looks like the problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14234 ___

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

2012-03-13 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com 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

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

2012-03-13 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13963 ___ ___ Python-bugs-list mailing

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

2012-03-13 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com 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. --

[issue3754] cross-compilation support for python build

2012-03-13 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: Roumen, do you have a newer patch which applies to the current trunk? -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754 ___

[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 g...@krypto.org 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

[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 g...@krypto.org: -- assignee: - gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14234 ___ ___

[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 g...@krypto.org 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

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

2012-03-13 Thread Preston Holmes
New submission from Preston Holmes prestonhol...@gmail.com: 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:

[issue12365] URLopener should support context manager protocol

2012-03-13 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net 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:

[issue9079] Make gettimeofday available in time module

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com 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

[issue989712] Support using Tk without a mainloop

2012-03-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: +1. asvetlov: please commit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue989712 ___ ___

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

2012-03-13 Thread Ali Ikinci
Ali Ikinci a...@ikinci.info 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 rep...@bugs.python.org

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

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com 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

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

2012-03-13 Thread py.user
py.user port...@yandex.ru 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,

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

2012-03-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com 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:

[issue14288] Make iterators pickleable

2012-03-13 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com 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

[issue14295] PEP 417: adding mock module

2012-03-13 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: 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

[issue8739] Update to smtpd.py to RFC 5321

2012-03-13 Thread Dan Boswell
Changes by Dan Boswell fruitn...@gmail.com: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8739 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14296] Compilation error on CentOS 5.8

2012-03-13 Thread Hervé Coatanhay
New submission from Hervé Coatanhay herve.coatan...@gmail.com: 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

[issue989712] Support using Tk without a mainloop

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-13 Thread Paul McMillan
New submission from Paul McMillan p...@mcmillan.ws: 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

[issue14285] Traceback wrong on ImportError while executing a package

2012-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +brett.cannon, eric.araujo, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14285 ___

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

2012-03-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- dependencies: +add a {dist-info} category to distutils2 versions: +3rd party, Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14294

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

2012-03-13 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +eric.smith versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14297 ___

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

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-13 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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 rep...@bugs.python.org

[issue12365] URLopener should support context manager protocol

2012-03-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-13 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net 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 Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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

[issue14298] account for dict randomization in Design History FAQ

2012-03-13 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: 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

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

2012-03-13 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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! -- ___

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

2012-03-13 Thread Nicholas Riley
New submission from Nicholas Riley com-python-b...@sabi.net: 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

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

2012-03-13 Thread Nicholas Riley
Changes by Nicholas Riley com-python-b...@sabi.net: -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14299 ___ ___

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

2012-03-13 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- assignee: ronaldoussoren - ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14299 ___ ___

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

2012-03-13 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14299 ___ ___ Python-bugs-list mailing

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

2012-03-13 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net 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

<    1   2   3   >