[issue34254] Include type annotations in error messages for better errors

2018-07-28 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Python 3 supports type annotations in functions but when there is a TypeError due to calling a function then only the arguments are given in the error message. If the function has type annotations then adding them to the error message will give be

[issue34251] MSI build fails

2018-07-28 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8027 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyt

[issue34239] Convert test_bz2 to use tempfile

2018-07-28 Thread TJG
TJG added the comment: Thanks, Brett. I'll address Serhiy's comment with a new PR and then tidy yup. -- nosy: +tjguk ___ Python tracker ___ __

[issue32215] sqlite3 400x-600x slower depending on formatting of an UPDATE statement in a string

2018-07-28 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8028 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

2018-07-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm at the EuroPython sprints and currently working on a testcase for this. Should be a nice way to get back into actively contributing to CPython :-) -- ___ Python tracker __

[issue32215] sqlite3 400x-600x slower depending on formatting of an UPDATE statement in a string

2018-07-28 Thread Berker Peksag
Berker Peksag added the comment: https://github.com/python/cpython/commit/ab994ed8b97e1b0dac151ec827c857f5e7277565 wasn't merged in the 2.7 branch, so this should only be reproduced in Python 3.6+. -- components: -Interpreter Core versions: +Python 3.8 -Python 2.7 _

[issue34255] test_embed skipped when srcdir != builddir

2018-07-28 Thread Ronald Oussoren
New submission from Ronald Oussoren : The testsuite skips test_embed when srcdir != builddir, that's because test.test_embed assumes that _testembed is in the source directory. I noticed this while working on issue34247. -- components: Tests messages: 322531 nosy: ronaldoussoren prio

[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

2018-07-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: FYI: I've filed issue34255 while working on this, test_embed assumes that you're building in the source directory (which I usually don't do). -- ___ Python tracker ___

[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

2018-07-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: Interesting... pylifecycle.c uses code in main.c, I hadn't expected that. If I've read the code correctly Py_Initialize won't look at PYTHONOPTIMZE at all (and other environment variables that have a command-line equivalent). Those are read in main.c:cmdlin

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2018-07-28 Thread Christian Heimes
Christian Heimes added the comment: The PR has a merge conflict. -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-l

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread Christian Heimes
Christian Heimes added the comment: New changeset 937fb55d35373fd2701078251840b6be0465a6e1 by Christian Heimes (Andrés Delfino) in branch 'master': bpo-5978: Document that profiling needs cmd/function to return (GH-7938) https://github.com/python/cpython/commit/937fb55d35373fd2701078251840b6be

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +8029 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs

2018-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +8030 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs

2018-07-28 Thread Christian Heimes
Christian Heimes added the comment: New changeset 95dfb9c3aefdc981d23af700b753a6c97159ccad by Christian Heimes (johnthagen) in branch 'master': bpo-33921: Clarify how to bind to all interfaces using socket (GH-7877) https://github.com/python/cpython/commit/95dfb9c3aefdc981d23af700b753a6c97159

[issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs

2018-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +8031 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34256] Python treats ASCII record seperator ('\x1e as a newline

2018-07-28 Thread Tim McNamara
New submission from Tim McNamara : Hello, I apologize if this is expected behavior, however it doesn't appear to be documented haven't. >>> "single\x1eline\x1estring".splitlines() ['single', 'line', 'string'] -- messages: 322537 nosy: timClicks priority: normal severity: normal stat

[issue34256] Python treats ASCII record seperator ('\x1e') as a newline

2018-07-28 Thread Tim McNamara
Tim McNamara added the comment: Hello, I apologize if this is expected behavior, however it doesn't appear to be documented. >>> "single\x1eline\x1estring".splitlines() ['single', 'line', 'string'] The glossary refers to the universal newlines as: > universal newlines >A manner of int

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +8032 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34257] SSL should accept cert content, instead of just cert file path

2018-07-28 Thread Rico Lin
New submission from Rico Lin : Currently, SSL module [1] only allows file path as input. That led to a lot of libraries only accept file path to a local file. This lead to issues when people who trigger this python code, didn't have any right to access a local file. Here are two examples: 1. I

[issue34257] SSL should accept cert content, instead of just cert file path

2018-07-28 Thread Rico Lin
Change by Rico Lin : -- versions: +Python 3.5 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue34113] LLTRACE segv

2018-07-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8033 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34035] zipfile: AttributeError in "seek" method of "_SharedFile" class

2018-07-28 Thread Mickaël S .
Mickaël S. added the comment: Little word to say I am working on at EuroPython 2018. -- nosy: +Tiger-222 ___ Python tracker ___ ___

[issue34226] cgi.parse_multipart() requires undocumented CONTENT-LENGTH in Python 3.7

2018-07-28 Thread roger
roger added the comment: working on this on europython -- nosy: +rogerduran ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue34258] Python shell keeps restarting

2018-07-28 Thread Aleksa Bulatovic
New submission from Aleksa Bulatovic : I was writing a code for my test in idle python.When i run the module it's just keeps restarting. This is my code: sins = 0 check = input() if check == "check_sins": print(sins) second = input("Ok,you can start when you are ready,type Im Ready! if

[issue22062] Fix pathlib.Path.(r)glob doc glitches.

2018-07-28 Thread Eivind Teig
Change by Eivind Teig : -- pull_requests: +8034 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue32814] smtplib.send_message mishandles 8BITMIME RFC 6152

2018-07-28 Thread Pablo S Blum de Aguiar
Pablo S Blum de Aguiar added the comment: This is just to note that I'm investigating this as part of the CPython sprint in EuroPython. -- nosy: +scorphus ___ Python tracker

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-07-28 Thread Pablo S Blum de Aguiar
Pablo S Blum de Aguiar added the comment: This is just to note that I'm investigating this issue as part of the CPython sprint in EuroPython. -- nosy: +scorphus ___ Python tracker __

[issue33747] Failed separate test_patch_propogrates_exc_on_exit in test_unittest

2018-07-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8035 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34259] Improve docstring of list.sort

2018-07-28 Thread Tim Hoffmann
New submission from Tim Hoffmann : The current docstring of list.sort is just "Stable sort *IN PLACE*." This is missing a description of the arguments key and reverse. Also a short explanation of stable and in-place would be helpful for less experienced users. -- messages: 322545 nosy

[issue18372] _Pickler_New() doesn't call PyObject_GC_Track(self)

2018-07-28 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22062] Fix pathlib.Path.(r)glob doc glitches.

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- versions: +Python 3.6, Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-b

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue22062] Fix pathlib.Path.(r)glob doc glitches.

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread miss-islington
miss-islington added the comment: New changeset c6801b48a1964d87a77f1303e0c6ddf31f54259b by Miss Islington (bot) in branch '3.7': bpo-5978: Document that profiling needs cmd/function to return (GH-7938) https://github.com/python/cpython/commit/c6801b48a1964d87a77f1303e0c6ddf31f54259b --

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread Steve Dower
Steve Dower added the comment: New changeset 0041d721a6f6b312ef762838d390fc4d64cf5e3a by Steve Dower (Andrés Delfino) in branch '3.6': [3.6] bpo-5978: Document that profiling needs cmd/function to return (GH-8515) https://github.com/python/cpython/commit/0041d721a6f6b312ef762838d390fc4d64cf5e3

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs

2018-07-28 Thread miss-islington
miss-islington added the comment: New changeset 23355445625b8b41030dbda9decaf2f4aa7035a6 by Miss Islington (bot) in branch '3.7': bpo-33921: Clarify how to bind to all interfaces using socket (GH-7877) https://github.com/python/cpython/commit/23355445625b8b41030dbda9decaf2f4aa7035a6 ---

[issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs

2018-07-28 Thread miss-islington
miss-islington added the comment: New changeset 30f295b85ece2dc2b2b65018bd15090efa1de7dc by Miss Islington (bot) in branch '3.6': bpo-33921: Clarify how to bind to all interfaces using socket (GH-7877) https://github.com/python/cpython/commit/30f295b85ece2dc2b2b65018bd15090efa1de7dc ---

[issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue8145] Documentation about sqlite3 isolation_level

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

2018-07-28 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +8037 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-07-28 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +8038 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

2018-07-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've created a pull request that seems to work properly, although I am not entirely sure that this is the right way to fix this. As I mentioned in the pull request I created it against the 3.7 branch because of bpo-34170, but would happily rebase it for mas

[issue34260] shutil.copy2 is not the same as cp -p

2018-07-28 Thread Zsolt Cserna
New submission from Zsolt Cserna : The docstring of shutil.copy2 says the following: Copy data and all stat info ("cp -p src dst"). This can be misleading as it is not the same as 'cp -p', as it does not copy the file owner (uid and gid). That would need to have a chown() call to be made, wh

[issue33289] tkinter askcolor returning floats for r, g, b values instead of ints

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue33666] Document removal of os.errno

2018-07-28 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 1d2dafa249c7fb34f3d24e7a77d1bea02907d92b by Petr Viktorin (INADA Naoki) in branch 'master': bpo-33666: Add what's new entry for os.errno removal (GH-#8497) https://github.com/python/cpython/commit/1d2dafa249c7fb34f3d24e7a77d1bea02907d92b --

[issue34261] Add description to clinic.py

2018-07-28 Thread Tim Hoffmann
New submission from Tim Hoffmann : When trying to update a docstring of a CPython builtin, I had problems finding out what Argument Clinic actually does. First, I looked at the devguide, which does only mention that the clinic exists, but not what it does or how it's used. Next, I tried "cli

[issue34088] [EASY] sndhdr.what() throws exceptions on unknown files

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue34260] shutil.copy2 is not the same as cp -p

2018-07-28 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-07-28 Thread Steve Dower
Steve Dower added the comment: New changeset 8fe9eed937cb69b5e26ac6e36a90b5360eb11277 by Steve Dower (Dong-hee Na) in branch 'master': bpo-33476: Fix _header_value_parser when address group is missing final ';' (GH-7484) https://github.com/python/cpython/commit/8fe9eed937cb69b5e26ac6e36a90b5

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +8040 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34260] shutil.copy2 is not the same as cp -p

2018-07-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8041 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue30974] Update os.samefile docstring to match documentation

2018-07-28 Thread Steve Dower
Steve Dower added the comment: Sorry, I meant the docs after the patch. Before, it's fine. -- ___ Python tracker ___ ___ Python-bug

[issue30974] Update os.samefile docstring to match documentation

2018-07-28 Thread Steve Dower
Steve Dower added the comment: I think the docs are too specific about the mechanism used here - if we document *how* it works then we may not be able to make it work correctly (with a different mechanic) on a different platform. -- nosy: +steve.dower ___

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +8042 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30974] Update os.samefile docstring to match documentation

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue24356] venv documentation incorrect / misleading

2018-07-28 Thread Steve Dower
Steve Dower added the comment: New changeset 50326927465c3f5c6c0168fc43310c8e97db0a47 by Steve Dower (Elena Oat) in branch 'master': bpo-24356: Specify which Python binary will be used with venv (GH-6589) https://github.com/python/cpython/commit/50326927465c3f5c6c0168fc43310c8e97db0a47

[issue34262] Asyncio test fails under Win 7

2018-07-28 Thread Wöllert
New submission from Wöllert : When running tests I encounter the following error for the test: test_sock_sendfile_not_regular_file (test.test_asyncio.test_proactor_events.ProactorEventLoopUnixSockSendfileTests) --- Microsoft Visual C++ Runtime Library --

[issue24356] venv documentation incorrect / misleading

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +8043 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue32769] Add 'annotations' to the glossary

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue33601] [EASY DOC] Py_UTF8Mode is not documented

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue34113] LLTRACE segv

2018-07-28 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue34113] LLTRACE segv

2018-07-28 Thread Petr Viktorin
Petr Viktorin added the comment: The problem here is that tracing for STACKADJ prints out the top of the stack *after* adjustment. This is OK for growing the stack, but not for shrinking it (e.g. calling STACKADJ(-3) pops off three things at once, which can leave TOP undefined when it's prin

[issue33666] Document removal of os.errno

2018-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +8044 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33111] Merely importing tkinter breaks parallel code (multiprocessing, sharedmem)

2018-07-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: That's annoying, I cannot reproduce the issue on macOS 10.13. I don't have access to my test VM running 10.11 at the moment, I'll work on documenting this when I get back home (and do have access to 10.11 again). BTW. I don't know if providing a reliable te

[issue34035] zipfile: AttributeError in "seek" method of "_SharedFile" class

2018-07-28 Thread Mickaël S .
Change by Mickaël S. : -- keywords: +patch pull_requests: +8045 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-

[issue34263] asyncio: "relative *delay* or absolute *when* should not exceed one day"

2018-07-28 Thread Yury Selivanov
New submission from Yury Selivanov : asyncio documentation has this bit on timeouts: Timeouts (relative *delay* or absolute *when*) should not exceed one day. Victor told me that the actual reason for this recommendation is a limitation in epoll (or other OS/selector) that prevents us fro

[issue34255] test_embed skipped when srcdir != builddir

2018-07-28 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +8046 stage: needs patch -> patch review ___ Python tracker ___ ___ P

[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

2018-07-28 Thread Nick Coghlan
Nick Coghlan added the comment: I believe Victor is at the EuroPython sprints as well, so if I'm right about that, I think the best option would be for the two of you to work out a resolution for 3.7.1 in person that at least keeps the test suites reasonably consistent, even if the implement

[issue34262] Asyncio test fails under Win 7

2018-07-28 Thread Wöllert
Wöllert added the comment: Regarding the MVSC runtime message, there is an issue already here: https://bugs.python.org/issue23919 -- ___ Python tracker ___ ___

[issue33089] Add multi-dimensional Euclidean distance function to the math module

2018-07-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset c6dabe37e3c4d449562182b044184d1756bea037 by Raymond Hettinger in branch 'master': bpo-33089: Multidimensional math.hypot() (GH-8474) https://github.com/python/cpython/commit/c6dabe37e3c4d449562182b044184d1756bea037 -- _

[issue28140] Attempt to give better errors for pip commands typed into the REPL

2018-07-28 Thread Tom Viner
Tom Viner added the comment: I am looking at this, as part of the EuroPython 2018 sprint. -- ___ Python tracker ___ ___ Python-bugs

[issue34226] cgi.parse_multipart() requires undocumented CONTENT-LENGTH in Python 3.7

2018-07-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8047 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34254] Include type annotations in error messages for better errors

2018-07-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have added support for functions defined inside a function and methods of a class along with some basic tests. Since directly taking co_name from code object returns only the name without any context like Foo.square inside square when I try to ac

[issue23642] Interaction of ModuleSpec and C Extension Modules

2018-07-28 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-07-28 Thread miss-islington
miss-islington added the comment: New changeset 2be0124b820729eacc1288950b824e336bd3a4a6 by Miss Islington (bot) in branch '3.7': bpo-33476: Fix _header_value_parser when address group is missing final ';' (GH-7484) https://github.com/python/cpython/commit/2be0124b820729eacc1288950b824e336bd

[issue34263] asyncio: "relative *delay* or absolute *when* should not exceed one day"

2018-07-28 Thread Martin Altmayer
Change by Martin Altmayer : -- keywords: +patch pull_requests: +8048 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-07-28 Thread miss-islington
miss-islington added the comment: New changeset f17e001746e0f697e9bd49ac3748f2543b0a0d47 by Miss Islington (bot) in branch '3.6': bpo-33476: Fix _header_value_parser when address group is missing final ';' (GH-7484) https://github.com/python/cpython/commit/f17e001746e0f697e9bd49ac3748f2543b0

[issue34265] Dataclasses test doesn't run independently

2018-07-28 Thread Kay Hayen
New submission from Kay Hayen : When I run: python3.7 test/test_dataclasses.py == ERROR: test_classvar_module_level_import (__main__.TestStringAnnotations) --

[issue34264] Inconsistency between stack size in main thread and secondary threads on macOS

2018-07-28 Thread Ronald Oussoren
New submission from Ronald Oussoren : configure.ac sets the stack size for the main thread on macOS to 100 (hex), while Python/threading_pthread.h sets the default stack size for other threads to 0x50. The latter is half of the former. IMHO both should be the same, as both claim to ha

[issue34263] asyncio: "relative *delay* or absolute *when* should not exceed one day"

2018-07-28 Thread Martin Altmayer
Martin Altmayer added the comment: Added a small PR. Shall we update the doc? With this PR there is no reason anymore to disallow timeouts greater than one day in asyncio. Greetings from the sprints @ Edinburgh! -- nosy: +MartinAltmayer ___ Python

[issue34264] Inconsistency between stack size in main thread and secondary threads on macOS

2018-07-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: PS. A pull request will follow shortly. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue34265] Dataclasses test doesn't run independently

2018-07-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Looks as a duplicate of issue34184. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Pytho

[issue20177] Derby #8: Convert 28 sites to Argument Clinic across 2 files

2018-07-28 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue34075] asyncio: We should prohibit setting a ProcessPoolExecutor in with set_default_executor

2018-07-28 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- keywords: +patch pull_requests: +8050 stage: -> patch review ___ Python tracker ___ ___ Python-b

[issue27201] expose the ABI name as a config variable

2018-07-28 Thread Petr Viktorin
Petr Viktorin added the comment: If Debian's talloc is fine without this, maybe we can close the issue? -- ___ Python tracker ___ _

[issue33223] test_posix fails ERRNO 0

2018-07-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: I get the same error on High Sierra, but not on the Mojave beta. I also regularly get a FileNotFound error instead (which is why I ended up at this issue in the first place). I'm not sure yet what causes this, a small reproducer in C works correctly and t

[issue34264] Inconsistency between stack size in main thread and secondary threads on macOS

2018-07-28 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +8051 stage: needs patch -> patch review ___ Python tracker ___ ___ P

[issue20177] Derby #8: Convert 28 sites to Argument Clinic across 2 files

2018-07-28 Thread Tim Hoffmann
Change by Tim Hoffmann : -- pull_requests: +8052 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue28140] Attempt to give better errors for pip commands typed into the REPL

2018-07-28 Thread Tom Viner
Change by Tom Viner : -- keywords: +patch pull_requests: +8053 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list m

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue33223] test_posix fails ERRNO 0

2018-07-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm slightly closer to understanding the problem. The value of errno is that of the last error *before* getgrouplist(3) was called, that is, getgrouplist return -1 but does not update errno. And looking at Apple source code this is a bug in CPython after al

[issue24356] venv documentation incorrect / misleading

2018-07-28 Thread Steve Dower
Steve Dower added the comment: New changeset 83b449d754f4da3be107b508392ef5180f105c8b by Steve Dower in branch '3.7': bpo-24356: Specify which Python binary will be used with venv (GH-6589) https://github.com/python/cpython/commit/83b449d754f4da3be107b508392ef5180f105c8b -- ___

[issue24356] venv documentation incorrect / misleading

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue29710] Incorrect representation caveat on bitwise operation docs

2018-07-28 Thread miss-islington
miss-islington added the comment: New changeset 8764a6ffda896af4586f07b55d7df916f86dd9b0 by Miss Islington (bot) in branch '3.7': bpo-29710: Clarify documentation for Bitwise binary operation (GH-1691) https://github.com/python/cpython/commit/8764a6ffda896af4586f07b55d7df916f86dd9b0 ---

[issue29710] Incorrect representation caveat on bitwise operation docs

2018-07-28 Thread miss-islington
miss-islington added the comment: New changeset 3100b7e710dccdcfbc6991ea7e8985a1881d42e6 by Miss Islington (bot) in branch '3.6': bpo-29710: Clarify documentation for Bitwise binary operation (GH-1691) https://github.com/python/cpython/commit/3100b7e710dccdcfbc6991ea7e8985a1881d42e6 ---

[issue34185] Lib/test/test_bdb.py failed when ran as a script

2018-07-28 Thread Alexandre Hajjar
Change by Alexandre Hajjar : -- keywords: +patch pull_requests: +8054 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue34239] Convert test_bz2 to use tempfile

2018-07-28 Thread Tim Golden
Change by Tim Golden : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue34265] Dataclasses test doesn't run independently

2018-07-28 Thread Kay Hayen
Kay Hayen added the comment: Totally is. Closing, sorry for not seeing that one myself. -- stage: -> resolved status: open -> closed ___ Python tracker ___ __

  1   2   >