[issue24984] document AF_BLUETOOTH socket address formats

2015-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset da9b26670e44 by Martin Panter in branch '3.4': Issue #24984: Document AF_BLUETOOTH socket address formats https://hg.python.org/cpython/rev/da9b26670e44 New changeset 4ce8450da22d by Martin Panter in branch '3.5': Issue #24984: Merge 3.4 into 3.5

[issue25038] test_os.TestSendfile.test_keywords() introduced a regression

2015-09-08 Thread STINNER Victor
New submission from STINNER Victor: The change e42e2bd47168 introduced a regression, test_os started to fail on FreeBSD. What is the rationale of the change? For example, test_os pass in the previous build on the same buildbot. I don't know if it makes sense to pass None to headers and/or trai

[issue25034] string.Formatter accepts empty fields but displays wrong when nested

2015-09-08 Thread Anthon van der Neut
Anthon van der Neut added the comment: The problem lies in the recursive call to _vformat which might consume fields without name ({}) and increment auto_arg_index, but that incremented value was not returned to the parent. Since the line became longer than pep8 allowed I wrapped all of the met

[issue24984] document AF_BLUETOOTH socket address formats

2015-09-08 Thread Martin Panter
Changes by Martin Panter : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24199] Idle: remove idlelib.idlever.py and its use in About dialog

2015-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks, Brett. Since I am not wrapping the warning, the default stacklevel seems to work on all versions. Still to do: 1. Something in the docs (all branches), but with an eye toward other deprecations coming later. 2. Actually remove file in 3.6 branch, but

[issue24991] Define instance mutability explicitly on type objects

2015-09-08 Thread Nick Coghlan
Nick Coghlan added the comment: Also adding Trent Nelson to the nosy list, as I believe this capability could potentially be relevant to PyParallel. The reason I say that is that if instance mutability (or the lack thereof) becomes a first class language concept, then we may be able to adopt a

[issue24199] Idle: remove idlelib.idlever.py and its use in About dialog

2015-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 55b62e2c59f8 by Terry Jan Reedy in branch '2.7': Issue 24199: Deprecate idlelib.idlever with a warning on import. https://hg.python.org/cpython/rev/55b62e2c59f8 New changeset c51514826126 by Terry Jan Reedy in branch '3.4': Issue 24199: Deprecate id

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Steve Dower
Steve Dower added the comment: FYI: we're making a new release (right now!) with the patch applied, that should go out tomorrow. If anyone spots anything important in the patch, I still really want to hear about it, but hopefully having something installable means we'll get at least a few day

[issue25021] product_setstate() Out-of-bounds Read

2015-09-08 Thread John Leitch
John Leitch added the comment: All appears well. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue12849] Cannot override 'connection: close' in urllib2 headers

2015-09-08 Thread Martin Panter
Martin Panter added the comment: Just closed Issue 25037 about a server that omits the chunk length headers when “Connection: closed” is used. I wonder if it would be such a bad idea to just remove the “Connection: closed” flag. It was added in 2004 in revision 5e7455fb8db6, but I do not agree

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Larry Hastings
Changes by Larry Hastings : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue25030] io.[Text]IOBase.seek doesn't take keyword parameter

2015-09-08 Thread Martin Panter
Martin Panter added the comment: I will try to commit your patch today when I up to it. Maybe the “draft” status of that PEP is out of date. The slash (/) indicator is already being used in some places in pydoc, e.g. $ pydoc object.__eq__ Help on wrapper_descriptor in object: object.__eq__ =

[issue25037] ValueError: invalid literal for int() with base 16: b'[\r\n'

2015-09-08 Thread Martin Panter
Martin Panter added the comment: FYI maybe your workaround of clearing HTTPResponse.chunked will work at the moment, but it would break if the server ever gets fixed and starts sending proper chunked responses. -- ___ Python tracker

[issue25037] ValueError: invalid literal for int() with base 16: b'[\r\n'

2015-09-08 Thread Martin Panter
Martin Panter added the comment: It looks like this is a fault in the server. It does not appear to support Connection: close over HTTP 1.1, which is what Python’s “urllib.request” module uses. I think you will either have to get the server fixed, or work around the problem by using the low le

[issue25030] io.

2015-09-08 Thread shiyao.ma
shiyao.ma added the comment: Thanks for your comment. I had a read of pep457. It's still in draft status, so incorporating the / indicator is not much a concern AFAIK. Any further modification for me to do to get that merged? -- title: io.[Text]IOBase.seek doesn't take keyword paramete

[issue25029] MemoryError in test_strptime

2015-09-08 Thread Steve Dower
Steve Dower added the comment: Probably should, since the fix that caused it was in for rc3. There's no section for 3.5.0 final yet though (that's my excuse, anyway :) ) -- ___ Python tracker _

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Steve Dower
Steve Dower added the comment: New patch. Mostly build and installer changes, but the distutils/_msvccompiler.py is also part of it. I've run a full build and done basic testing with a full test run going now, but I don't have a clean machine handy to try it without the full CRT install, so t

[issue23738] Clarify documentation of positional-only default values

2015-09-08 Thread Martin Panter
Martin Panter added the comment: I have committed the obvious keyword argument name fixes from my patch. Now patch v3 contains just the PEP 457 changes to be considered. -- ___ Python tracker _

[issue23738] Clarify documentation of positional-only default values

2015-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset fdb5d84f9948 by Martin Panter in branch '3.4': Issue #23738: Document and test actual keyword parameter names https://hg.python.org/cpython/rev/fdb5d84f9948 New changeset 40bf1ca3f715 by Martin Panter in branch '3.5': Issue #23738: Merge 3.4 into

[issue23738] Clarify documentation of positional-only default values

2015-09-08 Thread Martin Panter
Changes by Martin Panter : -- nosy: +berker.peksag versions: +Python 3.6 Added file: http://bugs.python.org/file40417/pos-defaults.v3.patch ___ Python tracker ___ ___

[issue25037] ValueError: invalid literal for int() with base 16: b'[\r\n'

2015-09-08 Thread Alan
New submission from Alan: I've written a piece of code to POST request to a web service. === import json import urllib from urllib import request from urllib import parse def Payload(start_date, end_date, pnode_list):

[issue25029] MemoryError in test_strptime

2015-09-08 Thread Larry Hastings
Larry Hastings added the comment: Does this need a Misc/NEWS entry? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue23447] Import fails when doing a circular import involving an `import *`

2015-09-08 Thread Steven Barker
Steven Barker added the comment: I've managed to partially fix my build environment, so I can verify that my patch (attached previously) works as intended. I'm not completely sure that it doesn't break unrelated things as my build still has lots of failing tests (which all appear to be unrelat

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Steve Dower
Steve Dower added the comment: Okay, here's a proposal: We bundle vcruntime140.dll with Python's normal install, so it's always there and extensions that use it do not need to ship anything. When distutils._msvccompiler is used to build an extension with a *different* version of MSVC, it will

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread eryksun
eryksun added the comment: I think 3.5 should be distributed with vcruntime140.dll. It seems a waste for python.exe, python35.dll, and all of the extension modules and dependent DLLs to each take an FLS slot: >>> import ctypes # +1 for _ctypes >>> kernel32 = ctypes.WinDLL('kernel32')

[issue25029] MemoryError in test_strptime

2015-09-08 Thread Steve Dower
Steve Dower added the comment: PR at https://bitbucket.org/larry/cpython350/pull-requests/21/issue-25029-memoryerror-in-test_strptime/diff -- ___ Python tracker ___

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: > I wish people wouldn't remove old patches. There's no harm in leaving them, > and it may be a useful historical record. It became hard to read this issue, it has a long history. My old patches for Python 3.4 were for ROUND_HALF_UP, but it was then decided t

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: I modified Python 3.6 to use ROUND_HALF_EVEN rounding mode in datetime.timedelta, datetime.datetime.fromtimestamp(), datetime.datetime.utcfromtimestamp(). round_half_even_py34.patch: Backport this change to Python 3.4. I tried to write a minimal patch only ch

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-08 Thread Larry Hastings
Larry Hastings added the comment: I wish people wouldn't remove old patches. There's no harm in leaving them, and it may be a useful historical record. -- ___ Python tracker __

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-08 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file40349/timedelta_round_half_up_py34.patch ___ Python tracker ___ ___ Pyth

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-08 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file40365/combined_py34.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-08 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file40364/fromtimestamp_round_half_up_py34-2.patch ___ Python tracker ___ __

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-08 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file40362/round_half_up_py34-2.patch ___ Python tracker ___ ___ Python-bugs-l

[issue24862] subprocess.Popen behaves incorrect when moved in process tree

2015-09-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: My gut feeling is to say "don't do that" when it comes to passing subprocess instances between processes (ie: pickling and unpickling them) and expecting them to work as if nothing had changed... You already acknowledge that this is a strange thing for an a

[issue25029] MemoryError in test_strptime

2015-09-08 Thread Steve Dower
Steve Dower added the comment: Thanks. I'll submit a PR for 3.5.0 later tonight - can't seem to clone Larry's repo successfully at work for some reason. -- ___ Python tracker __

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 171d5590ebc3 by Victor Stinner in branch 'default': Issue #23517: fromtimestamp() and utcfromtimestamp() methods of https://hg.python.org/cpython/rev/171d5590ebc3 -- ___ Python tracker

[issue25036] IDLE - infrastructure changes so editors don't assume they're in a toplevel

2015-09-08 Thread Mark Roseman
New submission from Mark Roseman: A necessary prerequisite of tabbed windows, editor and shell in same window etc. as per #24826, is that editors stop thinking they are in their own toplevel window. The attached component.patch is unfortunately long, but this was necessary due to the highly i

[issue25035] Getter/setter for argparse keys

2015-09-08 Thread Sworddragon
New submission from Sworddragon: On making a look at the argparse documentation to figure out if I can get the value of the choices key of a specific argument after argument parsing or if I have to implement it myself I noticed that there is a getter/setter for the default key (ArgumentParser.

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Steve Dower
Steve Dower added the comment: vcruntime140.dll *is* a system library when installed properly, and if someone installs VCRedist then all the bundled ones should be ignored. Over time, I expect to see extensions appear that depend on vcruntime150.dll rather than 140.dll, so it won't always be s

[issue25030] io.[Text]IOBase.seek doesn't take keyword parameter

2015-09-08 Thread Martin Panter
Martin Panter added the comment: This also bugs me, and the same problem exists in other parts of the documentation. Perhaps you might be interested in Issue 23738 and whether changing to the new notation used by PEP 457, pydoc, help(), Argument Clinic is any good: seek(offset, whence=SEEK_SE

[issue23738] Clarify documentation of positional-only default values

2015-09-08 Thread Martin Panter
Changes by Martin Panter : -- dependencies: +io.[Text]IOBase.seek doesn't take keyword parameter ___ Python tracker ___ ___ Python-bug

[issue25002] Deprecate asyncore/asynchat

2015-09-08 Thread Mark Lawrence
Mark Lawrence added the comment: IIRC I flagged up oustanding asyncore/asynchat issues months or even years back and Victor closed a lot down, so there shouldn't be many left to deal with. -- nosy: +BreamoreBoy ___ Python tracker

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0bb896f9b14 by Victor Stinner in branch 'default': Revert change 0eb8c182131e: https://hg.python.org/cpython/rev/d0bb896f9b14 -- ___ Python tracker __

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: > Perhaps the getentropy() check can explicitly rule out Solaris (either at the > autoconf level or in the random.c source code) if you prefer to keep the > getentropy() call on OpenBSD. Ok, here is a patch implementing this option. It keeps getentropy() on Op

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: Thread on python-dev: https://mail.python.org/pipermail/python-dev/2015-September/141439.html -- ___ Python tracker ___ ___

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Christoph Gohlke
Christoph Gohlke added the comment: I understand that distributing dependent DLLs next to extension modules is considered the best approach (which nevertheless fails in common cases), however vcruntime140.dll is a spec

[issue25034] string.Formatter accepts empty fields but displays wrong when nested

2015-09-08 Thread Eric V. Smith
Changes by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue24760] IDLE settings dialog shouldn't be modal

2015-09-08 Thread Mark Roseman
Mark Roseman added the comment: Note: about dialog part of the 'demodalize' patch split off and now in #24813; the bulk of the rest of it, which is really providing a cleaner FileList API rather than direct access to internals from EditorWindow, is in #25031. After the latter patch is accepted

[issue25034] string.Formatter accepts empty fields but displays wrong when nested

2015-09-08 Thread Anthon van der Neut
Anthon van der Neut added the comment: Here is a patch for Python-3.5.0rc3/Lib/test/test_string.py unittests fail: --- /opt/python/3.5/lib/python3.5/test/test_string.py 2015-09-08 17:06:07.099197904 +0200 +++ test_string.py 2015-09-08 21:47:01.471634309 +0200 @@ -58,6 +58,8 @@

[issue25034] string.Formatter accepts empty fields but displays wrong when nested

2015-09-08 Thread R. David Murray
Changes by R. David Murray : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue24912] The type of cached objects is mutable

2015-09-08 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -Guido.van.Rossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue25034] string.Formatter accepts empty fields but displays wrong when nested

2015-09-08 Thread Anthon van der Neut
New submission from Anthon van der Neut: Since 3.4.1, string.Formatter() accepts empty keys {}. If these are nested they give different results from explicitly numbered, where the same arguments applied "".format() give the expected results: from string import Formatter f = Formatter

[issue24991] Define instance mutability explicitly on type objects

2015-09-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24912] The type of cached objects is mutable

2015-09-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24249] unittest API for detecting test failure in cleanup/teardown

2015-09-08 Thread Adam
Changes by Adam : -- nosy: +azsorkin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue10716] Modernize pydoc to use better HTML and separate CSS

2015-09-08 Thread Adam
Changes by Adam : -- nosy: +azsorkin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue24899] Add an os.path <=> pathlib equivalence table in pathlib docs

2015-09-08 Thread Adam
Changes by Adam : -- nosy: +azsorkin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2015-09-08 Thread Adam
Changes by Adam : -- nosy: +azsorkin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue24913] deque.index() overruns deque boundary

2015-09-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24989] scan_eol() Buffer Over-read

2015-09-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue25021] product_setstate() Out-of-bounds Read

2015-09-08 Thread John Leitch
John Leitch added the comment: Glancing over the code, I see the issues you describe. Tonight I will verify your revised patch and report back. -- ___ Python tracker ___ ___

[issue22197] Allow better verbosity / output control in test cases

2015-09-08 Thread R. David Murray
R. David Murray added the comment: I like that approach as well, it is the kind of API I've been finding myself writing a fair bit lately (a context passed to class instances that otherwise don't store global state themselves). -- ___ Python tracker

[issue24199] Idle: remove idlelib.idlever.py and its use in About dialog

2015-09-08 Thread Brett Cannon
Brett Cannon added the comment: Typically it's warnings.warn(message, DeprecationWarning, stacklevel=2), but that stack level is wrong for Python 3.3 - 3.4 (fixed in 3.5.0). If this is purely for Python 3.6 I might be adding a nicer API for module deprecations, but if this is for other version

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-08 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue22197] Allow better verbosity / output control in test cases

2015-09-08 Thread Michael Foord
Michael Foord added the comment: Using the runner as a "context" passed to test cases (and accessible from tests) for this kind of configuration seems like a good approach to me. -- ___ Python tracker

[issue24199] Idle: remove idlelib.idlever.py and its use in About dialog

2015-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Re-opening because there is still the issue of adding a deprecation warning on import. Brett, can you either point me toward or post here the code you are planning to use for other stdlib modules? -- nosy: +brett.cannon resolution: fixed -> stage: re

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-08 Thread Donald Stufft
Donald Stufft added the comment: Oh yea, and (A)RC4 is broken and shouldn't be used for anything anymore, ChaCha is much better and is pretty great. -- ___ Python tracker ___ __

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-08 Thread Donald Stufft
Donald Stufft added the comment: (A)RC4 and ChaCha are just two stream ciphers that let you encrypt some data, they work by essentially producing a psuedo-random stream of data in a deterministic manner based off of a key, and than that is XOR'd with the data you want to encrypt. arc4random (a

[issue25033] Python 2.7.10 make - fails on some Standard Library Modules

2015-09-08 Thread R. David Murray
R. David Murray added the comment: This tracker is for reporting bugs in python. Our help forum is the python-list mailing list. Please post your questions there. -- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue25033] Python 2.7.10 make - fails on some Standard Library Modules

2015-09-08 Thread Ron Barak
New submission from Ron Barak: UnixWare7 only supports Python 1.6 I added Python 2.7.10 from sources. Python works, but its make did not finish cleanly: several Standard Library modules failed to build (see attached: it has to be a screenshot since VirtualBox does not support cut-and-paste on

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-08 Thread Guido van Rossum
Guido van Rossum added the comment: To Theo it's probably inconceivable that anyone would be using random numbers for anything besides crypto security. :-) His favorite is arc4random() (but he notes it's not based on RC4 anymore, but uses chacha -- I have no idea what any of that means :-). He

[issue25032] IDLE - same menubar across application

2015-09-08 Thread Mark Roseman
New submission from Mark Roseman: Right now the menubar is slightly different for the shell (has Debug) and the editor windows (has Format and Run). I'd like to suggest the same menubar be used for all windows. Rationale: 1. Easier to use, especially for systems that share a single menubar vi

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-08 Thread Tim Peters
Tim Peters added the comment: Guido, you're clearly talking with someone who knows too much ;-) If we're using the Twister for _anything_ related to crypto-level randomness, then I'd appalled - it was utterly unsuitable for any such purpose from day 1. But as a general-purpose generator for

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Steve Dower
Steve Dower added the comment: Attached a fix for distutils that will include the required vcruntime DLL with the extension. This is purely Python source code and only needs to be patched on the build machine. I have tested with a numpy build from source (setup.py bdist_wheel) and it works c

[issue25002] Deprecate asyncore/asynchat

2015-09-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: In addition to a PendingDeprecationWarning in 3.6, it might be nice to put a note in the asyncore/asynchat docs like we did for optparse. -- ___ Python tracker

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This looks more maintainable than I expected, so I will definite try it out. -- ___ Python tracker ___ _

[issue18590] Found text not always highlighted by Replace dialog on Windows

2015-09-08 Thread Mark Roseman
Mark Roseman added the comment: See #24972 for fix -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue22179] Idle. Search dialog found text not highlited on Windows

2015-09-08 Thread Mark Roseman
Mark Roseman added the comment: See #24972 for fix -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue24813] Idle Help dialogs shouldn't be modal

2015-09-08 Thread Mark Roseman
Mark Roseman added the comment: Have attached about.patch, which changes the about dialog to no longer be modal, as well as does a substantial redesign, where the various help texts are displayed within the dialog itself, rather than launching (further modal) new windows. Note: this new dialo

[issue25002] Deprecate asyncore/asynchat

2015-09-08 Thread Guido van Rossum
Guido van Rossum added the comment: > Is it ok to add the PendingDeprecationWarning in Python 3.5.1? I prefer to wait until 3.6. A bugfix release should not rock the boat, it should not make your code emit new warnings. -- ___ Python tracker

[issue25002] Deprecate asyncore/asynchat

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: > Ideally these modules should emit a deprecation warning starting in 3.6 Is it ok to add the PendingDeprecationWarning in Python 3.5.1? -- ___ Python tracker

[issue25002] Deprecate asyncore/asynchat

2015-09-08 Thread Brett Cannon
Brett Cannon added the comment: Victor's suggestion also aligns with my thinking on the subject as well: deprecate the modules but simply leave them sitting there for compatibility reasons until Python 4 of whenever we feel like the Python 2 transition is done for those that will ever bother m

[issue24999] Segfault in test_re.test_sre_character_class_literals() when Python is compiled by ICC

2015-09-08 Thread R. David Murray
R. David Murray added the comment: By the way Stefan, if you want a copy of the ICC compiler to test with, you can contact robert.s.c...@intel.com. -- ___ Python tracker ___ ___

[issue25031] IDLE - file list improvements

2015-09-08 Thread Mark Roseman
Mark Roseman added the comment: This first patch is a straight refactoring so that other modules do not touch the FileList internals. This is done in two steps. First, we remove references to inversedict etc. from outside FileList. Second, we run all notifications through FileList. So for ex

[issue25031] IDLE - file list improvements

2015-09-08 Thread Mark Roseman
New submission from Mark Roseman: This is a placeholder for what will be a series of patches to the FileList to generalize and enhance it. This is part of generalizing pieces of IDLE to be more flexible, including things like editors not necessarily being in toplevel windows, dialogs not bein

[issue24999] Segfault in test_re.test_sre_character_class_literals() when Python is compiled by ICC

2015-09-08 Thread Stefan Krah
Stefan Krah added the comment: Visual studio apparently has the option /F to set the stack size. Maybe ICC has one, too. -- ___ Python tracker ___ ___

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Steve Dower
Steve Dower added the comment: It shouldn't be - locale state is in the shared part of the CRT. That is one of the reasons I was keen to move to this model (everyone seems to think that FILE* is the only problem with mixing CRT versions :) ) -- ___

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Stefan Krah
Stefan Krah added the comment: The reason I asked: We had issues where extension modules linked against a different CRT had isolated locale settings from the interpreter, i.e., changes made by the module would not be seen by the interpreter. I don't know if this is still an issue with the new ru

[issue25029] MemoryError in test_strptime

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: My test runs the following command on Linux (Fedora 22): make && bash -c 'ulimit -v 100; ./python -u -m test -v test_strptime' * current default branch (rev 3c0c153d6b02): MemoryError * with 25029_1.patch: the test pass -- ___

[issue25029] MemoryError in test_strptime

2015-09-08 Thread Steve Dower
Steve Dower added the comment: @eryksun - that's exactly what I've just done :) Unfortunately, I don't have a _locale module, so I can't do Victor's test. Attached my patch in case Victor is around to test it. -- keywords: +patch Added file: http://bugs.python.org/file40407/25029_1.pat

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Stefan Krah
Stefan Krah added the comment: It seems to be /MTd. Sorry for the noise (and yay! for horizontal scrolling :). -- ___ Python tracker ___ _

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Steve Dower
Steve Dower added the comment: Kind-of... We use the same flags I described in my blog[1] so that we don't have any version-specific dependencies. You should (might) see /MT in the build logs, but then we replace most of the static CRT with the dynamic (but versionless) one. The versioned part

[issue25002] Deprecate asyncore/asynchat

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: If you care of smooth python 2 => python 3 migration, I suggest to deprecate smtpd and remove it later, when asyncore & asynchat will also be removed (ex: in Python 4?). I suggest to write a *new* SMTP server module using asyncio. As I explained, the API will be

[issue25025] Missing 3.5.0 RC3 tarballs (FTP) on Fastly nodes

2015-09-08 Thread koobs
koobs added the comment: Was a bug, now fixed (adjust title/resolution to compensate) Thanks Berker! -- resolution: not a bug -> fixed title: Missing 3.5.0 RC3 tarballs (FTP) -> Missing 3.5.0 RC3 tarballs (FTP) on Fastly nodes ___ Python tracker

[issue25025] Missing 3.5.0 RC3 tarballs (FTP)

2015-09-08 Thread Berker Peksag
Berker Peksag added the comment: koobs and I have confirmed(on #python-dev) this was a cache issue. -- nosy: +berker.peksag resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker __

[issue24999] Segfault in test_re.test_sre_character_class_literals() when Python is compiled by ICC

2015-09-08 Thread R. David Murray
R. David Murray added the comment: Ah, interesting. We know that there are stack overflow issues on the ICC windows build (they show up consistently in a debug build). -- ___ Python tracker __

[issue25027] Python 3.5.0rc3 on Windows can not load more than 127 C extension modules

2015-09-08 Thread Stefan Krah
Stefan Krah added the comment: Is Python-core built with /MD? I cannot see the flags in the buildbot logs. -- ___ Python tracker ___ _

[issue25024] Allow passing "delete=False" to TemporaryDirectory

2015-09-08 Thread R. David Murray
R. David Murray added the comment: The two cases are not parallel, in that NamedTemporaryFile closes the file at the end of the context manager, whereas the *only* thing the TemporaryDirectory does is delete the directory on cleanup. There is some value to the "parallel interface" argument, so

[issue25029] MemoryError in test_strptime

2015-09-08 Thread eryksun
eryksun added the comment: Steve, it seems to me that for MSVC the EINVAL test should come first: _Py_BEGIN_SUPPRESS_IPH olderr = errno; errno = 0; buflen = format_time(outbuf, i, fmt, &buf); err = errno; errno = olderr; _Py_END_SUPPRESS_IPH if (buflen ==

[issue24917] time_strftime() Buffer Over-read

2015-09-08 Thread Steve Dower
Steve Dower added the comment: I'll fix it on #25029. This thread is already too long for my liking. -- resolution: -> fixed status: open -> closed superseder: -> MemoryError in test_strptime ___ Python tracker _

  1   2   >