[issue34844] logging.Formatter enhancement - Checking on style and fmt fields

2018-10-05 Thread Vinay Sajip
Vinay Sajip added the comment: I see a PR has been added, I'll start to review it after the CLA has been signed. -- ___ Python tracker ___ ___

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Mike Gleen
New submission from Mike Gleen : strptime correctly parses single digit day-of-month values (at least in the case of "%d %b %Y") which is the behavior I want. However, the documentation seems to say that the field must be two digits with a leading zero if necessary. So I hope that this is the

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Mike, Thank you for your issue, but could you add the link to the documentation, just because we have time.strptime and datetime.datetime.strptime. Thank you, -- nosy: +matrixise ___ Python tracker

[issue34901] Missing isolated (-I) flag in sys.flags table

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Every release has a PEP associated with it from 3.6 and above that says about the lifespan of the release with bug fix releases and the time where it enters security fixes only mode. Now 3.4 and 3.5 are in security fixes mode where only security up

[issue18291] codecs.open interprets FS, RS, GS as line ends

2018-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The Unicode .splitlines() splits strings on what Unicode defines as linebreak characters (all code points with character properties Zl or bidirectional property B). This is different than what typical CSV file parsers or other parsers built for the ASCI

[issue22232] str.splitlines splitting on non-\r\n characters

2018-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I am -1 on changing the default behavior. The Unicode standard defines what a linebreak code point is (all code points with character properties Zl or bidirectional property B) and we adhere to that. This may confuse parsers coming from the ASCII world,

[issue34894] Unexpected error while unpickling lxml.etree.Element object

2018-10-05 Thread Marcin Raczyński
Marcin Raczyński added the comment: How are you sure that a bug is not in the CPython implementation of the pickle module but in the lxml? -- resolution: third party -> status: closed -> open ___ Python tracker

[issue34900] unittest subTests() fails when called from debug()

2018-10-05 Thread Berker Peksag
Berker Peksag added the comment: PR 9707 looks good to me. I will merge it once your CLA is processed by the PSF staff. Thanks! -- nosy: +berker.peksag type: crash -> behavior versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker

[issue34894] Unexpected error while unpickling lxml.etree.Element object

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue34894] Unexpected error while unpickling lxml.etree.Element object

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: lxml.etree classes don't implement any methods related to pickling: __reduce__, __reduce_ex__, __getstate__, __setstate__, __getnewargs__, __getnewargs_ex__. But there are extension classes which contain the state invisible to Python. In this case they are

[issue34900] unittest subTests() fails when called from debug()

2018-10-05 Thread Bruno Oliveira
Bruno Oliveira added the comment: Great, thanks again for the quick review. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34904] Crash in ZipFile.close() when writing zip file to /dev/null

2018-10-05 Thread Erik Bray
New submission from Erik Bray : Not that there is any great reason to write a zip file to /dev/null, but I had some code that happened to do so which worked on Python 2.7, but at some point this broke: Python 3.8.0a0 (heads/master:fc7d1b3, Oct 5 2018, 09:49:57) [GCC 4.8.4] on linux Type "hel

[issue34880] About the "assert" bytecode

2018-10-05 Thread Armin Rigo
Armin Rigo added the comment: A middle ground might be to copy the behavior of ``__import__``: it is loaded from the builtins module where specific hacks can change its definition, but it is not loaded from the globals. -- nosy: +arigo ___ Python

[issue34894] Unexpected error while unpickling lxml.etree.Element object

2018-10-05 Thread Marcin Raczyński
Marcin Raczyński added the comment: Thanks Serhiy for explanation! I quote your comment in a lxml issue tracker: https://bugs.launchpad.net/lxml/+bug/736708 -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue34900] unittest subTests() fails when called from debug()

2018-10-05 Thread Berker Peksag
Berker Peksag added the comment: FYI, I just noticed that this is a duplicate of issue 29551, but decided to keep this one open. -- ___ Python tracker ___ ___

[issue29551] unittest: TestSuite.debug() does not like subTest()

2018-10-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, Wolfgang. The main cause of the issue will be resolved when we merge PR 9707. I'm closing this as a duplicate of issue 34900 since the latter has already an open PR. -- nosy: +berker.peksag resolution: -> duplicate stage: -> r

[issue34900] unittest subTests() fails when called from debug()

2018-10-05 Thread Bruno Oliveira
Bruno Oliveira added the comment: > FYI, I just noticed that this is a duplicate of issue 29551, but decided to > keep this one open. OK thanks. I did try to search for open issues before filing this one by using the "subtest result_supports_subtests" terms, as I figured a bug report would

[issue18291] codecs.open interprets FS, RS, GS as line ends

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9094 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34904] Crash in ZipFile.close() when writing zip file to /dev/null

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this specific to Linux? I can reproduce this on master branch on Ubuntu but there is no error on Mac OS with the master branch. -- nosy: +xtreak ___ Python tracker

[issue18291] codecs.open interprets FS, RS, GS as line ends

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 9711 splits lines using regular expressions. This fixes this issue without changing str.splitlines(). After adding a new option in str.splitlines() the code in master can be simplified. -- resolution: wont fix -> stage: resolved -> patch review

[issue28441] Change sys.executable to include executable suffix

2018-10-05 Thread INADA Naoki
INADA Naoki added the comment: New changeset 7a7693e9cb12e5571c76331db56a28eef9acb6e0 by INADA Naoki (E. M. Bray) in branch 'master': bpo-28441: Ensure `.exe` suffix in `sys.executable` on MinGW and Cygwin (GH-4348) https://github.com/python/cpython/commit/7a7693e9cb12e5571c76331db56a28eef9a

[issue18291] codecs.open interprets FS, RS, GS as line ends

2018-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Sorry, I probably wasn't clear: the codecs interface is a direct interface to the Unicode codecs and thus has to work according to what Unicode defines. Your PR changes this to be non-compliant and does this for all codecs. That's a major backwards and U

[issue28441] Change sys.executable to include executable suffix

2018-10-05 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___

[issue34904] Crash in ZipFile.close() when writing zip file to /dev/null

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This may be a Linux bug. The /dev/null file is seekable, but seek() doesn't work correctly for it. It is especially confusing for buffered files. seek() always returns 0 and reset the file position. >>> f = open('/dev/null', 'wb') >>> f.seekable() True >>>

[issue18291] codecs.open interprets FS, RS, GS as line ends

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Then this particularity of codecs streams should be explicitly documented. codecs.open() was advertised as a way of writing portable code for Python 2 and 3, and it can still be used in many old programs. -- ___

[issue34904] Crash in ZipFile.close() when writing zip file to /dev/null

2018-10-05 Thread Erik Bray
Erik Bray added the comment: The regression was introduced by issue26039. It does seem to be Linux-specific with seek/tell on /dev/null. For example, I cannot reproduce the issue on Cygwin. -- ___ Python tracker

[issue34904] Crash in ZipFile.close() when writing zip file to /dev/null

2018-10-05 Thread Erik Bray
Erik Bray added the comment: On Cygwin the same tests give >>> f = open('/dev/null', 'wb') >>> f.seekable() True >>> f.write(b'abcdefgh') 8 >>> f.tell() 8 >>> f.seek(8) 8 >>> f.tell() 8 I would also try macOS if I could. But yes, I wonder if it's a Linux bug. -- __

[issue34904] Crash in ZipFile.close() when writing zip file to /dev/null

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Erik for the details. On Mac with master also it works like Cygwin. ./python.exe Python 3.8.0a0 (heads/master:6f85b826b5, Oct 4 2018, 22:44:36) [Clang 7.0.2 (clang-700.1.81)] on darwin Type "help", "copyright", "credits" or "license" for more

[issue34905] Cannot assign memoryview values from array.array

2018-10-05 Thread Andrey Paramonov
New submission from Andrey Paramonov : Currently, memoryview values can be assigned from all bytes-like objects (https://docs.python.org/3/glossary.html#term-bytes-like-object) except byte array.array: import array mview = memoryview(bytearray(b'hello')) mview[:] = bytes(b'hello') # s

[issue18291] codecs.open interprets FS, RS, GS as line ends

2018-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 05.10.2018 14:06, Serhiy Storchaka wrote: > > Then this particularity of codecs streams should be explicitly documented. Yes, probably. Such extensions of scope for different character types in Unicode vs. ASCII are a common gotcha when moving from Pyt

[issue34898] add mtime argument to gzip.compress

2018-10-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34904] Crash in ZipFile.close() when writing zip file to /dev/null

2018-10-05 Thread Erik Bray
Erik Bray added the comment: For the sake of completeness, same deal in pure C: $ cat devnul.c #include int main(void) { FILE *f = fopen("/dev/null", "w"); printf("tell() = %ld\n", ftell(f)); printf("write(\"abcdefgh\") = %zu\n", fwrite("abcdefgh", 1, 8, f)); printf("tell()

[issue34906] Fix typo in the documentation

2018-10-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- assignee: matrixise nosy: matrixise priority: normal severity: normal status: open title: Fix typo in the documentation versions: Python 3.8 ___ Python tracker __

[issue27321] Email parser creates a message object that can't be flattened

2018-10-05 Thread David Cannings
David Cannings added the comment: Ping on an ETA for this fix? -- nosy: +edeca ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34906] Fix typo in the documentation

2018-10-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +9095 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue22232] str.splitlines splitting on non-\r\n characters

2018-10-05 Thread Neil Schemenauer
Neil Schemenauer added the comment: I've created a topic on this inside the "Ideas" area of discuss.python.org. Sorry if that wasn't appropriate, not sure if I should have keep the discussion here. Inada Naoki suggests creating a new method str.iterlines{[keepends]). Given that people are

[issue34547] Wsgiref server does not handle closed connections gracefully

2018-10-05 Thread Petter S
Change by Petter S : -- keywords: +patch pull_requests: +9096 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue34906] Fix typo in the documentation

2018-10-05 Thread Julien Palard
New submission from Julien Palard : New changeset 07fbbfde1b300369b4f8d1cfb80045fbb23b7091 by Julien Palard (Stéphane Wirtel) in branch 'master': bpo-34906: Doc: Fix typos (GH-9712) https://github.com/python/cpython/commit/07fbbfde1b300369b4f8d1cfb80045fbb23b7091 -- nosy: +mdk __

[issue34906] Fix typo in the documentation

2018-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9098 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34906] Fix typo in the documentation

2018-10-05 Thread miss-islington
miss-islington added the comment: New changeset b3c4a050b7b9a07caeeb9ad74af1d3a75422 by Miss Islington (bot) in branch '3.7': bpo-34906: Doc: Fix typos (GH-9712) https://github.com/python/cpython/commit/b3c4a050b7b9a07caeeb9ad74af1d3a75422 -- nosy: +miss-islington _

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-05 Thread twisteroid ambassador
twisteroid ambassador added the comment: I'll open a PR with your diff soon, but I don't have a reliable unit test yet. Also, it does not seem to fix the old problem with debug mode off. :-( I had hoped that the problem with debug mode off is nothing more than _asyncgen_finalizer_hook not ru

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-05 Thread twisteroid ambassador
Change by twisteroid ambassador : -- keywords: +patch pull_requests: +9099 stage: -> patch review ___ Python tracker ___ ___ Python

[issue22232] str.splitlines splitting on non-\r\n characters

2018-10-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Why not simply add a new parameter, to make people who want ASCII linebreaks continue to use .splitlines() ? It think it would be less than ideal to have one method break on all Unicode line breaks and another only on ASCII ones. -- _

[issue34825] Add more entries to os module to pathlib reference table

2018-10-05 Thread miss-islington
miss-islington added the comment: New changeset 6f9c55d1c0bb399911ded00bb6b3e6f43a514ea2 by Miss Islington (bot) (Xtreak) in branch 'master': bpo-34825: Add more entries to os to pathlib reference table (GH-9608) https://github.com/python/cpython/commit/6f9c55d1c0bb399911ded00bb6b3e6f43a514ea

[issue34825] Add more entries to os module to pathlib reference table

2018-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9100 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue6686] xml.sax.xmlreader.XMLReader.getProperty (xml.sax.handler.property_xml_string) returns bytes

2018-10-05 Thread Jonathan Gossage
Change by Jonathan Gossage : -- pull_requests: +9101 stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list m

[issue34907] calculation not working properly

2018-10-05 Thread Cem
New submission from Cem : as shown below for some reason 15.06 + 5 results in an addition of 0.002 and i want to know why its an bug or something im doing wrong but below it i tried it with 15.07 it works -- components: Windows files: Capture.PNG messages: 327143 nosy: hwk_un1te,

[issue26852] add the '--enable-sourceless-distribution' option to configure

2018-10-05 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue34825] Add more entries to os module to pathlib reference table

2018-10-05 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue34825] Add more entries to os module to pathlib reference table

2018-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 29c40c73143fee3612147959779b6927cd1be7e1 by Andrew Svetlov (Miss Islington (bot)) in branch '3.7': bpo-34825: Add more entries to os to pathlib reference table (GH-9608) (#9717) https://github.com/python/cpython/commit/29c40c73143fee361214795977

[issue34907] calculation not working properly

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: because you have the round with the float type. you could use the decimal module with Decimal In [1]: import decimal In [2]: decimal.Decimal('15.06') + 5 Out[2]: Decimal('20.06') -- nosy: +matrixise stage: -> resolved status: open -> closed _

[issue34907] calculation not working properly

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and you can read this link where we explain the limits of the float type: https://docs.python.org/3/tutorial/floatingpoint.html -- status: closed -> open ___ Python tracker

[issue34861] Improve cProfile standard output

2018-10-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Can you paste a sample output showing how it looks like pre and post patch? -- nosy: +giampaolo.rodola ___ Python tracker ___

[issue34861] Improve cProfile standard output

2018-10-05 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ ___ P

[issue34907] calculation not working properly

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report but I think is a known limitation with floating points and this page explains it well : https://docs.python.org/3.7/tutorial/floatingpoint.html . Using round will be helpful in your situation to round the output to 2 decimal p

[issue34861] Improve cProfile standard output

2018-10-05 Thread Anders Hovmöller
Anders Hovmöller added the comment: There is an example output on github. Should I paste it here too? I can do it once I get home if you want. -- ___ Python tracker ___ __

[issue33194] Path-file objects does not have method to delete itself if its a file

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have added unlink along with other similar methods in Pathlib as part of issue34825 to the reference table which I hope helps. I propose closing this. Thanks -- ___ Python tracker

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Similar error reported on Pandas and Numba repositories that was fixed a couple of days back : https://github.com/pandas-dev/pandas/pull/22948 -- ___ Python tracker _

[issue34907] calculation not working properly

2018-10-05 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue34628] urllib.request.urlopen fails when userinfo is present in URL

2018-10-05 Thread Niklas Sombert
Niklas Sombert added the comment: Hey, this is almost a month old. (Not a problem, really. But I thought, I should bump this.) -- ___ Python tracker ___ _

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-05 Thread Steve Dower
Change by Steve Dower : -- nosy: +eric.snow, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34907] calculation not working properly

2018-10-05 Thread Steven D'Aprano
Steven D'Aprano added the comment: For future reference, please don't post unnecessary screen shots and images. Code is text, please copy and paste it as text, not as pixels. Images make it difficult or impossible for the blind and visually impaired to contribute. -- nosy: +steven.d

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: I'll get it. -- assignee: -> steve.dower versions: +Python 3.6, Python 3.7 ___ Python tracker ___ _

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +9102 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34908] netrc parding is overly strict

2018-10-05 Thread Ian Remmel
New submission from Ian Remmel : This started as a bug report for httpie https://github.com/jakubroztocil/httpie/issues/717#issuecomment-426125261 And became a bug report for requests https://github.com/requests/requests/issues/4813 > But turned out to be an issue with Python's netrc parser:

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Mike Gleen
Mike Gleen added the comment: Sorry for the omission. This refers to datetime.datetime.strptime. The documentation I referenced is: https://docs.python.org/3/library/datetime.html; I did not test 2.7. -- ___ Python tracker

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-05 Thread Felipe Rodrigues
Change by Felipe Rodrigues : -- keywords: +patch pull_requests: +9103 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue26005] Denial of Service in SimpleHTTPServer and BaseHTTPServer

2018-10-05 Thread Felipe Rodrigues
Change by Felipe Rodrigues : -- pull_requests: +9104 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34908] netrc parding is overly strict

2018-10-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue32117] Tuple unpacking in return and yield statements

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9105 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9106 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9107 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9108 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: New changeset 4313a293dae579f3406aa94508ff3803a79b0344 by Steve Dower in branch 'master': bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719) https://github.com/python/cpython/commit/4313a293dae579f3406aa94508ff3803a79b0344 -- __

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9109 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the fix Steve. I am just wondering if there is a public announcement regarding this image being removed since Google couldn't get me anything. -- ___ Python tracker

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: assertEquals() is deprecated, use assertEqual() instead. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue32117] Tuple unpacking in return and yield statements

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4642d5f59828e774585e9895b538b24d71b9df8e by Serhiy Storchaka in branch 'master': Use assertEqual() instead of assertEquals(). (GH-9721) https://github.com/python/cpython/commit/4642d5f59828e774585e9895b538b24d71b9df8e -- ___

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4642d5f59828e774585e9895b538b24d71b9df8e by Serhiy Storchaka in branch 'master': Use assertEqual() instead of assertEquals(). (GH-9721) https://github.com/python/cpython/commit/4642d5f59828e774585e9895b538b24d71b9df8e -- ___

[issue22232] str.splitlines splitting on non-\r\n characters

2018-10-05 Thread Neil Schemenauer
Neil Schemenauer added the comment: > Why not simply add a new parameter, to make people who want ASCII linebreaks > continue to use .splitlines() ? That could work but I think in nearly every case you don't want to use splitlines() without supplying the parameter. So, it seems like a bit o

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9110 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue32117] Tuple unpacking in return and yield statements

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list m

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3 by Serhiy Storchaka in branch 'master': Fix a compiler warning added in bpo-34872. (GH-9722) https://github.com/python/cpython/commit/addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3 -- _

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread miss-islington
miss-islington added the comment: New changeset b57f800b351328a67b4a11a1864d39c6b9b8d39f by Miss Islington (bot) in branch '3.7': bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719) https://github.com/python/cpython/commit/b57f800b351328a67b4a11a1864d39c6b9b8d39f -- nosy:

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9111 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue21880] IDLE: Ability to run 3rd party code checkers

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue is specifically based on msg195711 of #18704. Anyone working on this should read it. Saimadhav's work was part of his Google Summer of Code (GSOC) project, which ended soon after V4 was submitted. I recorded reviews of V1 and V2 above. I don't

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread miss-islington
miss-islington added the comment: New changeset 467360eeb24525e330d653826f21f30f47481d08 by Miss Islington (bot) in branch '3.6': bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719) https://github.com/python/cpython/commit/467360eeb24525e330d653826f21f30f47481d08 -- _

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: I didn't hear any public announcement, so perhaps not. I'll ask the team. -- ___ Python tracker ___

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

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

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

2018-10-05 Thread Terry J. Reedy
New submission from Terry J. Reedy : Quoting the PR: Proposing a new kwarg in the __init__() method of multiprocessing.Pool named expect_initret. This kwarg defaults to False. When set to True, the return value of the initializer function is passed to the function we are applying (i.e. func

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

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New features only go in next version. -- versions: -Python 3.6, Python 3.7 ___ Python tracker ___ __

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6bffe50f5fff8e8a40ae32c3e9c408622a15caf6 by Serhiy Storchaka in branch '3.7': Use assertEqual() instead of assertEquals(). (GH-9721) (GH-9725) https://github.com/python/cpython/commit/6bffe50f5fff8e8a40ae32c3e9c408622a15caf6 --

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9112 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: To me, the question is whether to delete the dict example, or qualify it with "Before 3.7 (or 3.6 for CPython)" but leave the illustration of workarounds. Raymond, what do you thing? -- nosy: +rhettinger, terry.reedy

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9113 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d9212200fe8ddb55d73b8231869cfbb32635ba92 by Serhiy Storchaka in branch '3.7': [3.7] Fix a compiler warning added in bpo-34872. (GH-9722). (GH-9726) https://github.com/python/cpython/commit/d9212200fe8ddb55d73b8231869cfbb32635ba92 --

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Tim Peters
Tim Peters added the comment: Add a comment along the lines you (Terry) suggested. Some people need to write doctests that run under many versions of Python, so the info is still supremely relevant to them. -- nosy: +tim.peters ___ Python tracker

[issue34840] dlopen() error with no error message from dlerror()

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: FWIW, the method does not exist on Windows >>> _ctypes.dlclose(3) Traceback (most recent call last): File "", line 1, in AttributeError: module '_ctypes' has no attribute 'dlclose' -- nosy: +terry.reedy ___ Pyth

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d02490a9a9c238ed7ded1120877fdfdce16364a3 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': Use assertEqual() instead of assertEquals(). (GH-9721) (GH-9725) (GH-9727) https://github.com/python/cpython/commit/d02490a9a9c238ed7ded112087

[issue34846] Runtime failure with Failed to import site module

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless this is seen as a possible security issue, this will not be fixed in 3.5. If possible test in later versions. By 'was running for a long time without issue', do you mean 'ran many times before this run'? (As opposed to 'a long time in this run'?) D

  1   2   >