[issue34736] Confusing base64.b64decode output

2018-09-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +9014 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34828] sqlite.iterdump does not work for (most) databases with autoincrement

2018-09-28 Thread Berker Peksag
Berker Peksag added the comment: > I have already forked the repository, written tests etc. and if you > want I will create a pull request. Please do! Note that 3.4 and 3.5 are in security-fix-only mode and let's decide whether fixing 2.7 is worth the trouble when you submit your PR. Thank

[issue34827] Make argparse.NameSpace iterable

2018-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: issue8982 is not about making argparse.Namespace iterable, it is about better documenting it. issue8979 was rejected for several reasons which are still valid. For making **args working, args shouldn't be iterable, it should have the keys() method. And

[issue34736] Confusing base64.b64decode output

2018-09-28 Thread miss-islington
miss-islington added the comment: New changeset 7e35081bc828291da5793db49ab45dee4fda5043 by Miss Islington (bot) in branch '3.7': bpo-34736: improve error message for invalid length b64decode inputs (GH-9563) https://github.com/python/cpython/commit/7e35081bc828291da5793db49ab45dee4fda5043

[issue34736] Confusing base64.b64decode output

2018-09-28 Thread Tal Einat
Tal Einat added the comment: Thanks, Mark! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34776] Postponed annotations break inspection of dataclasses

2018-09-28 Thread Stefan Behnel
Change by Stefan Behnel : -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34818] test.test_ssl.ThreadedTests.test_tls1_3 fails in 2.7 with AttributeError: __exit__

2018-09-28 Thread Christian Heimes
Christian Heimes added the comment: Yes, that's it. In Python 2.7, socket classes don't implement the context manager protocol. -- ___ Python tracker ___

[issue32956] python 3 round bug

2018-09-28 Thread Mark Dickinson
Mark Dickinson added the comment: > This change was advertised in the "What’s New In Python 3.0" document. Not originally, it wasn't. That information was added later, by me. :-) [1] In any case, I wasn't referring to documentation. I meant "silent" in the runtime-sense: there was no

[issue34828] sqlite.iterdump does not work for (most) databases with autoincrement

2018-09-28 Thread Joel Klimont
New submission from Joel Klimont : There is a bug in sqlite3/dump.py when wanting to dump databases that use autoincrement in one or more tables. The problem is that the iterdump command assumes that the table "sqlite_sequence" is present in the new database in which the old one is dumped

[issue32956] python 3 round bug

2018-09-28 Thread Nathaniel Smith
Change by Nathaniel Smith : -- nosy: -njs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29001] logging.handlers.RotatingFileHandler rotation broken under gunicorn

2018-09-28 Thread Umesh Pathak
Change by Umesh Pathak : -- keywords: +patch pull_requests: +9027 stage: -> patch review ___ Python tracker ___ ___

[issue29001] logging.handlers.RotatingFileHandler rotation broken under gunicorn

2018-09-28 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +vinay.sajip versions: +Python 3.8 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list

[issue34778] Memoryview for column-major (f_contiguous) arrays from bytes impossible to achieve

2018-09-28 Thread Laurent Gautier
Laurent Gautier added the comment: @mattip : do you mean that it can currently be achieved by calling `cast` with a specific shape parameter ? If the case, how so ? -- ___ Python tracker

[issue34838] Improve arg clinic code generation for cases with type checking

2018-09-28 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34370] Tkinter scroll issues on macOS

2018-09-28 Thread Ned Deily
Ned Deily added the comment: Thanks for testing, Vlad. And thanks for the followup, Kevin. I guess we'll wait to hear more from Kevin. -- ___ Python tracker ___

[issue34837] Multiprocessing.pool API Extension - Pass Data to Workers w/o Globals

2018-09-28 Thread Sean Harrington
Change by Sean Harrington : -- title: Multiprocessing.pool API Extension - Non-Global Initialization of Workers -> Multiprocessing.pool API Extension - Pass Data to Workers w/o Globals ___ Python tracker

[issue9056] Adding additional level of bookmarks and section numbers in python pdf documents.

2018-09-28 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +9026 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34838] Improve arg clinic code generation for cases with type checking

2018-09-28 Thread Raymond Hettinger
New submission from Raymond Hettinger : An arg clinic specification such as p: object(subclass_of='_Type') generates slow code using _PyArg_ParseStack() that has to parse a format string like "O!" to decide to make a type check. Instead, it should directly generate a branch-predictable

[issue34838] Improve arg clinic code generation for cases with type checking

2018-09-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34838] Improve arg clinic code generation for cases with type checking

2018-09-28 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34779] IDLE internals show up in tracebacks when returning objects that cannot be `repr`ed

2018-09-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34832] "Short circuiting" in base64's b64decode, decode, decodebytes

2018-09-28 Thread Felipe Rodrigues
Felipe Rodrigues added the comment: I am not sure if simply ignoring the non-valid character is the best way to go. Feels like silencing errors. b64decode does accept the 'validate' flag - defaulted to False - that will halt the execution and throw an error. What might be a good idea is to

[issue34832] "Short circuiting" in base64's b64decode, decode, decodebytes

2018-09-28 Thread Felipe Rodrigues
Felipe Rodrigues added the comment: Actually, I'm not even sure if it makes sense to decode the 'first valid substring'... IMHO, we should warn the user -- ___ Python tracker

[issue34839] doctest: Change example under warnings section

2018-09-28 Thread Cheryl Sabella
New submission from Cheryl Sabella : The Warnings section of the doctest documentation (https://docs.python.org/3.8/library/doctest.html#warnings) contains an example that the printing order of a dictionary is not guaranteed. Since it is now guaranteed to be insertion order, perhaps the

[issue34609] Importing certain modules while debugging raises an exception

2018-09-28 Thread Brett Cannon
Brett Cannon added the comment: The failure line that Cheryl found in her traceback is at https://github.com/python/cpython/blob/master/Lib/importlib/_bootstrap.py#L101 . Maybe Antoine has an idea since he did a bunch of work on import locking? -- nosy: +pitrou

[issue34831] Asyncio Tutorial

2018-09-28 Thread Yury Selivanov
Yury Selivanov added the comment: I like this, great job! Couple of thoughts on how we should organize this: * I think we should stick to your structure and push things to docs.python.org as soon as every next section is somewhat ready. * Every big section should probably have its own

[issue34829] Add missing selection_ methods to tkinter Spinbox

2018-09-28 Thread Juliette Monsel
Change by Juliette Monsel : -- keywords: +patch pull_requests: +9016 stage: -> patch review ___ Python tracker ___ ___

[issue34830] functools.partial is weak referncable

2018-09-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-09-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 077061a7b24917aaf31057885c69919c5a553c88 by Victor Stinner (Pablo Galindo) in branch 'master': bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613)

[issue34369] kqueue.control() documentation and implementation mismatch

2018-09-28 Thread Martin Panter
Martin Panter added the comment: I think removing all mention of “None” is a step too far. The “devpoll”, “epoll”, and “poll” documentation all say that “None” is acceptable for the timeout. Only the “select” function doesn’t say this. What about adding to the text: * “timeout” in seconds

[issue34830] functools.partial is weak referncable

2018-09-28 Thread Julien Palard
Julien Palard added the comment: TIL. So it really make sense in this context to tell a functools.partial is weak referencable? -- ___ Python tracker ___

[issue34830] functools.partial is weak referncable

2018-09-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think yes. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34777] urllib.request accepts anything as a header parameter for some URLs

2018-09-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sure, thanks for the confirmation. Closing it as not a bug. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue34829] Add missing selection_ methods to tkinter Spinbox

2018-09-28 Thread Juliette Monsel
New submission from Juliette Monsel : Though the text area of the tkinter Spinbox behaves like an Entry, the methods selection_from, selection_range, selection_present and selection_to have not been implemented. So for consistency with the Entry widget, I suggest to add them. --

[issue34777] urllib.request accepts anything as a header parameter for some URLs

2018-09-28 Thread Jose Gama
Jose Gama added the comment: Yes, I agree, it's not a bug.This note might help other people who run into the same questions, particularly with error handling.Thank you! On Friday, September 28, 2018, 7:21:03 AM GMT+2, Karthikeyan Singaravelan wrote: Karthikeyan Singaravelan added

[issue34369] kqueue.control() documentation and implementation mismatch

2018-09-28 Thread Tal Einat
Tal Einat added the comment: I agree Martin, I hadn't noticed that the docs don't otherwise mention the default behavior WRT timeout. I've added a description as per your suggestion to the PR. -- ___ Python tracker

[issue34830] functools.partial is weak referncable

2018-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Instances of many builtin types are not weak referencable. >>> weakref.ref(0) Traceback (most recent call last): File "", line 1, in TypeError: cannot create weak reference to 'int' object >>> weakref.ref([]) Traceback (most recent call last): File "",

[issue27195] Crash when RawIOBase.write(b) evaluates b.format

2018-09-28 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +9015 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34830] functools.partial is weak referncable

2018-09-28 Thread Julien Palard
New submission from Julien Palard : According to the doc: :class:`partial` objects are like :class:`function` objects in that they are callable, weak referencable, and can have attributes. I don't understand why "weak" here, and it's the only occurence of "weak referencable" in the

[issue34751] Hash collisions for tuples

2018-09-28 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Replacing DJBX33A's multiplier of 33 is also a different algorithm. So is > working with inputs other than unsigned bytes. I would argue that this is just extending the parameters of the algorithm. If the algorithm is general enough, then that shouldn't

[issue34830] functools.partial is weak referncable

2018-09-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: ``` In [1]: import weakref In [2]: class A: ...: __slots__ = ()

[issue34830] functools.partial is weak referncable

2018-09-28 Thread Julien Palard
Change by Julien Palard : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue25095] test_httpservers hangs since Python 3.5

2018-09-28 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34831] Asyncio Tutorial

2018-09-28 Thread Caleb Hattingh
New submission from Caleb Hattingh : Hi Yury, As discussed, below is a very rough outline of a proposed TOC for an asyncio tutorial. No content has been written yet (only what you see below). I think we should nail down the TOC first. Asyncio Tutorial Proposed Table of

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-09-28 Thread STINNER Victor
STINNER Victor added the comment: Pablo: I merged your PR on master, and backport it to 3.6 and 3.7. But I let you handle 2.7, since I expect a conflict :-) -- ___ Python tracker

[issue25095] test_httpservers hangs since Python 3.5

2018-09-28 Thread Martin Panter
Martin Panter added the comment: Hi William, when I mentioned “Content-Length”, I meant adding it to the response from the server. See the second version of “do_GET” in my earlier comment . But that is no good without also adding the

[issue34832] "Short circuiting" in base64's b64decode, decode, decodebytes

2018-09-28 Thread Michael Harris
New submission from Michael Harris : When given an invalid base64 string that starts with a valid base64 substring, the functions will return the decoded bytes only up to the substring rather then ignoring the non-alphabet character. Examples: >>> base64.b64decode("")

[issue34828] sqlite.iterdump does not work for (most) databases with autoincrement

2018-09-28 Thread Joel Klimont
Change by Joel Klimont : -- keywords: +patch pull_requests: +9019 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34833] [CI] Azure Pipeline: Initialize Agent failed

2018-09-28 Thread STINNER Victor
STINNER Victor added the comment: Ah, I found more info: ##[Error 1] The agent: Hosted Agent lost communication with the server. Verify the machine is running and has a healthy network connection. For more information, see: https://go.microsoft.com/fwlink/?linkid=846610 ##[Error 2] The

[issue34833] [CI] Azure Pipeline: Initialize Agent failed

2018-09-28 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34818] test.test_ssl.ThreadedTests.test_tls1_3 fails in 2.7 with AttributeError: __exit__

2018-09-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +9020 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34771] test_ctypes failing on Linux SPARC64

2018-09-28 Thread Martin Panter
Martin Panter added the comment: Seems to be a common theme on various 64-bit ABIs. There is already a fix for Python’s Windows copy of the FFI library (Issue 29565), and a “hack” for Arm and x86 Windows (again!): Issue 30353. -- nosy: +martin.panter

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2018-09-28 Thread Łukasz Langa
Change by Łukasz Langa : -- assignee: -> pablogsal nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2018-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: This was closed without enough explanation. Suggesting people should use ExitStack due to a Python grammar deficiency is suboptimal to say the least. This problem is coming back to users of Black due to Black's removal of backslashes. It's the only piece of

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-09-28 Thread STINNER Victor
STINNER Victor added the comment: > https://github.com/python/cpython/pull/9607 turns SOURCE_DATE_EPOCH into a > *default* rather than absolute override. Once we decided to merge or reject this PR, we should maybe update the PEP 552 to clarify the interaction with the SOURCE_DATE_EPOCH

[issue34797] Convert heapq to the argument clinic

2018-09-28 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34797] Convert heapq to the argument clinic

2018-09-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset e2f48bf0e851dc79d888c70fd24c631a8a9e1030 by Raymond Hettinger (Pablo Galindo) in branch 'master': bpo-34797: Convert heapq to the argument clinic (GH-9560) https://github.com/python/cpython/commit/e2f48bf0e851dc79d888c70fd24c631a8a9e1030

[issue34837] Multiprocessing.pool API Extension - Non-Global Initialization of Workers

2018-09-28 Thread Sean Harrington
Change by Sean Harrington : -- components: Library (Lib) nosy: seanharr11 priority: normal severity: normal status: open title: Multiprocessing.pool API Extension - Non-Global Initialization of Workers type: enhancement versions: Python 3.6, Python 3.7, Python 3.8

[issue25812] locale.nl_langinfo() can't decode value

2018-09-28 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21919] Changing cls.__bases__ must ensure proper metaclass inheritance

2018-09-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I am adding Raymond as part of triaging who might have a better explanation > about this. Guido, is this something we care about? There is value in checking for metaclass conflicts when a class is created (to catch plausible mistakes and to assure

[issue34751] Hash collisions for tuples

2018-09-28 Thread Tim Peters
Tim Peters added the comment: [Tim] > Perhaps worth noting that FNV-1a works great if used as > _intended_: on a stream of unsigned bytes. > ... > >Py_uhash_t t = (Py_uhash_t)y; >for (int i = 0; i < sizeof(t); ++i) { >x = (x ^ (t & 0xff)) * (Py_uhash_t)1099511628211ULL; >

[issue34837] Multiprocessing.pool API Extension - Non-Global Initialization of Workers

2018-09-28 Thread Sean Harrington
Change by Sean Harrington : -- keywords: +patch pull_requests: +9025 stage: -> patch review ___ Python tracker ___ ___

[issue25812] locale.nl_langinfo() can't decode value

2018-09-28 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34797] Convert heapq to the argument clinic

2018-09-28 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21919] Changing cls.__bases__ must ensure proper metaclass inheritance

2018-09-28 Thread Guido van Rossum
Guido van Rossum added the comment: As long as you can't crash CPython with this, this is the responsibility of the code that assigns to __bases__. If they don't take care, the program's behavior is undefined. -- ___ Python tracker

[issue21109] tarfile: Traversal attack vulnerability

2018-09-28 Thread R. David Murray
Change by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34828] sqlite.iterdump does not work for (most) databases with autoincrement

2018-09-28 Thread Joel Klimont
Joel Klimont added the comment: I made the pull request: https://github.com/python/cpython/pull/9621 -- ___ Python tracker ___ ___

[issue34827] Make argparse.NameSpace iterable

2018-09-28 Thread paul j3
paul j3 added the comment: As documented in https://docs.python.org/3/library/argparse.html#the-namespace-object you can create your own 'namespace' class, that does everything you want and more. argparse makes very few assumptions about the object - using getattr, setattr, and hasattr

[issue34370] Tkinter scroll issues on macOS

2018-09-28 Thread Vlad Tudorache
Vlad Tudorache added the comment: The scroll problem (clicking on the upper half of the slider is taken as "through1") still persists for me on Mojave with 3.7.1 RC1 downloaded from python.org and including Tcl/Tk. -- ___ Python tracker

[issue34771] test_ctypes failing on Linux SPARC64

2018-09-28 Thread Frank Schaefer
Frank Schaefer added the comment: FYI the libffi bug report is open here: https://github.com/libffi/libffi/issues/451 As noted in the bug report, this issue actually doesn't appear to impact ARM64 (or ARM32 GNUEABI/GNUEABIHF). -- ___ Python

[issue25812] locale.nl_langinfo() can't decode value

2018-09-28 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- assignee: -> nnja ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29001] logging.handlers.RotatingFileHandler rotation broken under gunicorn

2018-09-28 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29001] logging.handlers.RotatingFileHandler rotation broken under gunicorn

2018-09-28 Thread Vinay Sajip
Vinay Sajip added the comment: It's not Gunicorn-specific - more a case of multiple processes writing to a single log file. This is not supported directly, as documented here: https://docs.python.org/3/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes As the

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2018-09-28 Thread Nick Coghlan
Nick Coghlan added the comment: Especially since the dynamic flexibility of ExitStack comes at a genuine runtime cost when unwinding the resource stack. I also (very!) belatedly noticed that I never answered Julian's request for clarification about the potential grammar ambiguity, so going

[issue34687] asyncio: is it time to make ProactorEventLoop as the default event loop?

2018-09-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9021 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34751] Hash collisions for tuples

2018-09-28 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I spent about 2 days doing an extensive study of the FNV and DJB algorithms. I share my conclusions below. To be very clear what I mean, I am talking about the following algorithms (t is a tuple and m is the multiplier which is always assumed to be odd).

[issue34687] asyncio: is it time to make ProactorEventLoop as the default event loop?

2018-09-28 Thread miss-islington
miss-islington added the comment: New changeset 37aae9dcf18753b8ffda99d1a5758a90af852464 by Miss Islington (bot) (Victor Stinner) in branch 'master': bpo-34687: Update asyncio doc for ProactorEventLoop (GH-9623)

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-09-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 007fda436f707ac95c2fa8f8886efd9e09d5b630 by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613) (GH-9619)

[issue34817] Ellipsis docs has extra dot in the markdown that makes it look like .... (four dots)

2018-09-28 Thread Martin Panter
Martin Panter added the comment: In these situations, I use quotes or brackets to mention a symbol without using it as punctuation. Using words might also help. What about: Ellipsis The same as the ellipsis literal “...”. Special value used [etc] -- nosy: +martin.panter

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-09-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +9018 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-09-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +9017 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34829] Add missing selection_ methods to tkinter Spinbox

2018-09-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-09-28 Thread miss-islington
miss-islington added the comment: New changeset 5d33ee1595767d68800fda13bc68b7b01dba5117 by Miss Islington (bot) in branch '3.6': bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613)

[issue34810] Maximum and minimum value of C types integers from Python

2018-09-28 Thread Ammar Askar
Ammar Askar added the comment: What is the use case for getting the maximum and minimum of the fixed bit integers like `uint8`? It's a trivial formula to calculate those. Now, if you're talking about platform dependent types like `int` and `long` then it might makes more sense to add such

[issue34833] [CI] Azure Pipeline: Initialize Agent failed

2018-09-28 Thread STINNER Victor
New submission from STINNER Victor : Error: "Initialize Agent failed". Sorry... I don't see any additional information, only this error message... Failed build: https://python.visualstudio.com/cpython/_build/results?buildId=31597=logs Source: https://github.com/python/cpython/pull/9619 It's

[issue34834] test_ssl.test_options does not correctly account for built-in ctx defaults with openssl 1.1.1

2018-09-28 Thread Dimitri John Ledkov
Change by Dimitri John Ledkov : -- keywords: +patch pull_requests: +9022 stage: -> patch review ___ Python tracker ___ ___

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +9023 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34836] test_ssl.test_default_ecdh_curve needs no tls1.3 flag in 2.7, for now

2018-09-28 Thread Dimitri John Ledkov
New submission from Dimitri John Ledkov : test_default_ecdh_curve fails, as ssl.OP_NO_TLSv1_3 is not set on the context. and the test case can only work with non-tls1.3 connections. this indicates that the pull request that sprinkled ssl.OP_NO_TLSv1_3 everywhere was not backported, taking

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2018-09-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The Python grammar is already not LL(1) strictly. Take for example the production for "argument": argument: ( test [comp_for] | test '=' test | '**' test | '*' test ) obviously the first sets of test and test are the same and is ambiguous, but the

[issue34835] Multiprocessing module update fails with pip3

2018-09-28 Thread Steven D'Aprano
Steven D'Aprano added the comment: ``pip3 search multiprocessing`` says: multiprocessing (2.6.2.1)- Backport of the multiprocessing package to Python 2.4 and 2.5 so you are trying to install a Python 2.4/2.5 package into Python 3.7, which naturally cannot work. In Python 2.6+

[issue34834] test_ssl.test_options does not correctly account for built-in ctx defaults with openssl 1.1.1

2018-09-28 Thread Dimitri John Ledkov
New submission from Dimitri John Ledkov : self.assertEqual(default, ctx.options) in test_options fails with openssl 1.1.1 as it does not correctly account for OP_ENABLE_MIDDLEBOX_COMPAT. It is not defined by the python2.7 ssl module either. either ssl.OP_ENABLE_MIDDLEBOX_COMPAT needs to be

[issue34835] Multiprocessing module update fails with pip3

2018-09-28 Thread Dr_Zaszus
New submission from Dr_Zaszus : pip3 install --upgrade multiprocessing fails with a python2 error in 'setup.py': print 'Macros:' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Macros:')? -- components: Installation

[issue34836] test_ssl.test_default_ecdh_curve needs no tls1.3 flag in 2.7, for now

2018-09-28 Thread Dimitri John Ledkov
Change by Dimitri John Ledkov : -- keywords: +patch pull_requests: +9024 stage: -> patch review ___ Python tracker ___ ___

[issue34835] Multiprocessing module update fails with pip3

2018-09-28 Thread Dr_Zaszus
Dr_Zaszus added the comment: No, you are right, thank you. But just to be clear, how do I update multiprocessing in python3 then? -- ___ Python tracker ___

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2018-09-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The DFA for the rule with_stmt: 'with' ( with_item (',' with_item)* | '(' with_item (',' with_item)* [','] ')' ) ':' suite is: DFA for with_stmt

[issue34768] Add documentation explaining __init__.py in packages

2018-09-28 Thread Éric Araujo
Éric Araujo added the comment: I think the expectation is that people will know about modules and packages long before they upload things to PyPI. The import system and the packaging tools are two independent domains. For example the official tutorial has an intro:

[issue34834] test_ssl.test_options does not correctly account for built-in ctx defaults with openssl 1.1.1

2018-09-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34836] test_ssl.test_default_ecdh_curve needs no tls1.3 flag in 2.7, for now

2018-09-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15994] memoryview to freed memory can cause segfault

2018-09-28 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker ___ ___