[issue25026] (FreeBSD/OSX) Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

2015-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You need just replace unsigned_int with unsigned_long in Clinic declaration for fcntl.ioctl in Modules/fcntlmodule.c and regenerate Clinic code (make clinic). -- nosy: +larry, serhiy.storchaka ___ Python tracker <

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

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: Zachary Ware added the comment: > To be fair, other buildbots are also segfaulting (or otherwise silently > failing) on those: Sorry, the following issues are unrelated. > 3.4 on XP, test_json: > http://buildbot.python.org/all/builders/x86%20XP-4%203.4/builds/

[issue25026] (FreeBSD/OSX) Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

2015-09-08 Thread koobs
koobs added the comment: Thanks for the insight Serhiy. A few questions .. Is clinic code updated based on *.c declarations at build time? If not when/how is the best place/method to run this for our ports/package builds? Does your suggestion to switch unsigned_int to unsigned_long imply that

[issue25012] pathlib should allow converting to absolute paths without resolving symlinks

2015-09-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 08/09/2015 01:21, David Barnett a écrit : > > My use case was that I had an equality check like this failing: > expected_path = pathlib.Path.cwd() / pathlib.Path('some/path') > pathlib.Path('some/path') == expected_path > I suppose I should file that as a

[issue23415] add-to-pydotorg does not support .exe installers for Windows

2015-09-08 Thread Larry Hastings
Larry Hastings added the comment: I fixed it. My original attempted hack had bad regular expressions. Once my regular expressions worked properly it was all fine. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Py

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

2015-09-08 Thread Christoph Gohlke
New submission from Christoph Gohlke: This issue was first mentioned at . The attached script (test_dll_load_failed.py) builds up to 256 C extension modules and imports them. On Python 3.4.3 the script passes while on Python 3.5.0rc3 the script fail

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

2015-09-08 Thread Christoph Gohlke
Changes by Christoph Gohlke : Added file: http://bugs.python.org/file40402/test_dll_load_failed.py ___ Python tracker ___ ___ Python-bugs-list

[issue25026] (FreeBSD/OSX) Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

2015-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, the clinic code is not updated at build time. Your should either update clinic code just after patching Modules/fcntlmodule.c (Python 3 is needed), or update clinic code at patch creation time and include changes of generated clinic files in the patch.

[issue25018] test_shutil.test_make_archive() fails on Windows 8.1

2015-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tests failed on Mac OS X. http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.5/builds/254/steps/test/logs/stdio == FAIL: test_make_tarball (test.test_shutil.TestShutil) ---

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

2015-09-08 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Interesting. Let me have a look. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue25026] (FreeBSD/OSX) Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

2015-09-08 Thread koobs
koobs added the comment: @Serhiy If by "type of code at the time of commit" you mean upstream python code, msg250163 contains a link to what bits we replace in fcntlmodule.c and that "I -> k" has always been the same. -- ___ Python tracker

[issue25026] (FreeBSD/OSX) Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

2015-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Originally the type of the code variable in fcntl_ioctl() was int. In cbad1f5cabb1 it was changed to unsigned int. I guess that the log message that you cited was written before this. -- ___ Python tracker

[issue25028] Reading unicode json string fails depending on LANG env

2015-09-08 Thread Yves Müller
New submission from Yves Müller: I am trying to read json containing a UTF-8 string from a file. It works when running it from a shell with LANG=en_GB.utf8 set, but fails from the empty environment. > python3 --version Python 3.4.0 > cat test.json { "test": "Ümläute" } > env -u LANG python3 -

[issue25023] time.strftime('%a'), ValueError: embedded null byte, in ko locale

2015-09-08 Thread eryksun
eryksun added the comment: It seems VC 14 has a bug here. In the new C runtime, strftime is implemented by calling wcsftime as follows: size_t const result = _Wcsftime_l(wstring.get(), maxsize, wformat.get(), timeptr, lc_time_arg, locale); if (result == 0) return 0; // Cop

[issue25023] time.strftime('%a'), ValueError: embedded null byte, in ko locale

2015-09-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +belopolsky -serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue25029] MemoryError in test_strptime

2015-09-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: All builds on edelsohn-fedora-ppc64 are red starting from build 55 for 3.x and build 41 for 3.5. 3.4 is green. http://buildbot.python.org/all/builders/PPC64%20Fedora%203.x/builds/55/ http://buildbot.python.org/all/builders/PPC64%20Fedora%203.5/builds/41/ ==

[issue25026] (FreeBSD/OSX) Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

2015-09-08 Thread Martin Panter
Martin Panter added the comment: If necessary, perhaps we could unconditionally change the Python-level argument to unsigned_long, and then add a conditional bit in the C code to convert it to int if appropriate. But I wonder if most of the problem is fixed by Issue 1471 (linked from the comm

[issue25025] Missing 3.5.0 RC3 tarballs (FTP)

2015-09-08 Thread Martin Panter
Martin Panter added the comment: They seem to be there now: https://www.python.org/ftp/python/3.5.0/Python-3.5.0rc3.tar.xz https://www.python.org/ftp/python/3.5.0/Python-3.5.0rc3.tgz Perhaps you were just too impatient? Or maybe confused by the strange sorting, EXE files following tar files?

[issue25028] Reading unicode json string fails depending on LANG env

2015-09-08 Thread Martin Panter
Martin Panter added the comment: By default, open("test.json") will open the file in text mode, decoding from the encoding determined by your environment. See , in particular, “The default encoding is platform dependent (whatever locale.

[issue24937] Multiple problems in getters & setters in capsulethunk.h

2015-09-08 Thread Petr Viktorin
Petr Viktorin added the comment: This patch removes capsulethunk.h from the docs, and directs the kind reader to the py3c project, which carries a fixed and tested version of it, along with the docs. Larry, would you be OK with releasing capsulethunk.h under the MIT license? The PSF license

[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: Yes, according to C99 the shift is undefined: 6.5.7: "If the value of the right operand is negative or is greater than or equal to the width of the promoted left operand, the behavior is undefined." -- ___ Python tra

[issue13053] Add Capsule migration documentation to "cporting"

2015-09-08 Thread Petr Viktorin
Petr Viktorin added the comment: As capsulethunk.h is only needed for Python 2.6 and below, which are no longer maintained, in issue24937 we are discussing moving the header to an external project. -- nosy: +encukou ___ 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: If the scientific stack is unusable, I think this should be a release blocker. -- nosy: +skrah priority: normal -> release blocker ___ Python tracker _

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

2015-09-08 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue25017] htmllib deprecated: Which library to use? Missing sane default in docs

2015-09-08 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +easy stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

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

2015-09-08 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: An alternative patch. Please test this since I don't have a development system. -- keywords: +needs review Added file: http://bugs.python.org/file40404/itertoolsmodule.c.patch ___ Python tracker

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

2015-09-08 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: There are two problems with the previous patch: 1) it can put out of bounds values into lz->indices. This can cause problems then next time product_next() is called. 2) the case of a pool having zero size is not dealt with (it wasn't before either). My

[issue25014] Add contextlib.itercm()

2015-09-08 Thread Ezio Melotti
Ezio Melotti added the comment: > Having spent a few days pondering this after Ezio first mentioned the > concept to me on IRC, I'm rejecting this on the basis of "not every 3 > line function needs to be in the standard library". When I first mentioned this to Nick on IRC, the implementation of

[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: Perhaps the stack overflow hypothesis applies here, too. You could try changing Py_DEFAULT_RECURSION_LIMIT in ceval.c to lower values. -- ___ Python tracker _

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

2015-09-08 Thread Larry Hastings
Larry Hastings added the comment: This is your wheelhouse, Steve. -- assignee: -> steve.dower ___ Python tracker ___ ___ Python-bugs-

[issue25029] MemoryError in test_strptime

2015-09-08 Thread Larry Hastings
Larry Hastings added the comment: Any clue here? Is this unaligned access? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24937] Multiple problems in getters & setters in capsulethunk.h

2015-09-08 Thread Larry Hastings
Larry Hastings added the comment: I'm the author of capsulethunk.h, and I am happy to relicense it under MIT. How would you feel about leaving capsulethunk.h there, for posterity's sakes, but adding "for updates please see py3c"? We could even update the capsulethunk.h there. I'm not saying

[issue25029] MemoryError in test_strptime

2015-09-08 Thread David Edelsohn
David Edelsohn added the comment: PPC64 is not a strict alignment system. The system is running a non-recent release of Fedora, so it could be a bad interaction with libc. -- ___ Python tracker __

[issue25025] Missing 3.5.0 RC3 tarballs (FTP)

2015-09-08 Thread koobs
koobs added the comment: @Martin, weird, I'm still not seeing any files/dirs matching 'rc3'. I have refreshed properly (cache-control 0 + empty cache) and still getting a similar listing. Fresh fetch output on the index URL: Python-3.5.0rc1.tar.xz 11-Aug-2015 01:00 14798596^M Python-3.5.0rc

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

2015-09-08 Thread Mark Roseman
Mark Roseman added the comment: Ok. In case you're curious or might find it useful elsewhere, I've attached sphinxview.py, which renders the HTML into a text widget (with formatting, it's not converted to plain text). -- Added file: http://bugs.python.org/file40405/sphinxview.py _

[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: Let me experiment today with a few of the proposals I posted in the other thread and get back to you. I suspect someone will need to ship vcruntime.dll, and I'd rather it was the extension. -- ___ Python tracker

[issue25022] Remove PC/example_nt/

2015-09-08 Thread Steve Dower
Steve Dower added the comment: Go for it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue25029] MemoryError in test_strptime

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: I ran test_strptime & test_os with tracemalloc: test_os memory peak is higher than test_strptime memory peak (I ran the two tests independently). So the bug cannot be reproduce on my Fedora 22 (x86_64). -- nosy: +haypo

[issue24937] Multiple problems in getters & setters in capsulethunk.h

2015-09-08 Thread Petr Viktorin
Petr Viktorin added the comment: Thank you for the license. I mentioned my project mainly as a place where this code can be *tested*. I have no problem with keeping capsulethunk.h in the Python docs, and synchronizing the two projects if changes are made on either side. In other words, feel f

[issue25029] MemoryError in test_strptime

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: Oh wait, the VmPeak is *much* high when running test_strptime: * test_os VmPeak: 380 992 kB * test_strptime VmPeak: 8 608 972 kB (8 GB!?) 1 GB should be enough for everybody: $ bash -c 'ulimit -v 100; ./python -m test -v test_strptime' .. =

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

2015-09-08 Thread shiyao.ma
New submission from shiyao.ma: The doc is here: https://docs.python.org/3.5/library/io.html#io.IOBase.seek and here: https://docs.python.org/3.5/library/io.html#io.TextIOBase.seek It is said the parameter list is in the form of: seek(offset, whence=SEEK_SET) But actually only: seek(offset) or s

[issue25029] MemoryError in test_strptime

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: It's a regression introduced by c31dad22c80d (Issue #24917). -- nosy: +steve.dower ___ Python tracker ___ __

[issue24917] time_strftime() Buffer Over-read

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: The change c31dad22c80d introduced a regression: issue #25029. -- resolution: fixed -> status: closed -> open ___ Python tracker ___ __

[issue24917] time_strftime() Buffer Over-read

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: Oh, tracemalloc sees the memory peak of 8 GB too: $ ./python -X tracemalloc -i -m test -v test_strptime ... SystemExit: True >>> import tracemalloc; tracemalloc.get_traced_memory()[1] / 1024.**2 8201.658247947693 Memory peak: 8201.7 MB (8.2 GB!). --

[issue24984] document AF_BLUETOOTH socket address formats

2015-09-08 Thread Tim Tisdall
Tim Tisdall added the comment: Martin, looks good. Thanks for pointing out how to properly tag the version change, and thanks for adding me to the ACKS file. -- ___ Python tracker

[issue25029] MemoryError in test_strptime

2015-09-08 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I would blame this change: . The rest should not have any effect on Linux. -- nosy: +belopolsky ___ Python tracker _

[issue25029] MemoryError in test_strptime

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: Script to reproduce the issue: --- import time import locale import pprint time_tuple = time.struct_time((1999,3,17,1,44,55,2,76,0)) p1 = time.strftime("%p", time_tuple) print("current LC_TIME", repr(p1)) locale.setlocale(locale.LC_TIME, ('de_DE', 'UTF8')) p2

[issue25029] MemoryError in test_strptime

2015-09-08 Thread STINNER Victor
STINNER Victor added the comment: Again, this issue remembers me the idea of rewriting strftime() in Python. We already have _strptime.py. -- ___ Python tracker ___

[issue25012] pathlib should allow converting to absolute paths without resolving symlinks

2015-09-08 Thread David Barnett
David Barnett added the comment: Right, and to clarify a bit further why I didn't just use A.resolve() == B.resolve() from the beginning, this is in a unit test where the equality check wasn't in my code. I wanted to assert I received a certain call on my mock, like mock_open_method.assert_ca

[issue25012] pathlib should allow converting to absolute paths without resolving symlinks

2015-09-08 Thread David Barnett
David Barnett added the comment: And the symlinks for my paths refer to really cryptic hashes in a virtual filesystem for the tests, so rendering them into the assertion failed errors would really make the failure messages hard to interpret. -- ___

[issue25000] _mock_call does not properly grab args and kwargs

2015-09-08 Thread Michael Foord
Michael Foord added the comment: This is actually the specified and documented behaviour of mock when it is passed mutable arguments. Deep copying arguments on calls is rife with potential problems (not everything can be copied and it breaks comparison by identity). The documentation suggests

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

2015-09-08 Thread Guido van Rossum
Guido van Rossum added the comment: Also, Theo believes that our Mersenne Twister is outdated and os.urandom() is the only reasonable alternative. So we might as well keep it fast. -- ___ Python tracker __

[issue25029] MemoryError in test_strptime

2015-09-08 Thread Steve Dower
Steve Dower added the comment: Sorry Larry. I'll fix it. -- assignee: -> steve.dower priority: normal -> release blocker ___ Python tracker ___

[issue25002] Deprecate asyncore/asynchat

2015-09-08 Thread R. David Murray
R. David Murray added the comment: Yes, stopping changing asyncore/asynchat also means it becomes a stable target for people who *are* using it for 2/3 code. We may have effectively done this already (without closing the open issues): the last asyncore-specific change (as opposed to library-w

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

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

[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

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

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

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

[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

[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

[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

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

[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

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

[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

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

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

[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

[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

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

[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

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

[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

[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

[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

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

[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

[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

[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

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

[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

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

[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

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

[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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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

[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

  1   2   >