[issue12207] Document ast.PyCF_ONLY_AST

2013-03-24 Thread Ramchandra Apte
Ramchandra Apte added the comment: In my view, it is adequately documented now, should not be undocumented, and should not be given more prominence either. So I recommend closing this. +1 -- nosy: +Ramchandra Apte ___ Python tracker

[issue13248] deprecated in 3.2/3.3, should be removed in 3.4

2013-03-24 Thread Éric Araujo
Éric Araujo added the comment: We do not document removals after they are done as they are not an issue for back-compatibility (unlike changes and additions). I learned that people may use the (for example) 2.7 docs even though they are using 2.6, so I think we do want to use things like the

[issue13244] WebSocket schemes in urllib.parse

2013-03-24 Thread Éric Araujo
Éric Araujo added the comment: This is not committed to any branch yet. -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13244 ___

[issue17441] Do not cache re.compile

2013-03-24 Thread Charles-François Natali
Charles-François Natali added the comment: The docs don't even mention that re.compile() actually uses a cache. Actually it does: re.compile(pattern, flags=0) Note The compiled versions of the most recent patterns passed to re.match(), re.search() or re.compile() are cached, so programs

[issue13248] deprecated in 3.2/3.3, should be removed in 3.4

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: IMHO deprecated-removed should be used on versions where the feature exists, and a versionchanged should be added once the feature has been removed. -- ___ Python tracker rep...@bugs.python.org

[issue15100] Race conditions in shutil.copy, shutil.copy2 and shutil.copyfile

2013-03-24 Thread Charles-François Natali
Charles-François Natali added the comment: That shouldn't be too complicated, but does Windows have fcomod() Co? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15100 ___

[issue15100] Race conditions in shutil.copy, shutil.copy2 and shutil.copyfile

2013-03-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Windows doesn't have fchmod(), but chmod() doesn't do much on it either: “Although Windows supports chmod(), you can only set the file’s read-only flag with it (via the stat.S_IWRITE and stat.S_IREAD constants or a corresponding integer value). All other bits

[issue8796] Deprecate codecs.open()

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: I suggest to deprecated codecs.open() in 3.4, and possibly remove it in a later release. The implementation shouldn't be changed to use the builtin open(), but the deprecation note should point to it, and possibly mention the shortcomings of codecs.open().

[issue11087] Speeding up the interpreter with a few lines of code

2013-03-24 Thread Mark Dickinson
Mark Dickinson added the comment: ... is this worth pursuing? Not at the expense of introducing undefined behaviour. I suggest closing this. -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11087

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Charles-François Natali
Charles-François Natali added the comment: I'm splitting the patches: - one which adds loads and dumps to ForkingPicler - the contention reduction patch I'd like to commit them soon. -- Added file: http://bugs.python.org/file29559/queues_contention.diff Added file:

[issue513840] entity unescape for sgml/htmllib

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: See also #2927. -- versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue513840 ___ ___

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: The old code deleted the obj in the feeder thread as soon as it was sent at lines 247 and 253 -- see Issue #16284. I think that should be retained. Apart from that LGTM. -- ___ Python tracker

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Charles-François Natali
Charles-François Natali added the comment: The old code deleted the obj in the feeder thread as soon as it was sent at lines 247 and 253 -- see Issue #16284. I think that should be retained. The object is overwritten by the pickled data, so it's not necessary anymore, no? --

[issue8552] msilib can't create large CAB files

2013-03-24 Thread R. David Murray
R. David Murray added the comment: It looks like it turned out that there is nothing specific in this issue that isn't covered by issue 2399. -- nosy: +r.david.murray resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Patches for Tools/msi

[issue17529] fix os.sendfile() documentation regarding the type of file descriptor

2013-03-24 Thread Charles-François Natali
Changes by Charles-François Natali cf.nat...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file29561/sendfile_doc.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17529

[issue12226] use HTTPS by default for uploading packages to pypi

2013-03-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is true, but if we get proper certificate checking, this should automatically work correctly then. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12226

[issue17323] Disable [X refs, Y blocks] ouput in debug builds

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: Attached a new patch that addresses a couple of minor things pointed out in the reviews. -- stage: patch review - commit review Added file: http://bugs.python.org/file29562/issue17323-3.diff ___ Python tracker

[issue1602] windows console doesn't print or input Unicode

2013-03-24 Thread Drekin
Drekin added the comment: Hello. I have made a small upgrade of the workaround. • win_unicode_console.enable_streams() sets sys.stdin, stdout and stderr to custom filelike objects which use Windows functions ReadConcoleW and WriteConsoleW to handle unicode data properly. This can be done in

[issue1602] windows console doesn't print or input Unicode

2013-03-24 Thread Drekin
Changes by Drekin dre...@gmail.com: Added file: http://bugs.python.org/file29564/win_unicode_console_3.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1602 ___

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: On 24/03/2013 12:16pm, Charles-François Natali wrote: The object is overwritten by the pickled data, so it's not necessary anymore, no? Yes, you are right. -- ___ Python tracker rep...@bugs.python.org

[issue17441] Do not cache re.compile

2013-03-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17441 ___ ___ Python-bugs-list

[issue1602] windows console doesn't print or input Unicode

2013-03-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1602 ___ ___ Python-bugs-list

[issue8796] Deprecate codecs.open()

2013-03-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8796 ___ ___ Python-bugs-list

[issue17482] functools.update_wrapper mishandles __wrapped__

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17482 ___ ___

[issue17492] Increase test coverage for random (up to 99%)

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17492 ___

[issue17504] Dropping duplicated docstring explanation of what Mocks' side_effect does.

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.3 ___ Python tracker

[issue17504] Dropping duplicated docstring explanation of what Mocks' side_effect does.

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9445505389cf by Ezio Melotti in branch '3.3': #17504: remove duplicated sentence. Patch by Radu Voicilas. http://hg.python.org/cpython/rev/9445505389cf New changeset 2fc34f3dbc9d by Ezio Melotti in branch 'default': #17504: merge with 3.3.

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset bedb4cbdd311 by Charles-François Natali in branch 'default': Issue #17025: Add dumps() and loads() to ForkingPickler. http://hg.python.org/cpython/rev/bedb4cbdd311 -- nosy: +python-dev ___ Python tracker

[issue17516] Dead code should be removed

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17516 ___

[issue17519] unittest should not try to run abstract classes

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17519 ___

[issue14010] deeply nested filter segfaults

2013-03-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: - The tests with range(100) seems to duplicate those with recursion limit. - zip_iter should would be simpler with a goto error; LGTM otherwise. -- ___ Python tracker rep...@bugs.python.org

[issue17150] pprint could use line continuation for long string literals

2013-03-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a nice addition. Thank you. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17150 ___

[issue16475] Support object instancing and recursion in marshal

2013-03-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Sorry, what does instancing mean? And does this change bring interesting features? And is there an impact on regular .pyc files? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue14010] deeply nested filter segfaults

2013-03-24 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14010 ___ ___

[issue16475] Support object instancing and recursion in marshal

2013-03-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: Sorry, what does instancing mean? He means keeping track of instance identities, so that objects that were shared before marshal continue to be shared after loading. And does this change bring interesting features? interesting to whom? And is there an

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-24 Thread Kevin Barry
Kevin Barry added the comment: emmanuel, Regarding your points: All three can be taken care of with a combination of my patch and setting sys.stdin, sys.stdout, and sys.stderr to the pty. (That should really be done internally with another patch, since os.fdopen is OS-specific. Also,

[issue17536] update browser list with additional browser names

2013-03-24 Thread Matthias Klose
New submission from Matthias Klose: Add some browser names supported on Debian systems: - www-browser, x-www-browser are browser names handled by the alternatives system, which should be preferred over specific browser names. Inserted with lower priority than the browsers for specific

[issue17536] update browser list with additional browser names

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 206522d9134e by doko in branch '3.3': - Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser, http://hg.python.org/cpython/rev/206522d9134e New changeset 34648809d777 by doko in branch 'default': - Issue #17536: Add to

[issue17536] update browser list with additional browser names

2013-03-24 Thread Matthias Klose
Matthias Klose added the comment: 2.7.diff is the backport for 2.7, adding additional names xdg-open, gvfs-open, and chromium names. -- Added file: http://bugs.python.org/file29566/2.7.diff ___ Python tracker rep...@bugs.python.org

[issue17516] Dead code should be removed

2013-03-24 Thread R. David Murray
R. David Murray added the comment: Oh, it looks like you are right: useless strings are already removed during compilation. But it looks a little bit surprising to me to use a multiline string for a comment. I prefer classic # comments. I was surprised by this as well. I think the comment

[issue17086] backport cross-build patches to the 2.7 branch

2013-03-24 Thread Matthias Klose
Matthias Klose added the comment: this is about setting PYTHONPATH for regenerating the plat directory. This doesn't break anything afaics and doesn't do any harm. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17086

[issue17086] backport cross-build patches to the 2.7 branch

2013-03-24 Thread Matthias Klose
Matthias Klose added the comment: cross build patch is applied, closing the issue. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17086 ___

[issue17536] update browser list with additional browser names

2013-03-24 Thread R. David Murray
R. David Murray added the comment: Technically this is a new feature and should only go into 3.4. I'm open to discussion about this, but the discussion should have happened *before* the commit. You will note in particular that support for Chrome was added in issue 13620 as an enhancement,

[issue17525] os.getcwd() fails on cifs share

2013-03-24 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17525 ___ ___

[issue17536] update browser list with additional browser names

2013-03-24 Thread Matthias Klose
Matthias Klose added the comment: Technically this is a new feature and should only go into 3.4. I'm open to discussion about this, but the discussion should have happened *before* the commit. ok, will do so in the future. Howver it did look a bit simple ... You will note in particular

[issue17526] inspect.findsource raises undocumented error for code objects with empty filename

2013-03-24 Thread R. David Murray
R. David Murray added the comment: It is very likely the code is the same in 3.3 and 3.4, so I'm adding those versions without testing :) -- keywords: +easy nosy: +r.david.murray stage: - needs patch versions: +Python 3.3, Python 3.4 ___ Python

[issue17527] PATCH as valid request method in wsgiref.validator

2013-03-24 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17527 ___ ___

[issue17536] update browser list with additional browser names

2013-03-24 Thread R. David Murray
R. David Murray added the comment: Yeah, that's why I said I was open to discussion on it. It is more of a UI/system-config issue than a code issue, so I think maybe a backport would be OK. But we should check with python-dev, I think, since making UI changes to IDLE requires a PEP :)

[issue17527] PATCH as valid request method in wsgiref.validator

2013-03-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think this can be applied to old versions of Python as well. It was an unintentional omission from the last of valid HTTP verbs. There is nothing new here. -- nosy: +rhettinger ___ Python tracker

[issue16475] Support object instancing and recursion in marshal

2013-03-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The size of the pyc files may decrease This is very good news! Indeed, I noticed decimal.cpython-34.pyc going from 212k to 178k. 17% less! This is worth an entry in whatsnew/3.4.rst IMO. -- ___ Python

[issue17445] Handle bytes comparisons in difflib.Differ

2013-03-24 Thread Greg Ward
Greg Ward added the comment: I recommend the following: replace the simple test in the attached bytes_diff.py with Greg's unittest-based tests and adjust the __name__ == '__main__' incantation accordingly. Latest patch, following Terry's suggestion:

[issue17425] Update OpenSSL versions in Windows builds

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0fb7db2f9b5e by Martin v. Loewis in branch '3.2': Issue #17425: Build with openssl 1.0.0k on Windows. http://hg.python.org/cpython/rev/0fb7db2f9b5e New changeset 8051e6ff97e2 by Martin v. Loewis in branch '3.3': #17425: null merge 3.2

[issue17537] sv.DictReader should fail if 1 column has the same name

2013-03-24 Thread Matthias Klose
New submission from Matthias Klose: forwarded from Debian http://bugs.debian.org/699463 The csv.DictReader object doesn't handle multiple columns with the same name very well - it simply over-writes the first column-with-same-name with the contents of the second column-with-same-name e.g.:

[issue17425] Update OpenSSL versions in Windows builds

2013-03-24 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17425 ___ ___

[issue17425] Update OpenSSL versions in Windows builds

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 840a90e8cefd by Martin v. Löwis in branch '3.3': Issue #17425: Build with openssl 1.0.1d on Windows. http://hg.python.org/cpython/rev/840a90e8cefd New changeset a626a32bd42d by Martin v. Löwis in branch 'default': #17425: merge 3.3

[issue17425] Update OpenSSL versions in Windows builds

2013-03-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is now fixed. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17425 ___

[issue15052] Outdated comments in build_ssl.py

2013-03-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is now fixed, with 1.0.0k and 1.0.1d -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15052 ___

[issue17537] csv.DictReader should fail if 1 column has the same name

2013-03-24 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: -ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17537 ___ ___ Python-bugs-list mailing list

[issue17537] csv.DictReader should fail if 1 column has the same name

2013-03-24 Thread Ned Deily
Ned Deily added the comment: Note that there was a long discussion a couple of months ago on python-ideas about the csv module including the issue of duplicate names. There were differing opinions about whether this behavior should be changed and, if so, how. It starts here:

[issue17323] Disable [X refs, Y blocks] ouput in debug builds

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17323 ___ ___ Python-bugs-list

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2013-03-24 Thread Todd Rovito
Todd Rovito added the comment: I got the extension from Roger Serwy's IDLEX, it is one of my favorite extensions. In addition to adding the extension I updated the documentation both idle.rst and help.txt. Finally I tested the patch on Mac OS X and it works great. This patch is for 3.4 but

[issue17536] update browser list with additional browser names

2013-03-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Making these changes in 2.7 +# Google Chrome/Chromium browsers +for browser in (google-chrome, chrome, chromium, chromium-browser): +if _iscommand(browser): +register(browser, None, Chrome(browser)) + is a mistake IMO. These are

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2013-03-24 Thread Todd Rovito
Todd Rovito added the comment: For this patch to work correctly the option menu must be present so issue 17532 http://bugs.python.org/issue17532 has to be resolved. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17535

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-03-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: Here's is an os.scandir(path='.') implementation that iterates reading the directory on the fly instead of pre-building a list. os.listdir's implementation should ultimately be replaced by this as: def listdir(path=None): if path is None: return

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-03-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: Since this is going to be a new API, I would like to return the file type per directory entry where supported. I suggest to start with the Linux set of file types (DT_BLK, ..., DT_UNKNOWN), perhaps under different names, giving 'unknown' on systems which

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-03-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: you'll see my code already has TODOs in there for that. windows API documentation suggests that windows returns even more (stat-like) info when traversing a directory. returning a namedtuple with the relevant info from the platform at hand would be good.

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2013-03-24 Thread Roger Serwy
Roger Serwy added the comment: Todd, the LineNumbers.py extension from the IdleX project contains work-arounds for interacting cleanly with the Code Context extension. It also has a hack for dealing with the shortcomings of the Percolator/Delegator ordering. There are other shortcomings in

[issue17537] csv.DictReader should fail if 1 column has the same name

2013-03-24 Thread R. David Murray
R. David Murray added the comment: I haven't read the thread that Ned points to, but I do note that replacing the value is exactly how Python dict literals work. Also, even if we decide that we want an error, I don't think it is a change that could be backported, since it could easily make

[issue16145] Abort in _csv module

2013-03-24 Thread Roger Binns
Roger Binns added the comment: So is 3.3.1 with the fix ever going to be released? Georg did predict mid-November and we are 4 months after that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16145

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2013-03-24 Thread Todd Rovito
Todd Rovito added the comment: The NCSA license is very permissive I would be surprised if the PSF didn't accept it since both are BSD based. Needless to say I am not a lawyer and I am not sure who to speak with about this issue. I was able to find some precedence with the PEP 3146 which

[issue694339] IDLE: Dedenting with Shift+Tab

2013-03-24 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue694339 ___ ___ Python-bugs-list

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-03-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't this would be much of a win and we're better off not adding yet another function to the already overloaded os module. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org

[issue17536] update browser list with additional browser names

2013-03-24 Thread Éric Araujo
Éric Araujo added the comment: I would consider the list of browsers updatable in stable branches, like MIME types and encoding aliases. The alternate names for Mozilla browsers are really just strings in a list; xdg-open/x-www-browser/gvfs-open are a little more (need to use the right class

[issue17538] Document XML Vulnerabilties

2013-03-24 Thread Donald Stufft
New submission from Donald Stufft: Here's a documentation patch (Made against the 2.7 branch) that adds warning to the various xml modules to warn about the insecurity and points towards defusedxml/defusedexpat. -- components: Library (Lib), XML files: xmldocs.diff keywords: patch

[issue17527] PATCH as valid request method in wsgiref.validator

2013-03-24 Thread Éric Araujo
Éric Araujo added the comment: PATCH is not formally accepted yet. OTOH many server and client libs support it and it does serve a real use case. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17527

[issue12207] Document ast.PyCF_ONLY_AST

2013-03-24 Thread Éric Araujo
Éric Araujo added the comment: No problem. -- resolution: - rejected stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12207 ___

[issue12920] Document that inspect.getsource only works for objects loaded from files, not interactive session

2013-03-24 Thread Éric Araujo
Éric Araujo added the comment: It seems to work perfectly on command line though. If the code is saved in a file, yes, but not in an interactive interpreter. This is not actually related to IDLE, but to the fact that inspect.getsource merely finds the __file__ attribute of the module object

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-03-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: Your objection is noted but it is wrong. A Python program today cannot process arbitrarily large directories within a fixed amount of ram today due to os.listdir. This makes it unsuitable for file system cleanup tasks that we have run into on production

[issue1207613] Bottom Scroll Bar

2013-03-24 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1207613 ___ ___ Python-bugs-list

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2013-03-24 Thread Roger Serwy
Roger Serwy added the comment: The file uploaded in 2010 falls under my PSF contributor agreement which has the Apache V2.0 license. The updates to the code in the latest version of IdleX fall under the NCSA license. -- ___ Python tracker

[issue12226] use HTTPS by default for uploading packages to pypi

2013-03-24 Thread Éric Araujo
Éric Araujo added the comment: I’m not sure what “this” refers to (in “This is true” and “this should automatically work correctly”). My only concern is to avoid giving a false sense of security, so my initial stance was all-or-nothing. However with the recent trend of incremental

[issue17482] functools.update_wrapper mishandles __wrapped__

2013-03-24 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/issue17482 ___ ___ Python-bugs-list mailing list

[issue13266] Add inspect.unwrap(f) to easily unravel __wrapped__ chains

2013-03-24 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/issue13266 ___ ___ Python-bugs-list mailing list

[issue12226] use HTTPS by default for uploading packages to pypi

2013-03-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: By this, I meant the change I made. It was made in consultation with Richard Jones (added to nosy) at the PyCon sprints. -- nosy: +richard ___ Python tracker rep...@bugs.python.org

[issue12226] use HTTPS by default for uploading packages to pypi

2013-03-24 Thread Donald Stufft
Donald Stufft added the comment: Using HTTPS without a Certificate prevents passive attacks but not active attacks. It puts things in a _better_ situation but not the ideal situation. -- nosy: +dstufft ___ Python tracker rep...@bugs.python.org