[issue25099] test_compileall fails when run by unprivileged user on installed Python

2015-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do you want to backport the fix to 3.4 (and 2.7?)? Issue21264 was reported for 3.4. -- ___ Python tracker ___ ___

[issue25341] File mode wb+ appears as rb+

2015-10-10 Thread Xiang Zhang
Xiang Zhang added the comment: I think Mark is right. Since wb+ and rb+ have different behaviours they should be treat separately. But this behaviour treating wb+ and rb+ as the same is well tested and seems to intended to do so. -- nosy: +xiang.zhang __

[issue25040] xml.sax.make_parser makes bad use of parser_list argument default value

2015-10-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue25341] File mode wb+ appears as rb+

2015-10-10 Thread Mark Williams
Mark Williams added the comment: Python's test suite may test the current behavior but that does not lessen the problem. I gave an example of apparently correct code that fails (that was actually encountered by a Python user) in my original description. Another such example: you cannot duplicat

[issue25341] File mode wb+ appears as rb+

2015-10-10 Thread Xiang Zhang
Changes by Xiang Zhang <18518281...@126.com>: -- keywords: +patch Added file: http://bugs.python.org/file40739/file_mode.patch ___ Python tracker ___

[issue25341] File mode wb+ appears as rb+

2015-10-10 Thread Xiang Zhang
Xiang Zhang added the comment: I make a patch which now identifies the difference between wb+ and rb+, and modifies the corresponding tests. Though I don't know whether this need to be fixed. -- ___ Python tracker

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-10-10 Thread Martin Panter
Martin Panter added the comment: My second attempt seems to have avoided the hang. For the record, the backtrace from 3.4.koobs-freebsd9 did say it was hanging at the os.waitpid() line, but I still don’t understand why. -- status: open -> closed ___

[issue25352] Add 'make this my default python' to windows installs for Python3.5 and later

2015-10-10 Thread Laura Creighton
Laura Creighton added the comment: I think it would be useful if the IDLE icon was overlayed with the text of what version of Python you are running. -- ___ Python tracker ___ _

[issue25161] Missing periods at the end of sentences

2015-10-10 Thread Martin Panter
Changes by Martin Panter : -- assignee: docs@python -> martin.panter nosy: +berker.peksag stage: patch review -> commit review ___ Python tracker ___

[issue22413] Bizarre StringIO(newline="\r\n") translation

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 57fc950298bb by Martin Panter in branch '2.7': Issue #22413: Document newline effect on StringIO initializer and getvalue https://hg.python.org/cpython/rev/57fc950298bb New changeset cba4bf2a1721 by Martin Panter in branch '3.4': Issue #22413: Docum

[issue5380] pty.read raises IOError when slave pty device is closed

2015-10-10 Thread Xavier de Gaye
Xavier de Gaye added the comment: The line discipline [1] of a terminal driver and a pty is controlled by terminal attributes set with tcsetattr() [2][3]. IMHO (as a developer running ptys over asyncio), using a pty implies writing code at the low level such as configuring the line discipline,

[issue22413] Bizarre StringIO(newline="\r\n") translation

2015-10-10 Thread Martin Panter
Changes by Martin Panter : -- resolution: wont fix -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread Laura Creighton
New submission from Laura Creighton: Another report in to webmaster: I tried to install Python 3.5.0 from [1]https://www.python.org/ftp/python/ 3.5.0/python-3.5.0.exe but I get an error and I'm not able to install, is this exe compiled with SSE2 instructions? Apparently no msi available Does thi

[issue25322] contextlib.suppress not tested for nested usage

2015-10-10 Thread Martin Panter
Martin Panter added the comment: Okay maybe “ignored” wasn’t the best choice of variable name. Perhaps I will write “outer_continued = True” instead. -- assignee: -> martin.panter nosy: +berker.peksag stage: -> commit review versions: +Python 3.6 _

[issue25161] Missing periods at the end of sentences

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4dfead9635e5 by Martin Panter in branch '3.4': Issue #25161: Add full stops in documentation; patch by Takase Arihiro https://hg.python.org/cpython/rev/4dfead9635e5 New changeset be34d96e2184 by Martin Panter in branch '3.5': Issue #25161: Merge ful

[issue25352] Add 'make this my default python' to windows installs for Python3.5 and later

2015-10-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Desktop shortcuts all have a label. The 3.4 and 3.5 labels have the python version. -- ___ Python tracker ___

[issue25161] Missing periods at the end of sentences

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset b9a0ecae02cb by Martin Panter in branch '2.7': Issue #25161: Add full stops in documentation; patch by Takase Arihiro https://hg.python.org/cpython/rev/b9a0ecae02cb -- ___ Python tracker

[issue25322] contextlib.suppress not tested for nested usage

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 452f76cbebdd by Martin Panter in branch '3.4': Issue #25322: Fix test for nested contextlib.suppress https://hg.python.org/cpython/rev/452f76cbebdd New changeset 836ac579e179 by Martin Panter in branch '3.5': Issue #25322: Merge contextlib.suppress

[issue25161] Missing periods at the end of sentences

2015-10-10 Thread Martin Panter
Martin Panter added the comment: Thanks very much for the patches. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue25322] contextlib.suppress not tested for nested usage

2015-10-10 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread eryksun
eryksun added the comment: With Visual Studio 2010 and earlier, SSE support had to be explicitly enabled. Starting with VS2012 it's on by default [1]: Because the x86 compiler generates code that uses SSE2 instructions by default, you must specify /arch:IA32 to disable generation

[issue25352] Add 'make this my default python' to windows installs for Python3.5 and later

2015-10-10 Thread Laura Creighton
Laura Creighton added the comment: Okay, sorry for the noise then. The problems of not having a windows system to check. -- ___ Python tracker ___ _

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread Laura Creighton
Laura Creighton added the comment: Okay then, wherever we put the -- Beginning with 3.5 we are not supporting 3.5 we need to also tell people whose CPUs lack SSE2 that they are out of luck, as well. -- ___ Python tracker

[issue25356] Idle (Python 3.4 on Ubuntu) does not allow typing accents

2015-10-10 Thread Gian Carlo Martinelli
Gian Carlo Martinelli added the comment: @Terry Using 'Find in Files' (Alt+F3) works fine. I can type everything normally. Also in the Output everything is fine. Apparently the problem is only with diacriticals (I mentioned 'ç', but it is working (I have a particular key for that in my keyboar

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread Steve Dower
Steve Dower added the comment: Did that report come with any reason for SSE to be relevant, such as an error message or log file? Windows requires SSE these days, since Vista IIRC, so the problem is probably someone on XP. -- ___ Python tracker

[issue25322] contextlib.suppress not tested for nested usage

2015-10-10 Thread R. David Murray
R. David Murray added the comment: I had no problem understanding that ignored meant the exception had been ignored, but making it clearer certainly doesn't hurt. -- ___ Python tracker

[issue25362] Use with instead of try finally

2015-10-10 Thread Nir Soffer
New submission from Nir Soffer: Using "with" is more clear and less error prone. -- components: Library (Lib) files: 0001-Use-with-instead-of-try-finally.patch keywords: patch messages: 252716 nosy: nirs priority: normal severity: normal status: open title: Use with instead of try finall

[issue24940] RotatingFileHandler uses tell in non-binary mode to determine size of the file in bytes

2015-10-10 Thread Vinay Sajip
Vinay Sajip added the comment: But this is a change in behaviour which might cause people a problem. The way it is now, the size may be approximate rather than exact, which is reasonable for the use case. -- ___ Python tracker

[issue25362] In threading module, use with instead of try finally

2015-10-10 Thread Eric V. Smith
Changes by Eric V. Smith : -- title: Use with instead of try finally -> In threading module, use with instead of try finally ___ Python tracker ___ _

[issue25362] In threading module, use with instead of try finally

2015-10-10 Thread Nir Soffer
Changes by Nir Soffer : Added file: http://bugs.python.org/file40741/0001-In-threading-module-use-with-instead-of-try-finally.patch ___ Python tracker ___ __

[issue5380] pty.read raises IOError when slave pty device is closed

2015-10-10 Thread Guido van Rossum
Guido van Rossum added the comment: OK, I'm closing this as won't fix. If someone disagrees please explain. -- resolution: -> wont fix status: open -> closed ___ Python tracker _

[issue25363] x=[1,2,3].append([1,2,3]) bug

2015-10-10 Thread grafika
New submission from grafika: >>> [1,2,3].append([1,2,3]) >>> >>> x=[1,2,3].append([1,2,3]) >>> x >>> x >>> type(x) >>> x=[1,2,3] >>> x.append([1,2,3]) >>> x

[issue25364] zipfile broken with --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: zipfile module unconditionally requires threading module since revision 4973ccd46e32 (in Python >=3.5), which causes errors in over 50 Lib/test/test_*.py files. [ 1/399] test_cmd_line test test_cmd_line crashed -- Traceback (most recen

[issue25342] test_json segfault on OpenBSD

2015-10-10 Thread Stefan Krah
Stefan Krah added the comment: Adjusting the estimate at runtime sounds good to me. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue25365] test_pickle fails with --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: test.test_pickle.CompatPickleTests.test_exceptions() test introduced in revision 8d86dfe53b97 (in Python >=3.4) fails with --without-threads, because it unconditionally imports multiprocessing module, which is known to not work with --wi

[issue25099] test_compileall fails when run by unprivileged user on installed Python

2015-10-10 Thread Brett Cannon
Brett Cannon added the comment: I feel I have already spent way too much time on this issue, but if you want to backport even further then feel free to. -- ___ Python tracker __

[issue25365] test_pickle fails with --without-threads

2015-10-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25364] zipfile broken with --without-threads

2015-10-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25363] x=[1,2,3].append([1,2,3]) bug

2015-10-10 Thread Xiang Zhang
Xiang Zhang added the comment: This is the right behaviour. x=[1, 2, 3].append([1, 2, 3]) acts as: x=([1, 2, 3].append([1, 2, 3]) Since append is a in-place operation it return None. Then x is None. -- nosy: +xiang.zhang ___ Python tracker

[issue25366] test_venv fails with --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: test.test_venv.EnsurePipTest.test_with_pip() fails with --without-threads, because some dependencies of PIP (cachecontrol, lockfile) unconditionally import threading module. ===

[issue25177] OverflowError in statistics.mean when summing large floats

2015-10-10 Thread Bar Harel
Bar Harel added the comment: Any comments on the patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue25363] x=[1,2,3].append([1,2,3]) bug

2015-10-10 Thread Eric V. Smith
Changes by Eric V. Smith : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue25364] zipfile broken with --without-threads

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 15740b3ad148 by Serhiy Storchaka in branch '3.5': Issue #25364: zipfile now works in threads disabled builds. https://hg.python.org/cpython/rev/15740b3ad148 New changeset 44b37c3ee76c by Serhiy Storchaka in branch 'default': Issue #25364: zipfile no

[issue25364] zipfile broken with --without-threads

2015-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report Arfrever. -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue24784] Build fails with --with-pydebug and --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- keywords: +3.5regression nosy: +Arfrever title: Build fails --without-threads -> Build fails with --with-pydebug and --without-threads versions: +Python 3.5 ___ Python tracker

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread Laura Creighton
Laura Creighton added the comment: Further conversation has confirmed that the person is on XP. -- ___ Python tracker ___ ___ Python-b

[issue25341] File mode wb+ appears as rb+

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

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread Laura Creighton
Laura Creighton added the comment: He says that he got an error saying something was compiled SSE2 and needed to be SSE, but if we are going to detect XP then that will be a better error message. -- ___ Python tracker

[issue25365] test_pickle fails with --without-threads

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1cb9ce2d83d8 by Serhiy Storchaka in branch '3.4': Issue #25365: test_pickle now works in threads disabled builds. https://hg.python.org/cpython/rev/1cb9ce2d83d8 New changeset 48cb00431ce6 by Serhiy Storchaka in branch '3.5': Issue #25365: test_pickl

[issue25365] test_pickle fails with --without-threads

2015-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report Arfrever. -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue25099] test_compileall fails when run by unprivileged user on installed Python

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset fc0a7aa7ae61 by Brett Cannon in branch '3.4': Issue #25099: Skip relevant tests in test_compileall when an entry on https://hg.python.org/cpython/rev/fc0a7aa7ae61 -- ___ Python tracker

[issue25194] Opt-in motivations & affiliations page for core contributors

2015-10-10 Thread Ezio Melotti
Ezio Melotti added the comment: A few comments: 1) In the "Restrictions on scope" section, you could turn "Contributor Licensing Agreement" into a link. 2) You call this a "program" in a couple of place, and I'm not sure that's the right term (to me "program" sounds like an organized effort br

[issue25367] test_coroutines fails with --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: test.test_coroutines.CoroAsyncIOCompatTest.test_asyncio_1() fails with --without-threads, because it imports asyncio module, which is known to not work with --without-threads. This test should be skipped when import of asyncio fails. ===

[issue25368] test_eintr

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: test.test_eintr.EINTRTests.test_all() fails with --without-threads since revision 10efb1797e7b (in Python >=3.6), because faulthandler.dump_traceback_later() and faulthandler.cancel_dump_traceback_later() are not available with --withou

[issue25368] test_eintr fails with --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- title: test_eintr -> test_eintr fails with --without-threads ___ Python tracker ___ __

[issue25369] test_regrtest fails with --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: 6 tests of test.test_regrtest.ProgramsTestCase class introduced in revision 3393d86c3bb2 (in Python >=3.6) fail with --without-threads, because they unconditionally use -j4 option, but -jN where N != 1 is not supported with --without-thr

[issue25369] test_regrtest fails with --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- keywords: +patch Added file: http://bugs.python.org/file40743/test_regrtest.patch ___ Python tracker ___ _

[issue24870] Optimize ascii and latin1 decoder with surrogateescape and surrogatepass error handlers

2015-10-10 Thread INADA Naoki
INADA Naoki added the comment: UTF-8 and Latin1 are typical encoding for MySQL query. When inserting BLOB: # Decode binary data x = data.decode('ascii', 'surrogateescape') # %-format query psql = sql % (escape(x),) # sql is unicode # Encode sql to connection encoding (latin1 or utf8) query_byte

[issue24784] Build fails with --with-pydebug and --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Calls to PyGILState_Check() in Python/fileutils.c were introduced in revisions 0b99d7043a99 and cfe541c694f3. Call to PyGILState_Check() in Modules/socketmodule.c was introduced in revision 75fcc7a3738a. -- assignee: -> haypo nosy

[issue24784] Build fails with --with-pydebug and --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: > Call to PyGILState_Check() in Modules/socketmodule.c was introduced in > revision 75fcc7a3738a. Actually that call was moved from another place. -- ___ Python tracker

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread eryksun
eryksun added the comment: > Windows requires SSE these days, since Vista IIRC, so the problem > is probably someone on XP. Windows 8 is the first to require SSE2 [1][2]. I'm sure it's no coincidence that this became the default in VS 2012. There is probably a small minority of users that up

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread Laura Creighton
Laura Creighton added the comment: Ok, where do we put the info about how to create a private build? And who will write it? (I lack the understanding.) Does it belong in: https://docs.python.org/3/using/windows.html or some place else? -- ___ Pytho

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

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc5894a3a0e6 by Serhiy Storchaka in branch 'default': Issue #24164: Objects that need calling ``__new__`` with keyword arguments, https://hg.python.org/cpython/rev/bc5894a3a0e6 -- nosy: +python-dev ___ Py

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

2015-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Victor. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue25370] Add support of pickling very large bytes and str objects with protocol < 4

2015-10-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Pickle protocols < 4 allow to pickle bytes and str object with 32-bit size. One of features of protocol 4 was the support of 64-bit sizes. It is possible to add support of very large bytes and str objects with protocols 2 and 3. The idea is that the long s

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread eryksun
eryksun added the comment: Building Python 3.5 requires Visual Studio 2015 and Windows 8.1, so this would be a vanishingly small audience that's building to deploy on old 32-bit Windows 7 machines. I don't think the PSF needs to worry about this. Anyway, the "/arch (x86)" docs [1] explain how

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-10 Thread eryksun
eryksun added the comment: Sorry, I forgot to include the link to readme.txt: [2]: https://hg.python.org/cpython/file/v3.5.0/PCbuild/readme.txt -- ___ Python tracker ___ ___

[issue25177] OverflowError in statistics.mean when summing large floats

2015-10-10 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Sat, Oct 10, 2015 at 04:28:22PM +, Bar Harel wrote: > Any comments on the patch? Not yet, I've been unable to look at it, but thank you. If I haven't responded by the 17th of this month, please ping me again. -- ___

[issue25367] test_coroutines fails with --without-threads

2015-10-10 Thread Guido van Rossum
Guido van Rossum added the comment: Can you test with this patch? -- keywords: +patch Added file: http://bugs.python.org/file40744/coro-skip.diff ___ Python tracker ___ _

[issue25371] select.select docstring needs comma

2015-10-10 Thread Chris Angelico
New submission from Chris Angelico: The grammar of the IMPORTANT NOTICE on the select module and the select.select function wants a comma, I think. Patch attached. -- assignee: docs@python components: Documentation files: add_comma.patch keywords: patch messages: 252750 nosy: Rosuav, do

[issue25371] select.select docstring needs comma

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 99c82576bb70 by Benjamin Peterson in branch '3.4': add a missing comma (closes #25371) https://hg.python.org/cpython/rev/99c82576bb70 New changeset ae98209ff69a by Benjamin Peterson in branch '3.5': merge 3.4 (#25371) https://hg.python.org/cpython/r

[issue25362] In threading module, use with instead of try finally

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9049134eecae by Benjamin Peterson in branch '2.7': use the with statement for locking the internal condition (closes #25362) https://hg.python.org/cpython/rev/9049134eecae New changeset 62e87422a1a9 by Benjamin Peterson in branch '3.4': use the with

[issue25372] load_module() does not link submodule to parent package

2015-10-10 Thread Martin Panter
New submission from Martin Panter: The load_module() API adds an entry to sys.modules when loading a submodule, but does not add the submodule as an attribute in the parent package. I am no expert on PEP 302 or the import system, but this feels like a bug to me: >>> import sys, pkgutil >>> loa

[issue25372] load_module() does not link submodule to parent package

2015-10-10 Thread Pathangi Jatinshravan
Pathangi Jatinshravan added the comment: Hi, if this is not too critical of a bug, can I be assigned to this issue? -- nosy: +Pathangi Jatinshravan ___ Python tracker ___ ___

[issue25372] load_module() does not link submodule to parent package

2015-10-10 Thread R. David Murray
R. David Murray added the comment: I'm no expert on pep 302 either, but I'm guessing this is an intentional part of the design. You'll note that updating the namespace is *not* mentioned as one of the things load_module has to do. The update of the namespace is something the import system as

[issue25367] test_coroutines fails with --without-threads

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: It works. A more standard way would be 'self.skipTest(...)' instead of 'raise unittest.SkipTest(...)'. -- ___ Python tracker _

[issue25373] test.regrtest: -jN (with N != 1) + --slow + child error or interruption = TypeError

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: Function runtest() (used by single-process mode) always returns tuple with test result as integer and test time as float. This tuple is passed as second argument to function accumulate_result(), which has (in Python 3.6): def accumula

[issue25373] test.regrtest: -jN (with N != 1) + --slow + child error or interruption = TypeError

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- keywords: +patch Added file: http://bugs.python.org/file40746/regrtest-2.7.patch ___ Python tracker ___ __

[issue25373] test.regrtest: -jN (with N != 1) + --slow + child error or interruption = TypeError

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file40748/regrtest-3.5.patch ___ Python tracker ___ ___ Py

[issue25373] test.regrtest: -jN (with N != 1) + --slow + child error or interruption = TypeError

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file40747/regrtest-3.4.patch ___ Python tracker ___ ___ Py

[issue25373] test.regrtest: -jN (with N != 1) + --slow + child error or interruption = TypeError

2015-10-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Added file: http://bugs.python.org/file40749/regrtest-3.6.patch ___ Python tracker ___ ___ Py

[issue25374] Deficiencies in type hint usage in Python standard libraries

2015-10-10 Thread John Michael Lafayette
New submission from John Michael Lafayette: I love the new type hint feature in Jetbrains IDE (PEP 0484). Now when my user defined methods return a value, I can press (Crtl+space) and see the type of that value and all its methods. Also, when I pass the wrong type in, I get a warning. Oddly,

[issue25367] test_coroutines fails with --without-threads

2015-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You also can use special helper: test.support.import_module(). -- nosy: +serhiy.storchaka ___ Python tracker ___ _

[issue25372] load_module() does not link submodule to parent package

2015-10-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue25367] test_coroutines fails with --without-threads

2015-10-10 Thread Guido van Rossum
Guido van Rossum added the comment: Can one of you produce a proper patch? Then the other can review. Serhiy can commit it. -- ___ Python tracker ___ ___

[issue25372] load_module() does not link submodule to parent package

2015-10-10 Thread Martin Panter
Martin Panter added the comment: I don’t think it is a regression. But it is annoying, because my code that works fine for top-level modules and packages happens to screw up the import system for deeper-level module names. -- ___ Python tracker

[issue25372] load_module() does not link submodule to parent package

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

[issue25303] Add option to py_compile to compile for syntax checking without writing bytecode

2015-10-10 Thread Pavel Roskin
Pavel Roskin added the comment: Thank you for the comments. I was annoyed by py_compile making files with names very similar to the original scripts, names that could not even be recognized by shell patterns in .gitignore unless scripts ending with "c" are banned. But that problem is addressed

[issue24575] timemodule build fail - missing definitions for _Py_BEGIN_SUPPRESS_IPH and _Py_END_SUPPRESS_IPH

2015-10-10 Thread Ilya Kulakov
Ilya Kulakov added the comment: Why is it important to hide these 2 macroses behind Py_BUILD_CORE? Certain tools for embedding python may try to compile modules independently. I realize that it's not a problem of Python to take care of that, but in that particular case if hiding these 2 macros

[issue12813] uuid4 is not tested if a uuid4 system routine isn't present

2015-10-10 Thread Chris Angelico
Chris Angelico added the comment: 3.6 doesn't have this check, so I would say that yes, this has indeed been fixed. Issue can be closed fixed. -- nosy: +Rosuav ___ Python tracker __

[issue15999] Using new 'bool' format character

2015-10-10 Thread Chris Angelico
Chris Angelico added the comment: Has this been entirely superseded by Argument Clinic? -- nosy: +Rosuav ___ Python tracker ___ ___ Py

[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules

2015-10-10 Thread Chris Angelico
Chris Angelico added the comment: "bytes of binary data" seems redundant - how about just "byte string"? Otherwise, sure. -- nosy: +Rosuav ___ Python tracker ___ ___

[issue18769] argparse remove subparser

2015-10-10 Thread Chris Angelico
Chris Angelico added the comment: Patch applies cleanly to 3.6 and doesn't appear to add any new test failures (3.6 currently has a couple). Needs its own test, though. -- nosy: +Rosuav versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue22228] Adapt bash readline operate-and-get-next function

2015-10-10 Thread Chris Angelico
Chris Angelico added the comment: Any other interest in this? It'd be nice to get this in trunk and start being able to recommend it to people. -- ___ Python tracker ___ ___

[issue25375] Don't mention 2.2 in the 3.x docs

2015-10-10 Thread Chris Angelico
New submission from Chris Angelico: See: https://mail.python.org/pipermail/python-list/2015-October/697818.html Saying "In Python 2.2" is not helpful in the 3.x docs. Even in the 2.x docs, it's pretty safe to assume by now that everyone's on 2.2+. (At very least, "Since" would be better than "

[issue25375] Don't mention 2.2 in the 3.x docs

2015-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset a81b47fb5848 by Benjamin Peterson in branch '2.7': don't mention Python 2.2 (closes #25375) https://hg.python.org/cpython/rev/a81b47fb5848 New changeset 275d388ca1fc by Benjamin Peterson in branch '3.4': don't mention Python 2.2 (closes #25375) http

[issue6259] ctypes pointer arithmetic

2015-10-10 Thread Chris Angelico
Chris Angelico added the comment: Nudging this as a forgotten patch. Is anyone at all interested in this, or should it be closed as not worth the hassle? The patch is ancient and doesn't apply to 3.6. Propose closing, to clean up the tracker. It can always be reopened if the patch is updated