[issue23220] Documents input/output effects of how IDLE runs user code

2015-09-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Issue #21995 discussed same issue from cause side, as opposed to result. The new section is partly based on what I wrote above. I am not satisfied with it yet. New changeset ac6ade0c5927 by Terry Jan Reedy in branch '2.7': Issue 21995: Explain some difference

[issue21995] Idle: pseudofiles have no buffer attribute.

2015-09-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Related #23220 has draft of part of what pushed. I want to do more on the subject. -- assignee: docs@python -> terry.reedy ___ Python tracker

[issue25262] Issues with BINUNICODE8 and BINBYTES8 opcodes in pickle

2015-09-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: There are issues with BINUNICODE8 and BINBYTES8 opcodes in pickle. 1. Unpickling BINBYTES8 is not implemented in Python implementation. 2. Highest 32 bits of 64-bit size are silently ignored in C implementation on 32-bit platforms. 3. There are no tests f

[issue24028] Idle: add doc subsection on calltips

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 395d363e34e1 by Terry Jan Reedy in branch '2.7': Issue #24028: Add subsection about Idle calltips. https://hg.python.org/cpython/rev/395d363e34e1 New changeset 8103dadb9ef7 by Terry Jan Reedy in branch '3.4': Issue #24028: Add subsection about Idle

[issue24028] Idle: add doc subsection on calltips

2015-09-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker ___ __

[issue25258] HtmlParser doesn't handle void element tags correctly

2015-09-28 Thread Xiang Zhang
Xiang Zhang added the comment: >From the specification, void element has no end tag, so I think this behaviour can not be called incorrect. For void element, only handle_starttag is called. And for start tag ends with '/>', actually HTMLParser calls handle_startendtag, which invokes handle_start

[issue25091] Windows Installer uses small font

2015-09-28 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue21506] Windows MSI installer should mklink (symlink) python.exe to python2.7.exe

2015-09-28 Thread Steve Dower
Steve Dower added the comment: The file is so small that a second copy is just as cheap - literally everything is in the DLL. It could certainly be added to 3.6, and I'll probably get to it eventually, but right now I'm still focused on 3.5. -- ___

[issue25261] Incorrect Return Values for any() and all() Built-in Functions

2015-09-28 Thread Zachary Ware
Changes by Zachary Ware : -- components: +Library (Lib) -Build status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue25250] AttributeError: 'MSVCCompiler' object has no attribute '_MSVCCompiler__version'

2015-09-28 Thread Steve Dower
Steve Dower added the comment: if sys.version_info[:2] >= (3, 3): # MSVC version is >= 9.0 Alternatively: if sys.version_info[:2] >= (3, 5): # MSVC version is >= 14.0, or # _msvccompiler.MSVCCompiler does not have __version or if self.compiler.compiler_type == "msvc" and int(getat

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2015-09-28 Thread Tim Peters
Changes by Tim Peters : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue25261] Incorrect Return Values for any() and all() Built-in Functions

2015-09-28 Thread Tim Peters
Tim Peters added the comment: You wholly consume the iterator after the first time you apply `list()` to it. Therefore both `any()` and `all()` see an empty iterator, and return the results appropriate for an empty sequence: >>> multiples_of_6 = (not (i % 6) for i in range(1, 10)) >>> list(mu

[issue25261] Incorrect Return Values for any() and all() Built-in Functions

2015-09-28 Thread Steven D'Aprano
Steven D'Aprano added the comment: Not a bug. You have used a generator expression, so it is exhausted once you have run over it once using list(). Then, you run over it again with any() and all(), but they don't see any values so return the default value. Change the generator expression to a

[issue25261] Incorrect Return Values for any() and all() Built-in Functions

2015-09-28 Thread Sreenivasulu Saya
New submission from Sreenivasulu Saya: The results displayed by the any() and all() is incorrect (differs from what is documented and what makes sense). Here is the code: - multiples_of_6 = (not (i % 6) for i in range(1, 10)) print("List: ", list(multiples_of_6 ), "\nAny: ", an

[issue25233] AssertionError from asyncio Queue get

2015-09-28 Thread Guido van Rossum
Changes by Guido van Rossum : -- assignee: -> gvanrossum resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2015-09-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file40614/issue24773-s3.diff ___ Python tracker ___ ___ Python-bugs-list

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2015-09-28 Thread Memeplex
Memeplex added the comment: What's missing for this patch to be applied? Can I help somehow? -- nosy: +memeplex ___ Python tracker ___

[issue9051] Improve pickle format for timezone aware datetime instances

2015-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I think we will still need to maintain _utc global indefinitely to keep the > old pickles readable. We have no need to maintain _utc global indefinitely if don't add it. > On the other hand, it looks like support for qualnames is only available with > pic

[issue25258] HtmlParser doesn't handle void element tags correctly

2015-09-28 Thread Josh Rosenberg
Josh Rosenberg added the comment: The example for Parsing an element with a few attributes and a title:" in https://docs.python.org/2/library/htmlparser.html#examples demonstrates this as expected behavior, so I'm not sure it can be changed: >>> parser.feed('') Start tag: img

[issue9051] Improve pickle format for timezone aware datetime instances

2015-09-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > there is a risk that the "_utc" variable can be renamed > and this will break pickle compatibility. I think we will still need to maintain _utc global indefinitely to keep the old pickles readable. On the other hand, it looks like support for qualnames

[issue9051] Improve pickle format for timezone aware datetime instances

2015-09-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2015-09-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Changing the title to reference PEP 495. -- stage: -> needs patch title: Add local time disambiguation flag to datetime -> Implement PEP 495 (Local Time Disambiguation) ___ Python tracker

[issue25259] readline macros can segfault Python

2015-09-28 Thread STINNER Victor
STINNER Victor added the comment: Python uses an user handler "rlhandler()" which calls rl_callback_handler_remove(). Is it safe to call rl_callback_handler_remove() in an user handler? Traceback on the crash: Program received signal SIGSEGV, Segmentation fault. 0x in ?? () (g

[issue25260] python -m test --coverage doesn't work on Windows

2015-09-28 Thread STINNER Victor
STINNER Victor added the comment: Ooops, copy/paste failure. The right diff is: Changeset 294f8aeb4d4b: "Implemented PEP 405 (Python virtual environments)." -tracer = trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix, +tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base

[issue25260] python -m test --coverage doesn't work on Windows

2015-09-28 Thread STINNER Victor
STINNER Victor added the comment: Changes on ignoredirs: Changeset 294f8aeb4d4b: "Implemented PEP 405 (Python virtual environments)." -tracer = trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix, libpath], - trace=0, count=1) +tracer = trace.Trace(ig

[issue25260] python -m test --coverage doesn't work on Windows

2015-09-28 Thread Ned Batchelder
Ned Batchelder added the comment: What version of coverage.py is this? -- nosy: +nedbat ___ Python tracker ___ ___ Python-bugs-list ma

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset a9fe8cd339b1 by Victor Stinner in branch 'default': Fix test_regrtest.test_tools_buildbot_test() https://hg.python.org/cpython/rev/a9fe8cd339b1 -- ___ Python tracker _

[issue25260] python -m test --coverage doesn't work on Windows

2015-09-28 Thread STINNER Victor
STINNER Victor added the comment: I added a new test for "-m test --coverage" in test_regrtest, but I skipped the test on Windows. -- ___ Python tracker ___

[issue25260] python -m test --coverage doesn't work on Windows

2015-09-28 Thread STINNER Victor
New submission from STINNER Victor: "python -m test --coverage" doesn't work on Windows because the tracer ignores the root directory of Python source code. The code works on Linux because sys.base_prefix and sys.base_exec_prefix don't point to the Python source code, but to /usr/local. I'm n

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3393d86c3bb2 by Victor Stinner in branch 'default': Issue #25220: Add functional tests to test_regrtest https://hg.python.org/cpython/rev/3393d86c3bb2 -- ___ Python tracker

[issue9917] resource max value represented as signed when should be unsigned

2015-09-28 Thread Arnon Yaari
Arnon Yaari added the comment: I'm submitting a patch for review. I tested this and verified the values on Redhat and Unbuntu (both x86 and x64), Mac OS X (x64) and AIX (32-bit process on ppc64). 'configure' and 'pyconfig.h.in' were auto-generated with autoconf and autoheader, respectively. A

[issue25255] Security of CPython Builds

2015-09-28 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue25255] Security of CPython Builds

2015-09-28 Thread phelix
phelix added the comment: Thank you all for your responses. > Having read your link [2] above (at least briefly), it seems the aim is to > compare hashes of builds from multiple people to verify that nobody > maliciously modified the binaries. Exactly. Also it might protect the people actually

[issue25259] readline macros can segfault Python

2015-09-28 Thread Tim Chase
New submission from Tim Chase: Attempting to use a readline macro (use "C-x (" to start recording, "C-x )" to stop recording, and "C-x e" to playback) with more than one newline in it will cause a segfault. The behavior also presents in the [`rlwrap` tool](https://github.com/hanslub42/rlwrap/

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2015-09-28 Thread Bob Hossley
Bob Hossley added the comment: Thank you R. David Murray. I look forward to being able to move my application to Python 3. -- ___ Python tracker ___

[issue25233] AssertionError from asyncio Queue get

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 58695845e159 by Guido van Rossum in branch 'default': Issue #25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.5->default.) https://hg.python.org/cpython/rev/58695845e159 -- __

[issue25252] Hard-coded line ending in asyncio.streams.StreamReader.readline

2015-09-28 Thread Eric V. Smith
Eric V. Smith added the comment: I'm closing this as unneeded. -- resolution: -> rejected stage: -> resolved ___ Python tracker ___

[issue25255] Security of CPython Builds

2015-09-28 Thread Steve Dower
Steve Dower added the comment: Having read your link [2] above (at least briefly), it seems the aim is to compare hashes of builds from multiple people to verify that nobody maliciously modified the binaries. That isn't going to work for Windows because we cryptographically sign the binaries.

[issue25255] Security of CPython Builds

2015-09-28 Thread Steve Dower
Steve Dower added the comment: I do need to contribute some PEP 101 updates at some point, since the Windows build no longer resembles what is described there, but it's mostly about configuration. * Install x, y, z * Obtain extra externals * Install signing certificate * Configure non-default

[issue25125] "Edit with IDLE" does not work for shortcuts

2015-09-28 Thread eryksun
eryksun added the comment: > Does notepad handle clicking "edit" on a shortcut to a batch file? > Maybe subcommands don't have exactly the same semantics as regular > verbs... In Windows 7 SP1 a regular verb works fine from a shortcut, but apparently not a subcommand. OTOH, Windows 10 seems t

[issue23600] tizinfo.fromutc changed for tzinfo wih StdOffset=0, DstOffset=1

2015-09-28 Thread Tim Peters
Tim Peters added the comment: Thank you for your persistence and patience, Peter! It shouldn't have been this hard for you :-( -- ___ Python tracker ___ ___

[issue25258] HtmlParser doesn't handle void element tags correctly

2015-09-28 Thread R. David Murray
Changes by R. David Murray : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue25258] HtmlParser doesn't handle void element tags correctly

2015-09-28 Thread Chenyun Yang
New submission from Chenyun Yang: For void elements such as (, ), there doesn't need to have xhtml empty end tag. HtmlParser which relies on the XHTML empty end syntax failed to handle this situation. from HTMLParser import HTMLParser # create a subclass and override the handler methods clas

[issue25247] Tkinter modules built successfully but removed because they could not be imported

2015-09-28 Thread Abrantes Araujo Silva Filho
Abrantes Araujo Silva Filho added the comment: I tried with LD_RUN_PATH, but the same compile error still there. -- ___ Python tracker ___ ___

[issue25255] Security of CPython Builds

2015-09-28 Thread R. David Murray
R. David Murray added the comment: Well, making the build process more automated would help us, so if someone wants to help make that kind of thing happen it will probably be well received. The platform installer builds (OSX, Windows) are tricky things, though, and a fair amount of knowledge

[issue25125] "Edit with IDLE" does not work for shortcuts

2015-09-28 Thread Steve Dower
Steve Dower added the comment: Does notepad handle clicking "edit" on a shortcut to a batch file? Maybe subcommands don't have exactly the same semantics as regular verbs... -- ___ Python tracker _

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2015-09-28 Thread R. David Murray
R. David Murray added the comment: This is fixed in Python3. The fix was part of a large change to the header folding algorithm, and I'm not sure it is appropriate to backport it. I'm guessing we would, though, if someone wants to do the work for the backport. The relevant issue is issue 11

[issue25125] "Edit with IDLE" does not work for shortcuts

2015-09-28 Thread eryksun
eryksun added the comment: > I don't believe %1 is necessarily correct here either, but maybe > with %* it's redundant anyway %0, %1, or %L is lpFile. On older systems "%L" guarantees using the long filename, but this is pointless nowadays. %* (i.e. %2 through %9) is lpParameters, which is un

[issue25255] Security of CPython Builds

2015-09-28 Thread phelix
phelix added the comment: @Brett: Thanks for the info, I had not noticed PEP 101 had been updated. @Paul: Ah, I had not found PCBuild/readme.txt yet. I did look at the devguide but I got the impression it was mostly meant for debug builds. > Basically through trusting the people who produce th

[issue23600] tizinfo.fromutc changed for tzinfo wih StdOffset=0, DstOffset=1

2015-09-28 Thread Peter Law
Peter Law added the comment: Awesome, thanks for fixing this. -- nosy: +PeterJCLaw ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21872] LZMA library sometimes fails to decompress a file

2015-09-28 Thread kenorb
kenorb added the comment: The same with this attached file. It fails with Python 3.5 (small buffers like 128, 255, 1023, etc.) , but it seems to work in Python 3.4 with lzma._BUFFER_SIZE = 1023. So it looks like something regressed. -- nosy: +kenorb Added file: http://bugs.python.org/f

[issue25185] Inconsistency between venv and site

2015-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I thought that pyvenv.cfg was used by venv's predecessor virtualenv. Now I see that I was wrong and your idea is right. -- stage: -> needs patch ___ Python tracker

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2015-09-28 Thread Bob Hossley
New submission from Bob Hossley: In my function makeMsg(), there is: msg = email.mime.nonmultipart.MIMENonMultipart('text', 'plain', charset='utf-8') msg['Subject'] = email.header.Header(subject, 'utf-8') subject has no space after the thousands comma: u'1,010 words - "The Blac

[issue25185] Inconsistency between venv and site

2015-09-28 Thread Vinay Sajip
Vinay Sajip added the comment: > I suspect that this can break backward compatibility. But since venv writes it out as UTF-8 already, it should be read in UTF-8, and if it isn't, isn't that the cause of the error which led to this bug we're talking about? If we now write it with locale encodi

[issue23600] tizinfo.fromutc changed for tzinfo wih StdOffset=0, DstOffset=1

2015-09-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-28 Thread STINNER Victor
STINNER Victor added the comment: regrtest_class.patch: Convert the long and complex main() function into a new Regrtest class using attributes and methods. * Convert main() variables to Regrtest attributes: see the __init__() method. I documented some attributes * Convert accumulate_result()

[issue25125] "Edit with IDLE" does not work for shortcuts

2015-09-28 Thread Steve Dower
Steve Dower added the comment: Creating a "dumb" item was discussed and rejected. I don't see how passing the subkey is an issue if it works. The name of the verb is considered public API surface, so we can't easily change it anyway. What may be the issue is the use of "%L", which I recall bei

[issue24164] Support pickling objects with __new__ with keyword arguments with protocol 2+

2015-09-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.6 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2015-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24483] Avoid repeated hash calculation in C implementation of functools.lru_cache()

2015-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue25185] Inconsistency between venv and site

2015-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I suspect that this can break backward compatibility. -- ___ Python tracker ___ ___ Python-bugs-li

[issue25255] Security of CPython Builds

2015-09-28 Thread Paul Moore
Paul Moore added the comment: Also, the Windows build process is documented in PCBuild/readme.txt - see https://hg.python.org/cpython/file/tip/PCbuild/readme.txt More generally the devguide documents how to build CPython - https://docs.python.org/devguide/setup.html#compiling --

[issue25255] Security of CPython Builds

2015-09-28 Thread Brett Cannon
Brett Cannon added the comment: And just as an FYI, while PEP 101 was created 14 years ago, it has been updated regularly (last edit was 13 days ago): https://hg.python.org/peps/log/tip/pep-0101.txt -- nosy: +brett.cannon ___ Python tracker

[issue25255] Security of CPython Builds

2015-09-28 Thread Steve Dower
Steve Dower added the comment: Basically through trusting the people who produce the builds. You can also verify the hg changeset by looking at sys.version and matching it to the tagged release. If there are any differences between the tagged commit and the one used to build, there will be a "

[issue678264] test_resource fails when file size is limited

2015-09-28 Thread Arnon Yaari
Arnon Yaari added the comment: This issue is still relevant and can be reproduced by running: ulimit -Hf 1000 ./python Lib/test/test_resource.py (On AIX, the default hard limit is not RLIM_INFINITY so it reproduces on that operating system without the first line) The patch is still re

[issue9917] resource max value represented as signed when should be unsigned

2015-09-28 Thread Arnon Yaari
Arnon Yaari added the comment: getrlimit still returns -1 as 'max' when limit is unlimited and for RLIM_INFINITY because rlim_t is considered signed. The zshell project decides whether rlim_t is signed/unsigned (and also whether it is long or long long) in the configure step: https://github.c

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

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

[issue23640] int.from_bytes() is broken for subclasses

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

[issue25233] AssertionError from asyncio Queue get

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1ea306202d5d by Guido van Rossum in branch '3.4': Issue #25233: Rewrite the guts of Queue to be more understandable and correct. https://hg.python.org/cpython/rev/1ea306202d5d New changeset a48d90049ae2 by Guido van Rossum in branch '3.5': Issue #25

[issue25256] Add sys.is_debug_build() public function to check if Python was compiled in debug mode

2015-09-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> patch review type: -> enhancement ___ Python tracker ___ ___ Python-bugs-

[issue25256] Add sys.is_debug_build() public function to check if Python was compiled in debug mode

2015-09-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Victor, I have tested your patch with the default branch (3.6), works fine on OSX Yosemite. In release and debug modes. -- ___ Python tracker

[issue25079] Tokenize generates NL instead of NEWLINE for comments

2015-09-28 Thread Optimal BPM
Optimal BPM added the comment: Ok, I'll work around that then. Thanks for your response! -- ___ Python tracker ___ ___ Python-bugs-li

[issue25256] Add sys.is_debug_build() public function to check if Python was compiled in debug mode

2015-09-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: In your Python unittest, could you change the comment, it's ambiguous. Thanks -- nosy: +matrixise ___ Python tracker ___ _

[issue25256] Add sys.is_debug_build() public function to check if Python was compiled in debug mode

2015-09-28 Thread STINNER Victor
STINNER Victor added the comment: I wrote this patch while working on new tests for Lib/test/regrtest.py: issue #25220. The Windows scripts PCbuild/rt.bat (and Tools/buildbot/test.bat) requires a "-d" command line option if the Python was compiled in debug mode. The flag is used to choose the

[issue25256] Add sys.is_debug_build() public function to check if Python was compiled in debug mode

2015-09-28 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +alex, brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue25256] Add sys.is_debug_build() public function to check if Python was compiled in debug mode

2015-09-28 Thread STINNER Victor
New submission from STINNER Victor: Attached patch adds the sys.is_debug_build() public function and replaces hasattr(sys, xxx) tests to check for debug mode with sys.is_debug_build(). +.. function:: is_debug_build() + + Return :const:`True` if the Python executable was compiled in debug mode

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset e48ec5f5b82b by Victor Stinner in branch 'default': Issue #25122: Remove verbose mode of test_eintr https://hg.python.org/cpython/rev/e48ec5f5b82b -- ___ Python tracker

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-28 Thread STINNER Victor
STINNER Victor added the comment: test_regrtest-3.patch: I added a test on PCbuild\rt.bat and fixed the test on Tools/buildbot/test.bat (Windows only tests). -- Added file: http://bugs.python.org/file40609/test_regrtest-3.patch ___ Python tracker

[issue25249] Unneeded and unsafe mkstemp replacement in test_subprocess.py

2015-09-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Nir. Just fixed a small typo(fd -> f) in the 2.7 patch. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.4, Python 3.5 ___ Python tracke

[issue25249] Unneeded and unsafe mkstemp replacement in test_subprocess.py

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset ea91991c7db5 by Berker Peksag in branch '2.7': Issue #25249: Remove unneeded mkstemp helper in test_subprocess https://hg.python.org/cpython/rev/ea91991c7db5 -- ___ Python tracker

[issue25111] Broken compatibility in FrameSummary equality

2015-09-28 Thread Berker Peksag
Berker Peksag added the comment: LGTM +self.assertEqual(f, tuple(f)) +self.assertEqual(tuple(f), f) It would be good to add a comment to explain why we test both variants, but it's not really important. -- nosy: +berker.peksag stage: patch review -> commit review

[issue23606] ctypes.util.find_library("c") no longer makes sense

2015-09-28 Thread eryksun
eryksun added the comment: > some code that uses it will need updating (due to API changes > since VC9/VC10) For example, I discovered that the stdio exports don't include printf, etc. Using __stdio_common_vfprintf to implement printf relies on calling __acrt_iob_func to get stdout and (in ge

[issue25251] Unknown MS Compiler version 1900

2015-09-28 Thread Matt Hickford
Matt Hickford added the comment: Here's a patch that helped on my computer On 28 September 2015 at 00:29, Zachary Ware wrote: > > Changes by Zachary Ware : > > > -- > components: +Windows > nosy: +paul.moore, steve.dower, tim.golden, zach.ware > type: crash -> behavior > >

[issue25249] Unneeded and unsafe mkstemp replacement in test_subprocess.py

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 23f4daf7a211 by Berker Peksag in branch '3.4': Issue #25249: Remove unneeded mkstemp helper in test_subprocess https://hg.python.org/cpython/rev/23f4daf7a211 New changeset 4cd3027ffc34 by Berker Peksag in branch '3.5': Issue #25249: Remove unneeded

[issue25253] AttributeError: 'Weather' object has no attribute 'dom'

2015-09-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, but this looks like a bug in the cfw project. Please report it to the ctw bug tracker. -- nosy: +berker.peksag resolution: -> not a bug stage: -> resolved status: open -> closed type: crash -> behavior __

[issue24972] IDLE: revisit text highlighting for inactive windows on win32

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 45955adc2ed2 by Terry Jan Reedy in branch '2.7': Issue #24972: New option is only valid in tk 8.5+. https://hg.python.org/cpython/rev/45955adc2ed2 New changeset 460e6e6fb09a by Terry Jan Reedy in branch '3.4': Issue #24972: New option is only valid

[issue24972] IDLE: revisit text highlighting for inactive windows on win32

2015-09-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___ __

[issue24972] IDLE: revisit text highlighting for inactive windows on win32

2015-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2445750029df by Terry Jan Reedy in branch '3.4': Issue #24972: Inactive selection background now matches active selection https://hg.python.org/cpython/rev/2445750029df -- ___ Python tracker

[issue25255] Security of CPython Builds

2015-09-28 Thread phelix bitcoin
New submission from phelix bitcoin: A description of the build and release process for CPython binaries (e.g. for Windows) would be great. Maybe I am missing something? I could not find any information other than the 14 years old PEP 101 which says: "Notify the experts that they can start buil

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-28 Thread STINNER Victor
STINNER Victor added the comment: test_regrtest-2.patch: add tests for -u, -r, --randseed and --fromfile command line options. -- Added file: http://bugs.python.org/file40607/test_regrtest-2.patch ___ Python tracker

[issue23640] int.from_bytes() is broken for subclasses

2015-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is simplified Bruno's patch with additional tests for float, int, bool and enum. But I'm not sure that correct solution is so simple. -- Added file: http://bugs.python.org/file40606/0002-int.from_bytes-calls-constructor-for-subclasses.patch ___

[issue23640] int.from_bytes() is broken for subclasses

2015-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are similar issues with Decimal.from_float() (C implementation only), chain.from_iterable(), epoll.fromfd() and kqueue.fromfd(). All these alternative constructors don't call __new__ or __init__. But float.fromhex() calls the constructor. >>> import e