[issue17540] logging formatter support 'style' key in dictionary config

2013-03-24 Thread monson
New submission from monson: Since from version 3.2 ``style`` parameter was added in class logging.Formatter, it should be availably configured in configuration dictionary or file. -- components: Library (Lib) files: add-logging-config-key-style.patch keywords: patch messages: 185188 no

[issue17539] Use the builtins module in the unittest.mock.patch example

2013-03-24 Thread Berker Peksag
New submission from Berker Peksag: (initially reported at http://mail.python.org/pipermail/docs/2013-February/013331.html ) -- assignee: docs@python components: Documentation files: unittest-mock-example.diff keywords: patch messages: 185187 nosy: berker.peksag, docs@python priority: no

[issue17514] Add the license to argparse.py

2013-03-24 Thread Georg Brandl
Georg Brandl added the comment: BTW, the correct blurb would probably be # Copyright 200X Steven Bethard. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. -- ___ Python tracker ___

[issue17514] Add the license to argparse.py

2013-03-24 Thread Georg Brandl
Georg Brandl added the comment: > Speaking personally, I wouldn't want license boilerplates to start > cluttering every file in the Python source tree. They are an annoyance > when opening and reading source files. On the other hand, a simple file header would make sense, and make standard libr

[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

[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

[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 : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17482] functools.update_wrapper mishandles __wrapped__

2013-03-24 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

[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

[issue1207613] Bottom Scroll Bar

2013-03-24 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

[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

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

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

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

[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

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

[issue694339] IDLE: Dedenting with Shift+Tab

2013-03-24 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

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

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

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

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

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

[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

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

[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

[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

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

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[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: http://mail.pyth

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

2013-03-24 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

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

[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 http://hg.python.

[issue17425] Update OpenSSL versions in Windows builds

2013-03-24 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[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 http://hg.pyth

[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.: foo,

[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: http://hg.gerg.ca/cpython/rev/6718

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

[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

[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 R. David Murray
Changes by R. David Murray : -- type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

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

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

2013-03-24 Thread R. David Murray
Changes by R. David Murray : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

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

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

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

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

[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

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

[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

[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, sys.stdi

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

[issue14010] deeply nested filter segfaults

2013-03-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[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

[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 ___ ___ Python-bugs-

[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

[issue17519] unittest should not try to run abstract classes

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue17516] Dead code should be removed

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> patch review type: -> enhancement ___ Python tracker ___ ___ Python-bugs-

[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

[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. http://h

[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

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

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue17482] functools.update_wrapper mishandles __wrapped__

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue8796] Deprecate codecs.open()

2013-03-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

2013-03-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue17441] Do not cache re.compile

2013-03-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[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

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

2013-03-24 Thread Drekin
Changes by Drekin : Added file: http://bugs.python.org/file29564/win_unicode_console_3.py ___ Python tracker ___ ___ Python-bugs-list mailing l

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

[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

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

[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 : -- keywords: +patch Added file: http://bugs.python.org/file29561/sendfile_doc.diff ___ Python tracker ___ ___

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

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

[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

[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 ___ ___ Python-bugs-list mail

[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: http://bugs.python.or

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

[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(). ---

[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

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

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

[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

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

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