[issue13734] Add a generic directory walker method to avoid symlink attacks

2012-02-01 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I think the O(depth) version is fine. The O(1) version is quite more complicated, difficult to follow, and it seems less robust (it doesn't use try/finally and therefore might leak fds if the generator isn't exhausted before being

[issue13734] Add a generic directory walker method to avoid symlink attacks

2012-02-01 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I'm also a fan of using the simpler approach unless/until we have solid evidence that the file descriptor limit could be a problem in practice. A comment in the code mentioning the concern, along with the fact that there's an alternate

[issue13719] bdist_msi upload fails

2012-02-01 Thread Ralf Schmitt
Ralf Schmitt python-b...@systemexit.de added the comment: It's a bug in bdist_msi not in the upload command. You can check that distribution.dist_files point to valid files after running the command. -- ___ Python tracker rep...@bugs.python.org

[issue13917] Python 2.7.2 and 3.2.2 execl crash

2012-02-01 Thread Carlo Di Dato
New submission from Carlo Di Dato shin...@autistici.org: These lines make Python 2.7.2 and 3.2.2 crash import os os.execl(cmd.exe, ) Regards -- components: Windows messages: 152428 nosy: shinnai priority: normal severity: normal status: open title: Python 2.7.2 and 3.2.2 execl crash

[issue13917] Python 2.7.2 and 3.2.2 execl crash

2012-02-01 Thread Carlo Di Dato
Changes by Carlo Di Dato shin...@autistici.org: -- versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13917 ___ ___

[issue13917] Python 2.7.2 and 3.2.2 execl crash

2012-02-01 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: This is a duplicate of http://bugs.python.org/issue8036 (which I still haven't got around to applying...) -- nosy: +tim.golden ___ Python tracker rep...@bugs.python.org

[issue13917] Python 2.7.2 and 3.2.2 execl crash

2012-02-01 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - duplicate status: open - closed superseder: - Interpreter crashes on invalid arg to spawnl on Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13917

[issue7856] cannot decode from or encode to big5 \xf9\xd8

2012-02-01 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7856 ___

[issue13918] locale.atof documentation is missing func argument

2012-02-01 Thread Cédric Krier
New submission from Cédric Krier cedric.kr...@b2ck.com: atof has a func argument used to instantiate the result but it is missing in the documentation. -- assignee: docs@python components: Documentation messages: 152430 nosy: ced, docs@python priority: normal severity: normal status:

[issue13868] Add hyphen doc fix

2012-02-01 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: Seriously, how old are you two clowns? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13868 ___

[issue13868] Add hyphen doc fix

2012-02-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Wed, Feb 1, 2012 at 15:42, Boštjan Mejak rep...@bugs.python.org wrote: Seriously, how old are you two clowns? I think it's enough: FTR I'm +1 on removing Retro tracker account, effective immediately (if any admin is around). --

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2012-02-01 Thread sbt
sbt shibt...@gmail.com added the comment: I have done an updated patch. (It does *not* switch to using bytes oriented pipes as I suggested in the previous message.) The patch also adds a wait() function with signature wait(object_list, timeout=None) for polling multiple objects at once.

[issue13868] Add hyphen doc fix

2012-02-01 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: Kiss my ball sac! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13868 ___ ___

[issue13919] kiss my ball sac

2012-02-01 Thread Boštjan Mejak
Changes by Boštjan Mejak bostjan.me...@gmail.com: -- assignee: docs@python components: Documentation nosy: Retro, docs@python priority: normal severity: normal status: open title: kiss my ball sac type: enhancement versions: Python 2.7 ___ Python

[issue13919] kiss my ball sac

2012-02-01 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- resolution: - invalid stage: - committed/rejected status: open - closed type: enhancement - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13919

[issue13920] intern() doc wrong spelling

2012-02-01 Thread Boštjan Mejak
Changes by Boštjan Mejak bostjan.me...@gmail.com: -- hgrepos: -110 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13920 ___ ___ Python-bugs-list

[issue13920] intern() doc wrong spelling

2012-02-01 Thread Boštjan Mejak
New submission from Boštjan Mejak bostjan.me...@gmail.com: http://docs.python.org/library/functions.html#intern Visit the upper link andewsqEz80olp -- assignee: docs@python components: Documentation hgrepos: 110 messages: 152435 nosy: Retro, docs@python priority: normal severity:

[issue13920] intern() doc wrong spelling

2012-02-01 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: http://docs.python.org/library/functions.html#intern Visit the upper link and fix 2 words that say compare to comparison. Hint: blah blah blah pointer compare ... string compare ... -- ___

[issue13920] intern() doc wrong spelling

2012-02-01 Thread Boštjan Mejak
Changes by Boštjan Mejak bostjan.me...@gmail.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13920 ___ ___

[issue13868] Add hyphen doc fix

2012-02-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Retro, your contributions are not welcome anymore. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13868 ___

[issue13920] intern() doc wrong spelling

2012-02-01 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: This is fine as is. -- nosy: +brian.curtin resolution: - wont fix stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13920

[issue13920] intern() doc wrong spelling

2012-02-01 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13920 ___ ___ Python-bugs-list

[issue13908] PyType_FromSpec() lacks PyType_Ready() call

2012-02-01 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/issue13908 ___ ___ Python-bugs-list mailing list

[issue13868] Add hyphen doc fix

2012-02-01 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13868 ___

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

2012-02-01 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/issue13885 ___ ___ Python-bugs-list mailing list

[issue13872] socket.detach doesn't mark socket._closed

2012-02-01 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/issue13872 ___ ___ Python-bugs-list mailing list

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

2012-02-01 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- assignee: mark.dickinson - nosy: +jcea type: behavior - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13889 ___

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

2012-02-01 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Should this bug be marked as closed+committed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13889 ___

[issue13676] sqlite3: Zero byte truncates string contents

2012-02-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2e13011b3719 by Petri Lehtinen in branch '3.2': sqlite3: Handle strings with embedded zeros correctly http://hg.python.org/cpython/rev/2e13011b3719 New changeset 93ac4b12a750 by Petri Lehtinen in branch '2.7':

[issue13921] sqlite3: OptimizedUnicode doesn't work in Py3k

2012-02-01 Thread Petri Lehtinen
New submission from Petri Lehtinen pe...@digip.org: Connection.text_factory can be used to control what objects are returned for the TEXT data type. An excerpt from the docs: For efficiency reasons, there’s also a way to return str objects only for non-ASCII data, and bytes otherwise.

[issue13921] sqlite3: OptimizedUnicode doesn't work in Py3k

2012-02-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: +1 for removing, it makes no sense under Python 3. -- nosy: +ghaering ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13921 ___

[issue13922] argparse handling multiple -- in args improperly

2012-02-01 Thread Warren Turkal
New submission from Warren Turkal w...@penguintechs.org: I have a program that runs something like the following: $ hack run -- :target --arg1 --arg2 arg3 arg4 This basically runs a program identified by :target with the args. However, I cannot pass -- to the program. For example, if I type: $

[issue13923] new formatter for argparse

2012-02-01 Thread Warren Turkal
New submission from Warren Turkal w...@penguintechs.org: It would be really nice to have a formatter for argparse that would respect explicit new lines while still wrapping lines otherwise. This would allow the description and epilog to have be a little more structured while still getting the

[issue13817] deadlock in subprocess while running several threads using Popen

2012-02-01 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I thought about this a bit more, and I realized that a slight variation of this bug also affects 2.7, and also older versions (i.e. before _PyGILState_Reinit() was introduced), because any code that gets called from PyOS_AfterFork() and

[issue13924] Mercurial robots.txt should let robots crawl landing pages.

2012-02-01 Thread Ivaylo Popov
New submission from Ivaylo Popov popov@gmail.com: http://hg.python.org/robots.txt currently disallows all robots from all paths. This means that the site doesn't show up in Google search results seeking, for instance, browsing access to the python source

[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2012-02-01 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Mark: Possibly a stupid question, but in your commit (see snippet below), why is the processorArchitecture hard coded to x86? Is it appropriate to replace this with amd64 for 64-bit builds, or should it always be x86? +

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

2012-02-01 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- assignee: - mark.dickinson type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13889 ___

[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2012-02-01 Thread Mark Hammond
Mark Hammond skippy.hamm...@gmail.com added the comment: ack - that is a really good point. IIRC it can be *. I'll try and look at this over the next day or 2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7833

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

2012-02-01 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Should this bug be marked as closed+committed? No, the main issue is still under consideration. There were two issues here: (1) a clear bug, namely that the Py_SET_53BIT_PRECISION_* macros weren't being used for the dtoa calls when

[issue13925] making assignments to an empty two dimensional list

2012-02-01 Thread Dave E
New submission from Dave E david.elzi...@gmail.com: I might be missing something, but I am expecting the following code to print out a list of lists with each internal list holding one number[0-4], but instead the internal lists are a copy of the list count. #!/usr/bin/python count =

[issue13925] making assignments to an empty two dimensional list

2012-02-01 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: This isn't a bug, but a known gotcha: see. http://docs.python.org/faq/programming.html#how-do-i-create-a-multidimensional-list -- nosy: +mark.dickinson resolution: - invalid status: open - closed

[issue13919] invalid

2012-02-01 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- title: kiss my ball sac - invalid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13919 ___ ___

[issue13703] Hash collision security issue

2012-02-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: It looks like it was not yet decided if the CryptoGen API or a weak LCG should be used on Windows. Extract of add-randomization-to-3.1-dmalcolm-2012-02-01-001.patch: +#ifdef MS_WINDOWS +#if 1 +(void)win32_urandom((unsigned

[issue13868] Add hyphen doc fix

2012-02-01 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Boštjan, please stop wasting everyone's time. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13868 ___