[issue17022] Inline assignment uses the newly created object

2013-02-01 Thread Gabriel Nistor
Gabriel Nistor added the comment: Thanks for the fast reply. The explanation seems valid, but the behavior is not consistent with other high level languages, and also with plain reasoning. I have a big java background experience and I am now with python for almost 3 years doing really hard

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Feel free to change the patch as you see fit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6972 ___ ___

[issue17080] A better error message for float()

2013-02-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17080 ___ ___ Python-bugs-list

[issue17097] baseManager serve_client() not check EINTR when recv request

2013-02-01 Thread lvroyce
New submission from lvroyce: We create our customised manager which will fork child process with baseManager. Because we registered SIGCHLD to reap the zombie for manager, we found this causes baseManager raise RemoteError when called twice.(Test script attached.) After look at

[issue1783] nonexistent data items declared as exports in sysmodule.h

2013-02-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6074530b526f by Serhiy Storchaka in branch '2.7': Issue #1783: Remove declarations of nonexistent private variables. http://hg.python.org/cpython/rev/6074530b526f New changeset 349419bb6283 by Serhiy Storchaka in branch '3.2': Issue #1783: Remove

[issue1783] nonexistent data items declared as exports in sysmodule.h

2013-02-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for the report, Jukka Laurila. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1783

[issue17053] pydoc should use inspect.signature instead of inspect.getfullargspec

2013-02-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch is a very rough prototype which seems to work (but wasn't tested beyond running pydoc on a number of function(-like) objects. With the patch the documentation for a callable defined in C but with a __signature__ property shows argument

[issue17097] baseManager serve_client() not check EINTR when recv request

2013-02-01 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- nosy: +sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17097 ___ ___ Python-bugs-list mailing

[issue8713] multiprocessing needs option to eschew fork() under Linux

2013-02-01 Thread Stan Seibert
Changes by Stan Seibert s...@mtrr.org: -- nosy: +Stan.Seibert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713 ___ ___ Python-bugs-list mailing

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Brett Cannon
New submission from Brett Cannon: E.g. _frozen_importlib, builtins, signal. -- components: Interpreter Core messages: 181078 nosy: brett.cannon, theller priority: normal severity: normal stage: test needed status: open title: Set __loader__ on modules imported by the C level type:

[issue17099] Raise ValueError when __loader__ not defined for importlib.find_loader()

2013-02-01 Thread Brett Cannon
New submission from Brett Cannon: If __loader__ is None then ValueError is raised, but if it is not defined then AttributeError is raised instead. Probably should harmonize around ValueError even in the missing attribute case since __loader__ = None is equivalent to the attribute not

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17098 ___ ___

[issue17099] Raise ValueError when __loader__ not defined for importlib.find_loader()

2013-02-01 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17099 ___ ___

[issue17022] Inline assignment uses the newly created object

2013-02-01 Thread R. David Murray
R. David Murray added the comment: Well, it is consistent with plain reasoning if you remember that (a) python is a dynamic language and (b) python assignments do not return values (this is a core principle in the language design), which means that (c) the chained assignment form is a

[issue17032] Misleading error message: global name 'X' is not defined

2013-02-01 Thread Ram Rachum
Ram Rachum added the comment: Does fixing this ticket require anything more than making a change in the string that Python uses for this exception? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17032

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17098 ___ ___ Python-bugs-list mailing

[issue17099] Raise ValueError when __loader__ not defined for importlib.find_loader()

2013-02-01 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17099 ___ ___ Python-bugs-list mailing

[issue14468] Update cloning guidelines in devguide

2013-02-01 Thread Éric Araujo
Éric Araujo added the comment: Let’s stay friends here :) Why not remove the existing patches here, export the 8 changesets as patches, attach them here, let people comment? (I’m not keen on having discussion outside of our system) -- ___ Python

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Should probably check the state of sys.modules in importlib._bootstrap._setup() and see if the missing modules are there and then just retroactively set __loader__ to BuiltinImporter (as is already done in that function for sys and _imp):

[issue17099] Raise ValueError when __loader__ not defined for importlib.find_loader()

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Should mention that this is probably no harder than changing a key getattr() call to None (as pointed out by Nick). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17099

[issue17099] Raise ValueError when __loader__ not defined for importlib.find_loader()

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17099 ___ ___ Python-bugs-list mailing

[issue17093] Make importlib.abc more inheritance-friendly

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Blog post I wrote explaining what I plan to do: http://sayspy.blogspot.ca/2013/02/remember-to-use-super-in-your-abcs.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17093

[issue17100] rotating an ordereddict

2013-02-01 Thread Antoine Pitrou
New submission from Antoine Pitrou: It can be useful to rotate an OrderedDict (for example when managing a circular playlist). I haven't found any efficient way to do so from user code, without poking at the internals. Actually, I envision three methods: OrderedDict.rotate(self, n):

[issue12502] 100% cpu usage when using asyncore with UNIX socket

2013-02-01 Thread Benjamin Ash
Benjamin Ash added the comment: Hi, I am still seeing this issue even with the patches applied. I see 100% CPU utilization, and strace shows the process is in same kind of select() loop as msg139899. Any help would be greatly appreciated. Thanks, -ben strace output: select(4, [3], [3],

[issue8094] Multiprocessing infinite loop

2013-02-01 Thread Philip Thiem
Philip Thiem added the comment: As an alternative, see http://bugs.python.org/issue10845 It contains a patch for the 3.X series which fixes the infinity loop. Applying it to the 2.X series will fix the issue and make a change the documentation unnecessary. -- nosy: +pthiem

[issue8094] Multiprocessing infinite loop

2013-02-01 Thread Philip Thiem
Philip Thiem added the comment: Actually sorry, now that I reread the details a second time, I'm not sure that is this the same deal. I'll just file a separate bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8094

[issue17101] Multiprocessing on Windows

2013-02-01 Thread Philip Thiem
New submission from Philip Thiem: http://bugs.python.org/issue10845 also applies to the 2.X series. this is multiprocessing on windows has issues with __main__.py -- components: Windows messages: 181090 nosy: pthiem priority: normal severity: normal status: open title: Multiprocessing

[issue17101] __main__.py Multiprocessing on Windows

2013-02-01 Thread Philip Thiem
Changes by Philip Thiem ptth...@gmail.com: -- title: Multiprocessing on Windows - __main__.py Multiprocessing on Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17101 ___

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: All cases but signal can be fixed by importlib._bootstrap._setup() by simply iterating over sys.modules and setting __loader__. Nice and simple. Thanks, abstraction! The problem is signal who gives the finger to abstraction. That module gets imported directly

[issue17078] string.Template.safe_substitute hard-wires braces as {}

2013-02-01 Thread Éric Araujo
Éric Araujo added the comment: Barry, I read that passage in the PEP to explain why the default style uses ${}, but the bug here is about a Template class with an overriden placeholder pattern. -- nosy: +eric.araujo ___ Python tracker

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-01 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17069 ___ ___

[issue14468] Update cloning guidelines in devguide

2013-02-01 Thread Ezio Melotti
Ezio Melotti added the comment: Because this is a patch for the devguide, so we cannot use Rietveld for the review. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14468 ___

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-01 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17069 ___ ___ Python-bugs-list

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 05747d3bcd9c by Brett Cannon in branch '3.3': Issue #17098: Make sure every module has __loader__ defined. http://hg.python.org/cpython/rev/05747d3bcd9c New changeset 1f1a1b3cc416 by Brett Cannon in branch 'default': Issue #17098: all modules

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: OK, so my solution for signal worked. All fixed now. If any other modules pop up with __loader__ not set from now on it's because they cheated on import. =) -- assignee: - brett.cannon resolution: - fixed status: open - closed

[issue17035] Use new style classes in {class, static}method examples

2013-02-01 Thread Éric Araujo
Éric Araujo added the comment: LGTM. -- nosy: +eric.araujo stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17035 ___ ___

[issue17099] Raise ValueError when __loader__ not defined for importlib.find_loader()

2013-02-01 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17099 ___ ___ Python-bugs-list

[issue16555] Add es_cu to locale aliases

2013-02-01 Thread Éric Araujo
Éric Araujo added the comment: I have a busy week-end ahead but I could sneak a little time for this. -- nosy: +doerwalter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16555 ___

[issue17083] can't specify newline string for readline for binary files

2013-02-01 Thread Glenn Linderman
Glenn Linderman added the comment: I think Bryant's request is reasonable, for consistency in functionality. If line oriented operations are allowed on binary files, then a binary newline value should be permitted at the time of open. I think, for handling binary files, that it would also be

[issue17083] can't specify newline string for readline for binary files

2013-02-01 Thread R. David Murray
R. David Murray added the comment: Anything we do here is a new feature. I have no objection to adding features in this area myself, but I will note that I was shot down for proposing (in another issue) that the newline attribute for text files be allowed to be an arbitrary string.

[issue17083] can't specify newline string for readline for binary files

2013-02-01 Thread Bryant
Bryant added the comment: While my original description of this issue discussed arbitrary strings, I'd like to limit the scope of this issue down to just supporting the newline parameter to builtin.open() for binary files, just as it's supported for regular files. This adds no real new

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0c5fa35c9f12 by Gregory P. Smith in branch '3.2': Fixes Issue #6972: The zipfile module no longer overwrites files outside of http://hg.python.org/cpython/rev/0c5fa35c9f12 New changeset 483488a1dec5 by Gregory P. Smith in branch '3.3': Fixes Issue

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Looks like I spoke too soon. I realized I had not written a test so I did it quickly and it turns out that while this is fixed for 3.3 it isn't for 3.4. -- status: closed - open ___ Python tracker

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-01 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6972 ___

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17098 ___ ___ Python-bugs-list

[issue17083] can't specify newline string for readline for binary files

2013-02-01 Thread R. David Murray
R. David Murray added the comment: Well, it's a feature by our policy, since it currently works as documented. Probably the first thing would be to get the opinion of someone who works on the IO module, so I've nosied Antoine. Note that this was obviously a conscious design decision, as it

[issue17100] rotating an ordereddict

2013-02-01 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17100 ___ ___ Python-bugs-list

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Thomas Heller
Thomas Heller added the comment: I have only tried my code with 3.4; but still get problems with the modules 'builtins' and '_frozenimportlib'. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17098

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-01 Thread Ralf Schmitt
Ralf Schmitt added the comment: does anyone know if the same issue has been fixed in the tarfile module? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6972 ___

[issue12268] file readline, readlines readall methods can lose data on EINTR

2013-02-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset a5e7b38caee2 by Gregory P. Smith in branch '2.7': Additional fix for Issue #12268: The io module file object writelines() methods http://hg.python.org/cpython/rev/a5e7b38caee2 New changeset 2fd669aa4abc by Gregory P. Smith in branch '3.2':

[issue12268] file readline, readlines readall methods can lose data on EINTR

2013-02-01 Thread STINNER Victor
STINNER Victor added the comment: Oh, so we can now implement a version of writelines() using writev()! 2013/2/1 Roundup Robot rep...@bugs.python.org: Roundup Robot added the comment: New changeset a5e7b38caee2 by Gregory P. Smith in branch '2.7': Additional fix for Issue #12268: The io

[issue12268] file readline, readlines readall methods can lose data on EINTR

2013-02-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: it was easier to just take care of auditing the write calls as part of this given the code change was directly related to it. On Python 2.7 most of the write calls in the builtin file object (Objects/fileobject.c) rather than the new io module use the libc

[issue12268] file readline, readlines readall methods can lose data on EINTR

2013-02-01 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12268 ___

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a4688b865ff by Brett Cannon in branch '3.3': Add a test for fix of issue #17098 http://hg.python.org/cpython/rev/4a4688b865ff New changeset 19ea454ccdf7 by Brett Cannon in branch '3.3': Issue #17098: Be more stringent of setting __loader__ on

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: OK, 3.3 and 3.4 now have tests and verify everything is working fine. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17098 ___

[issue17093] Make importlib.abc more inheritance-friendly

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: OK, rewrote that blog post as Thomas pointed out my thinking was worrying about stuff I shouldn't be: http://sayspy.blogspot.ca/2013/02/remember-to-use-super-in-your-abcs.html -- ___ Python tracker

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Thomas Heller
Thomas Heller added the comment: I confirm that the bug is fixed, my test-code works now (a modulefinder using importlib instead of imp to find modules). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17098

[issue17098] Set __loader__ on modules imported by the C level

2013-02-01 Thread Thomas Heller
Thomas Heller added the comment: Thanks for the very fast fix Brett :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17098 ___ ___

[issue17093] Make importlib.abc more inheritance-friendly

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: And as part of this I need to update the docstrings to mention default reactions. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17093 ___

[issue13192] ImportError silences low-level OS errors

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Is this still an issue in (at least) 3.4 with the new I/O exceptions? And I feel like there was another bug about this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13192

[issue13184] Multi-layered symlinks to python cause runtime error. sys.path is malformed.

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13184 ___ ___ Python-bugs-list

[issue13306] Add diagnostic tools to importlib?

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Did you still plan to write this code, Nick? Or were you just thinking about loud and don't need this bug here anymore? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13306

[issue8623] Aliasing warnings in socketmodule.c

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8623 ___ ___ Python-bugs-list

[issue13819] _warnings settings are process-wide

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13819 ___ ___ Python-bugs-list

[issue13829] exception error in _scproxy.so

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13829 ___ ___ Python-bugs-list

[issue13124] Add Running a Build Slave page to the devguide

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Did you want to commit this patch yourself, Eric, since you have commit privs now? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13124 ___

[issue4010] configure options don't trickle down to distutils

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4010 ___ ___ Python-bugs-list

[issue16256] permissions wrong on Mac doc dir

2013-02-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset d64e0cf5f1a7 by Ned Deily in branch '2.7': Issue #16256: OS X installer now sets correct permissions for doc directory. http://hg.python.org/cpython/rev/d64e0cf5f1a7 New changeset e8a1b5757067 by Ned Deily in branch '3.2': Issue #16256: OS X

[issue8754] quote bad module name in ImportError-like messages

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Over time I have fixed this issue in various patches. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8754 ___

[issue12919] Control what module is imported first

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: This would tie into PEP 432 at this point. -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12919 ___

[issue16256] permissions wrong on Mac doc dir

2013-02-01 Thread Ned Deily
Ned Deily added the comment: Thanks for the report and the patch. Committed for 2.7.4, 3.2.4, and 3.3.1. -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2, Python 3.3, Python 3.4 ___ Python tracker

[issue14285] Traceback wrong on ImportError while executing a package

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14285 ___ ___ Python-bugs-list

[issue11085] expose _abcoll as collections.abc

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: I'm closing this again as 3.3 actually starts up faster than 3.2 thanks to importlib so this slowdown is no longer noticeable. -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13306] Add diagnostic tools to importlib?

2013-02-01 Thread Nick Coghlan
Nick Coghlan added the comment: I still think it would be a good feature to offer, but have no plans to write it myself. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13306 ___

[issue14580] imp.reload can fail for sub-modules

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: This is no longer a problem: import imp import collections import collections.abc module 'collections.abc' from '/Users/bcannon/Developer/repo/cpython/py3k/Lib/collections/abc.py' -- assignee: - brett.cannon resolution: - out of date status: open -

[issue12598] Move sys variable initialization from import.c to sysmodule.c

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12598 ___ ___ Python-bugs-list

[issue13473] Add tests for files byte-compiled by distutils[2]

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13473 ___ ___ Python-bugs-list

[issue14689] make PYTHONWARNINGS variable work in libpython

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14689 ___ ___ Python-bugs-list

[issue14724] kill imp.load_dynamic's third argument

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Turns out this was used in the wild and has now been fixed to be useful. =) -- resolution: - works for me status: open - closed superseder: - importlib.machinery.ExtensionFileLoader cannot load several modules from the same shared object

[issue12937] distutils2: install action should support same options as install command

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12937 ___ ___ Python-bugs-list

[issue4011] Create DAG for PEP 101

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Would this still be useful to do? Thanks to my latest import talk I have experience with graphviz but I don't want to waste my time if people don't need it. -- assignee: larry - ___ Python tracker

[issue15344] devinabox: failure when running make_a_box multiple times

2013-02-01 Thread Brett Cannon
Brett Cannon added the comment: Since you got this with a clean run and I had dev_in_a_box.py work for me in November I'm closing this. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10342] trace module cannot produce coverage reports for zipped modules

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10342 ___ ___ Python-bugs-list

[issue15369] pybench and test.pystone poorly documented

2013-02-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15369 ___ ___ Python-bugs-list

[issue8754] quote bad module name in ImportError-like messages

2013-02-01 Thread Éric Araujo
Éric Araujo added the comment: Great! -- stage: patch review - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8754 ___ ___

[issue16256] permissions wrong on Mac doc dir

2013-02-01 Thread Christopher Barker
Christopher Barker added the comment: On Fri, Feb 1, 2013 at 2:08 PM, Ned Deily rep...@bugs.python.org wrote: Thanks for the report and the patch. Committed for 2.7.4, 3.2.4, and 3.3.1. Did I actually submit a patch? but thanks to you for getting it done -- and all else you do for pythonmac.

[issue17083] can't specify newline string for readline for binary files

2013-02-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think readline() is quite clear in its current intent (it reads a line, which conventionally is delimited by '\n'). We mau want to add another method, say read_until_delimiter(), but it's not the same as readline() ;-) I think it would be best for it to be

[issue17100] rotating an ordereddict

2013-02-01 Thread Ramchandra Apte
Ramchandra Apte added the comment: Will attach patch when I get free (10 hours from now) -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17100 ___

[issue17102] tarfile extract can write files outside the destination path

2013-02-01 Thread Gregory P. Smith
New submission from Gregory P. Smith: Create a malicious .tar file with entries containing absolute or relative paths and the tarfile module happily uses them as is without sanity checking. filed in response to http://bugs.python.org/issue6972 which fixed the zipfile module for this. I'm

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: yes, tarfile appears to have the same problem. http://bugs.python.org/issue17102 filed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6972 ___

[issue17097] multiprocessing BaseManager serve_client() does not check EINTR on recv

2013-02-01 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- title: baseManager serve_client() not check EINTR when recv request - multiprocessing BaseManager serve_client() does not check EINTR on recv ___ Python tracker rep...@bugs.python.org

[issue13192] ImportError silences low-level OS errors

2013-02-01 Thread Eric Snow
Eric Snow added the comment: Are you thinking of issue 15833? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13192 ___ ___ Python-bugs-list

[issue13124] Add Running a Build Slave page to the devguide

2013-02-01 Thread Eric Snow
Eric Snow added the comment: Yeah, at some point I will. :) I've been pretty focused on implementing a C-OrderedDict, which I'm (hopefully) wrapping up pretty soon. Once that happens I'm going to revisit a bunch of the open tickets I have. If you want to push this sooner than that, feel

[issue17102] tarfile extract can write files outside the destination path

2013-02-01 Thread Ralf Schmitt
Changes by Ralf Schmitt python-b...@systemexit.de: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17102 ___ ___ Python-bugs-list

[issue15587] IDLE is pixelated on the Macbook Pro with Retina Display

2013-02-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2274f3196a44 by Ned Deily in branch '2.7': Issue #15587: Enable Tk high-resolution text rendering on Macs with http://hg.python.org/cpython/rev/2274f3196a44 New changeset 7dfd84021494 by Ned Deily in branch '3.2': Issue #15587: Enable Tk

[issue13192] ImportError silences low-level OS errors

2013-02-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: In 3.3 and 3.4, exceptions are not silenced anymore: import resource resource.setrlimit(resource.RLIMIT_NOFILE, (2, 100)) import encodings.idna Traceback (most recent call last): File stdin, line 1, in module File frozen importlib._bootstrap, line 1584,

[issue15587] IDLE is pixelated on the Macbook Pro with Retina Display

2013-02-01 Thread Ned Deily
Ned Deily added the comment: I've updated the plists for both IDLE.app and the framework Python.app to enable the high-resolution rendering. That should affect IDLE.app and bin/idle and any other Tkinter-based program, as long as they all are being run from a framework build of Python such

[issue17100] rotating an ordereddict

2013-02-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is trivial. def rotate(od, n): for i in range(n): k, v = od.popitem(False) od[k] = v And those functions look too specialized. -- nosy: +serhiy.storchaka ___ Python tracker

[issue16601] Restarting iteration over tarfile continues from where it left off.

2013-02-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Michael, what's the status of your contributor form? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16601 ___

[issue17102] tarfile extract can write files outside the destination path

2013-02-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17102 ___ ___

  1   2   >