[issue37119] Equality on dict.values() are inconsistent between 2 and 3

2019-05-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/library/stdtypes.html#dictionary-view-objects > Keys views are set-like since their entries are unique and hashable. If all > values are hashable, so that (key, value) pairs are unique and hashable, then > the items view

[issue36411] Python 3 f.tell() gets out of sync with file pointer in binary append+read mode

2019-05-31 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13604 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13717 ___ Python tracker

[issue37120] Provide knobs to disable session ticket generation on TLS 1.3

2019-05-31 Thread Nathaniel Smith
New submission from Nathaniel Smith : Maybe we should expose the SSL_CTX_set_num_tickets function: https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_num_tickets.html This is a new function added in OpenSSL 1.1.1, that lets you control the number of tickets issued by a TLS 1.3 connection.

[issue14014] codecs.StreamWriter.reset contract not fulfilled

2019-05-31 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +13603 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13716 ___ Python tracker ___

[issue37073] clarify functions docs in IO modules and Bytes Objects

2019-05-31 Thread Windson Yang
Change by Windson Yang : -- pull_requests: +13602 pull_request: https://github.com/python/cpython/pull/13715 ___ Python tracker ___

[issue36818] Add PyInterpreterState.runtime.

2019-05-31 Thread Eric Snow
Change by Eric Snow : -- resolution: rejected -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-05-31 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +13601 pull_request: https://github.com/python/cpython/pull/13714 ___ Python tracker ___

[issue37073] clarify functions docs in IO modules and Bytes Objects

2019-05-31 Thread Windson Yang
Change by Windson Yang : -- keywords: +patch pull_requests: +13600 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13713 ___ Python tracker ___

[issue37073] clarify functions docs in IO modules and Bytes Objects

2019-05-31 Thread Windson Yang
Windson Yang added the comment: Sure. Feel free to edit my PR. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29984] Improve test coverage for 'heapq' module

2019-05-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 664fe3996f7e05ae351526f02b21504bb065bcf8 by Raymond Hettinger (Rob Day) in branch 'master': bpo-29984: Improve 'heapq' test coverage (GH-992) https://github.com/python/cpython/commit/664fe3996f7e05ae351526f02b21504bb065bcf8 --

[issue37119] Equality on dict.values() are inconsistent between 2 and 3

2019-05-31 Thread 林自均
New submission from 林自均 : When I create 2 different dicts with the same literal, their dict.values() are equal in python2 but not equal in python3. Here is an example in python2: $ python2 Python 2.7.16 (default, Mar 4 2019, 09:02:22) [GCC 4.2.1 Compatible Apple LLVM 10.0.0

[issue34763] Python lacks 0x4E17

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: Tools/unicode/makeunicodedata.py looks at Unihan database for the fields kAccountingNumeric, kOtherNumeric, and kPrimaryNumeric in Unihan_NumericValues.txt:

[issue17005] Add a topological sort algorithm

2019-05-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: Unless Łukasz gives us a nod to work out this API for the second beta, we'll need to defer this to 3.9. IMO, the API in the patch is not user friendly. It started on the right path but became contorted (for both inputs and outputs) to serve unusual

[issue35996] Optional modulus argument for new math.prod() function

2019-05-31 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36818] Add PyInterpreterState.runtime.

2019-05-31 Thread Eric Snow
Eric Snow added the comment: New changeset 396e0a8d9dc65453cb9d53500d0a620602656cfe by Eric Snow in branch 'master': bpo-36818: Add PyInterpreterState.runtime field. (gh-13129) https://github.com/python/cpython/commit/396e0a8d9dc65453cb9d53500d0a620602656cfe --

[issue37029] PyObject_Free is O(N) where N = # of arenas

2019-05-31 Thread Tim Peters
Change by Tim Peters : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37029] PyObject_Free is O(N) where N = # of arenas

2019-05-31 Thread Tim Peters
Tim Peters added the comment: New changeset 1c263e39c4ed28225a7dc8ca1f24953225ac48ca by Tim Peters in branch 'master': bpo-37029: keep usable_arenas in sorted order without searching (#13612) https://github.com/python/cpython/commit/1c263e39c4ed28225a7dc8ca1f24953225ac48ca --

[issue12202] Check status returns in msilib.SummaryInformation.GetProperty()

2019-05-31 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +13599 pull_request: https://github.com/python/cpython/pull/13712 ___ Python tracker ___

[issue12202] Check status returns in msilib.SummaryInformation.GetProperty()

2019-05-31 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.7 ___ Python tracker ___

[issue12202] Check status returns in msilib.SummaryInformation.GetProperty()

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: New changeset 549e55a3086d04c13da9b6f33214f6399681292a by Berker Peksag (Zackery Spytz) in branch 'master': bpo-12202: Properly check MsiSummaryInfoGetProperty() calls in msilib (GH-13711)

[issue37110] Clarify hashability of custom class instances

2019-05-31 Thread Christoph Zwerschke
Christoph Zwerschke added the comment: My point was that it's not immediately obvious what "by default" means and that hashability is not only affected by the __hash__ method but also by __eq__. But I agree, you can argue that "by default" already includes not adding any special methods

Re: Checking refusal of a network connection

2019-05-31 Thread Cameron Simpson
On 31May2019 17:35, Markus Elfring wrote: I can start a service as desired. elfring@Sonne:~/Projekte/Bau/C++/test-statistic-server1/local> ./test-statistic-server2 & /usr/bin/ss -t -l -p -H|grep test [1] 8961 waiting for connections server_id: localhost server_port: 35529 LISTEN 0

Re: How to use ssh-agent in windows in python?

2019-05-31 Thread Cameron Simpson
On 31May2019 21:51, Fc Zwtyds wrote: 在 2019-05-30 6:41, Cameron Simpson 写道: The you could just use os.system() to run the other commands, because the environment now has the necessary environment settings. [...] Under your guidance, the python code using ssh-agent ssh-add has been running

[issue37110] Clarify hashability of custom class instances

2019-05-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs look correct to me: >>> class A: pass >>> hash(A()) 274859987 User defined classes are in-fact hashable by default. Other methods can be defined to change hashability, but they are not the default. FWIW, it isn't the

[issue32628] Add configurable DirectoryIndex to http.server

2019-05-31 Thread Erik Paulson
Erik Paulson added the comment: I think my use case was Sharepoint and static site generators - Sharepoint can serve a tree of .aspx files as raw HTML, but maddeningly not .html files. The site generator we used spit out a fairly complicated site where the internal links point at

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread Steve Dower
Steve Dower added the comment: New changeset bfc1f605609218b9734d3cf3eab3531a2f4624e1 by Steve Dower (Miss Islington (bot)) in branch '2.7': [2.7] bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688)

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker ___

[issue37117] Simplify customization of the logging time through datefmt

2019-05-31 Thread Mario Corchero
Mario Corchero added the comment: AFAIK, the converter attribute is only to "be set" with a function of such signature. It is not documented that it can be used and it is only used on the format time function. The only situation where this might break someone is if they inherit from

[issue36896] clarify in types.rst that FunctionTypes & co constructors don't have stable signature

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, I think " Not for the faint of heart." could be replaced or augmented by 'api may change' -- ___ Python tracker ___

[issue37089] `import Lib.os` works on windows (but shouldn't)

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: If .../Tools and its subdirectories had __init__.py files, the presence of sys.prefix on sys.path, on Windows, would allow imports from those subdirs. Otherwise, it only provides a second way to import stdlib modules. This seems like a bit of a bug.

[issue12202] Check status returns in msilib.SummaryInformation.GetProperty()

2019-05-31 Thread Zackery Spytz
Zackery Spytz added the comment: This issue needs to be fixed. Passing an invalid value to SummaryInformation.GetProperty() will cause the first MsiSummaryInfoGetProperty() call to fail. As the call is not properly checked, the "type" variable will then be used uninitialized in

[issue12202] Check status returns in msilib.SummaryInformation.GetProperty()

2019-05-31 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +13598 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13711 ___ Python tracker ___

[issue37082] Assignment expression symbol (walrus) not in built-in help()

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: The augmented assignment symbol, like that for plain assignment, is not, properly speaking, an operator. But it definitely is a symbol that needs to be documented. 1. Generally update the help symbol list. 2. Document :=, assignment expression, in the

[issue37101] Filterer.filter can be rewritten using built-ins just as efficient much more readable

2019-05-31 Thread Dale Visser
Dale Visser added the comment: FWIW, when I tried this instead, I got 21 to 22 msec per 1000 log messages (still a 5-10% performance hit): def filter(self, record): rv = True if self.filters: rv = all(getattr(f, 'filter', f)(record) for f in self.filters) return rv I

[issue32628] Add configurable DirectoryIndex to http.server

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report and for the patch! What's your use case? I understand the need for it for httpd, but as someone who uses http.server daily, I can't think of a use case that I'd find this feature useful. Note that even the example in your message and

[issue37102] Automatically dedent docstring constants by default

2019-05-31 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi, I'm working on a PR. It should be ready in a couple of days. It's more involved than what I thought as to avoid importing inspect during compilation I will probably need to port cleandoc() in C. -- nosy: +remi.lapeyre

[issue37080] Cannot compile Python3.7.3 on Alt-F (ARM)

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you are trying to compile CPython. Perhaps you might do better with MicroPython, designed for micro devices. Steve, do you know anything about CPython on Arm with linux? -- nosy: +steve.dower, terry.reedy

[issue37073] clarify functions docs in IO modules and Bytes Objects

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you prepare a PR? -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing

[issue37071] HTMLParser mistakenly inventing new tags while parsing

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please verify with 3.7.3+ and the latest version of Sphinx. Even if there is a problem, Sphinx is not an stdlib package. The problem would only be relevant to this tracker, rather than the Sphinx tracker, if it were due to our customizations or use of

[issue37118] Why is GIL on 2.7 so much faster than 3.7

2019-05-31 Thread gary*atlanta
gary*atlanta added the comment: tested this loop: for (i=0; i performance ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37068] Emit SyntaxWarning for f-strings without expressions ?

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: An f-string is equivalent to a format string and call. The exact details are not important. An field with no value is an error either way. (I prefer the compile-time exception.) >>> f'{}a' SyntaxError: f-string: empty expression not allowed >>>

[issue37102] Automatically dedent docstring constants by default

2019-05-31 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37118] Why is GIL on 2.7 so much faster than 3.7

2019-05-31 Thread Zachary Ware
New submission from Zachary Ware : This is a bug tracker, not a forum for questions. Please try a more appropriate venue for your question, like python-l...@python.org or StackOverflow. You're going to need to provide some actual evidence rather than just a provocative assertion, though.

[issue12178] csv writer doesn't escape escapechar

2019-05-31 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +13597 pull_request: https://github.com/python/cpython/pull/13710 ___ Python tracker ___

[issue37118] Why is GIL on 2.7 so much faster than 3.7

2019-05-31 Thread gary*atlanta
Change by gary*atlanta : -- components: Interpreter Core nosy: gary*atlanta priority: normal severity: normal status: open title: Why is GIL on 2.7 so much faster than 3.7 versions: Python 3.7 ___ Python tracker

[issue37105] Add deprecated-remove information on stream doc

2019-05-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset ed9f3562b637a59b9000abbceee5ae369d35444d by Andrew Svetlov (Emmanuel Arias) in branch 'master': bpo-37105: Add deprecated-remove information on stream doc (#13672)

[issue37040] checking for membership in itertools.count enters infinite loop with no way to exit

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Dan, please leave this closed. It duplicates #31815 and should be closed on that grounds alone, regardless of the status of the latter. #31815 was closed in favor of #33939, which is open, with ongoing discussion. Resolution either way is blocked because

[issue15115] Duplicated Content-Transfer-Encoding header when applying email.encoders

2019-05-31 Thread miss-islington
miss-islington added the comment: New changeset 464c1ec65af2c1c1d849d50d9726fa453804e70e by Miss Islington (bot) in branch '3.7': bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354) https://github.com/python/cpython/commit/464c1ec65af2c1c1d849d50d9726fa453804e70e

[issue11871] test_default_timeout() of test_threading.BarrierTests failure: BrokenBarrierError

2019-05-31 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: Got this issue today in AppVeyor's PR check: https://ci.appveyor.com/project/python/cpython/builds/24945165, so it's not local to David's worker. (At rerun, the test succeeeded, so the check status was not affected.) -- nosy: +Ivan.Pozdeev versions:

[issue15115] Duplicated Content-Transfer-Encoding header when applying email.encoders

2019-05-31 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 2.7, Python 3.6 ___ Python tracker ___

[issue15115] Duplicated Content-Transfer-Encoding header when applying email.encoders

2019-05-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +13596 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13709 ___ Python tracker ___

[issue15115] Duplicated Content-Transfer-Encoding header when applying email.encoders

2019-05-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: New changeset a747c3a5edf21fa5670bc30f5e1d804de89ebf62 by Cheryl Sabella in branch 'master': bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354) https://github.com/python/cpython/commit/a747c3a5edf21fa5670bc30f5e1d804de89ebf62

[issue37102] Automatically dedent docstring constants by default

2019-05-31 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- nosy: +mbussonn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33361] readline() + seek() on codecs.EncodedFile breaks next readline()

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report, Diego and thank you for the patch, Ammar! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___

[issue33361] readline() + seek() on codecs.EncodedFile breaks next readline()

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: New changeset a6dc5d4e1c9ef465dc1f1ad95c382aa8e32b178f by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278) https://github.com/python/cpython/commit/a6dc5d4e1c9ef465dc1f1ad95c382aa8e32b178f

[issue36896] clarify in types.rst that FunctionTypes & co constructors don't have stable signature

2019-05-31 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > I don't believe we put version changed notes in docstrings, Oh no I was thinking a note in the docstring "constructor signature may change between Python versions". Whether to put changed/addition info in docstrings is another subject and a thing I

[issue37111] Logging - Inconsistent behaviour when handling unicode

2019-05-31 Thread Jonathan
Jonathan added the comment: > Did you look at the basicConfig documentation before raising this issue? This seems like an attempt at victim blaming. But yes, I did. In fact, this is now the third time I've looked at that page - once before raising this issue, once before my previous reply,

[issue36896] clarify in types.rst that FunctionTypes & co constructors don't have stable signature

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pablo, I am all for respectfully preserving implementation freedom where we can. From idlelib.__init__: [idlelib files other than idle*.*] "are private implementations. Their details are subject to change. See PEP 434 for more. Import them at your own

[issue33361] readline() + seek() on codecs.EncodedFile breaks next readline()

2019-05-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +13595 pull_request: https://github.com/python/cpython/pull/13708 ___ Python tracker ___

[issue33361] readline() + seek() on codecs.EncodedFile breaks next readline()

2019-05-31 Thread Berker Peksag
Berker Peksag added the comment: New changeset a6ec1ce1ac05b1258931422e96eac215b6a05459 by Berker Peksag (Ammar Askar) in branch 'master': bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278) https://github.com/python/cpython/commit/a6ec1ce1ac05b1258931422e96eac215b6a05459

[issue37111] Logging - Inconsistent behaviour when handling unicode

2019-05-31 Thread Vinay Sajip
Vinay Sajip added the comment: > Doing something as basic as logging unicode shouldn't require knowledge of > "handlers" - that's failing "simple is better than complex". I reiterate my statement that it appears that you aren't sufficiently familiar with how logging is designed to work.

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2019-05-31 Thread Chris Angelico
On Sat, Jun 1, 2019 at 5:11 AM wrote: > > NOT WORKING IN MINE PLZ HELP > > > > from tkinter import * > g=Tk() > g.geometry("{0}x{1}+0+0".format(g.winfo_screenwidth(), > g.winfo_screenheight())) > g.title("Check") > g.configure(background='powder blue') > > > def clear_search(event): >

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2019-05-31 Thread Rhodri James
On 31/05/2019 20:08, sakshamrahej...@gmail.com wrote: NOT WORKING IN MINE PLZ HELP from tkinter import * g=Tk() ^^ g.geometry("{0}x{1}+0+0".format(g.winfo_screenwidth(), g.winfo_screenheight())) g.title("Check") g.configure(background='powder blue') def clear_search(event):

[issue23667] IDLE to provide option for making trailing whitespace visible

2019-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, which definition of 'whitespace' do you intent? Git gui also marks trailing spaces in frozen diffs. This is much harder to do while editing as text can be read, keyed, and pasted. Most spaces and blank lines are only temporarily trailing, before

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2019-05-31 Thread sakshamraheja11
NOT WORKING IN MINE PLZ HELP from tkinter import * g=Tk() g.geometry("{0}x{1}+0+0".format(g.winfo_screenwidth(), g.winfo_screenheight())) g.title("Check") g.configure(background='powder blue') def clear_search(event): e1.delete(0, tk.END) e1=Entry(g) e1.insert(0,'username') e1.pack()

[issue37117] Simplify customization of the logging time through datefmt

2019-05-31 Thread Vinay Sajip
Vinay Sajip added the comment: The documentation mentions that the converter attribute of the formatter should be signature-compatible with time.localtime() and time.gmtime(), and some users will have set this attribute with one or the other or a compatible function. Doesn't your change

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2019-05-31 Thread sakshamraheja11
Not happening in mine -- https://mail.python.org/mailman/listinfo/python-list

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread Zackery Spytz
Zackery Spytz added the comment: Thanks for looking at this issue, Steve. At this point in time, 3.6 only takes security fixes, so PR 13703 should be closed. The Close() method was added in 3.7, so I think removing the addCleanup() call is the way to go for 2.7. --

[issue37111] Logging - Inconsistent behaviour when handling unicode

2019-05-31 Thread Jonathan
Jonathan added the comment: Thank you for your comments but this wasn't a question and I maintain this is a bug, or at least undesirable behaviour. I'd consider it a bug in my own software. Reasoning: * It's an inconsistent default with the logging to screen. This causes more complexity

[issue36947] [Good first issue] Fix 3.3.3.1 Metaclasses Documentation

2019-05-31 Thread Chirag Garg
Chirag Garg added the comment: It should be written like "In the following example, both MyClass and MySubclass are instances of Meta and the type of MyClass is of metaclass Meta and type of MySubclass is MyClass:" -- nosy: +codevil_2o ___ Python

[issue36896] clarify in types.rst that FunctionTypes & co constructors don't have stable signature

2019-05-31 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Victor recently implemented CodeType.replace(); which I believe will cover many of the usecase. Should I also send a PR that update the DocStrings of (some of) ? these objects? many people don't go and read the html docs... --

[issue10936] Simple CSS fix for left margin at docs.python.org

2019-05-31 Thread Chirag Garg
Chirag Garg added the comment: Yes, it is creating a vision problem as the text is creating a problem. And the CSS script of @cdunn2001 is correct also there is a need to change the navigation bar. -- nosy: +codevil_2o ___ Python tracker

[issue37117] Simplify customization of the logging time through datefmt

2019-05-31 Thread Mario Corchero
New submission from Mario Corchero : Users that want to provide a custom template for the timestamp part of logging cannot customize the milliseconds part of asctime. They can use the msecs attribute of the Logger but that effectively requires to break the formatting in two parts. Note that

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread Steve Dower
Steve Dower added the comment: Looks like the tests need to be customized for 2.7 and 3.6: Traceback (most recent call last): File "D:\a\1\s\lib\test\test_msilib.py", line 64, in test_directory_start_component_keyfile self.addCleanup(db.Close) AttributeError: '_msi.Database' object has

[issue26826] Expose new copy_file_range() syscall in os module.

2019-05-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset aac4d0342c3e692731c189d003dbd73a8c681a34 by Pablo Galindo in branch 'master': bpo-26826: Expose copy_file_range in the os module (GH-7255) https://github.com/python/cpython/commit/aac4d0342c3e692731c189d003dbd73a8c681a34 --

[issue36896] clarify in types.rst that FunctionTypes & co constructors don't have stable signature

2019-05-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Being said that, I am very happy with the current changes on the PR :) Thank you @Terry and @Petr for helping with this! -- ___ Python tracker

[issue36842] Implement PEP 578

2019-05-31 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +13594 pull_request: https://github.com/python/cpython/pull/13707 ___ Python tracker ___

[issue37101] Filterer.filter can be rewritten using built-ins just as efficient much more readable

2019-05-31 Thread Dale Visser
Dale Visser added the comment: Adding the patch file associated with GitHub pull request #13683, as well as the performance test I just reported. -- Added file: https://bugs.python.org/file48383/pr13683.diff ___ Python tracker

[issue36540] PEP 570: Python Positional-Only Parameters

2019-05-31 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +13593 pull_request: https://github.com/python/cpython/pull/13706 ___ Python tracker ___

[issue36839] Support the buffer protocol in code objects

2019-05-31 Thread Brett Cannon
Brett Cannon added the comment: RE: "I think it needs significant benefits for typical users, not only for Instagram. If only Instagram get benefit from this, keep it as Instagram's internal patch." But who's typical in this case? You? Me? We're talking code objects, something that the

Re: Checking refusal of a network connection

2019-05-31 Thread Markus Elfring
> Well, providing minimal code samples that produce the problem would be > a start. I prefer an other approach to clarify relevant software configuration differences. > Otherwise we are just guessing... I can offer other data before. > Maybe you have a firewall problem. I hope

[issue36896] clarify in types.rst that FunctionTypes & co constructors don't have stable signature

2019-05-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Although I completely agree with the decision of figuring out an explicit consensus regarding these APIs, I will explain a bit my +1: My +1 is not about the usage of PyCode_New, is about the usage of `types.CodeType`. The constructor for the later

[issue37094] Provide an example for TestCase.skipTest in unittest doc

2019-05-31 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch! -- nosy: +zach.ware resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7 ___ Python tracker

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread miss-islington
miss-islington added the comment: New changeset 49fc57abf5fcf60129e460046d78c9bf20a19931 by Miss Islington (bot) in branch '3.7': bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688)

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-31 Thread Michael Haubenwallner
Change by Michael Haubenwallner : -- pull_requests: +13592 pull_request: https://github.com/python/cpython/pull/737 ___ Python tracker ___

[issue15590] --libs is inconsistent for python-config --libs and pkgconfig python --libs

2019-05-31 Thread Ned Deily
Change by Ned Deily : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25735] math.factorial doc should mention integer return type

2019-05-31 Thread miss-islington
miss-islington added the comment: New changeset fc3b8437c86167983cc75e5a9a3ed1dc542a1b79 by Miss Islington (bot) in branch '3.7': bpo-25735: math.factorial doc should mention integer return type (GH-6420) https://github.com/python/cpython/commit/fc3b8437c86167983cc75e5a9a3ed1dc542a1b79

[issue37116] Use PEP 570 syntax for positional-only parameters

2019-05-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37109] Inacurrate documentation regarding return type of math.factorial

2019-05-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks for pointing out the other issue. I've now merged it. -- nosy: +cheryl.sabella ___ Python tracker ___

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +13589 pull_request: https://github.com/python/cpython/pull/13703 ___ Python tracker ___

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread Steve Dower
Steve Dower added the comment: Thanks, Zackery! The backports are running CI now and should merge if everything passes. -- stage: patch review -> backport needed ___ Python tracker

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +13590 pull_request: https://github.com/python/cpython/pull/13704 ___ Python tracker ___

[issue25735] math.factorial doc should mention integer return type

2019-05-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: @John.Yeung, thank you for the report. @mine0901, thanks for the initial patch and @akshaysharma, thank you for the PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread Steve Dower
Steve Dower added the comment: New changeset c8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c by Steve Dower (Zackery Spytz) in branch 'master': bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688)

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2019-05-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +13591 pull_request: https://github.com/python/cpython/pull/13705 ___ Python tracker ___

[issue25735] math.factorial doc should mention integer return type

2019-05-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +13588 pull_request: https://github.com/python/cpython/pull/13702 ___ Python tracker ___

[issue25735] math.factorial doc should mention integer return type

2019-05-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: New changeset 4612671df2742eade8ecf8003a6ce1247973c135 by Cheryl Sabella (Akshay Sharma) in branch 'master': bpo-25735: math.factorial doc should mention integer return type (GH-6420)

[issue26835] Add file-sealing ops to fcntl

2019-05-31 Thread Christian Heimes
Christian Heimes added the comment: New changeset 8cbb5b6625268400d6e9092b75b06d6f90398dc9 by Christian Heimes in branch 'master': bpo-26835: Add file sealing constants to fcntl (GH-13694) https://github.com/python/cpython/commit/8cbb5b6625268400d6e9092b75b06d6f90398dc9 --

[issue37094] Provide an example for TestCase.skipTest in unittest doc

2019-05-31 Thread miss-islington
miss-islington added the comment: New changeset 8135455c840b9e169a6cd527cb1ee922cafb9109 by Miss Islington (bot) in branch '3.7': bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645) https://github.com/python/cpython/commit/8135455c840b9e169a6cd527cb1ee922cafb9109

[issue37094] Provide an example for TestCase.skipTest in unittest doc

2019-05-31 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +13587 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13701 ___ Python tracker ___

  1   2   >