[issue37848] More fully implement Unicode's case mappings

2019-08-14 Thread Greg Price
Greg Price added the comment: Another previous discussion is #4610. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37846] declare that Text I/O use buffer inside

2019-08-14 Thread Windson Yang
Windson Yang added the comment: I found the document is not that clear when I try to understand what happens when Python read/write a file. I'm not sure who also needs this information. As you said, It wouldn't help the user program in Python. However, make it more clear maybe help users

[issue37798] Add C fastpath for statistics.NormalDist.inv_cdf()

2019-08-14 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +14987 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15266 ___ Python tracker ___

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Tal Einat
Change by Tal Einat : Added file: https://bugs.python.org/file48541/idle_completion_window_position.png ___ Python tracker ___ ___

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +14988 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15267 ___ Python tracker ___

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Tal Einat
Change by Tal Einat : -- pull_requests: -14989 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: What I reported is that it is too low on my Windows system, with my size and font, mostly covering the line. Anyway, misplaced before, now perfectly placed. Now that I see the patch, I seem to remember another place what an update call is needed before

[issue5664] 2to3 wont convert Cookie.Cookie properly

2019-08-14 Thread Aldwin Pollefeyt
Change by Aldwin Pollefeyt : -- keywords: +patch pull_requests: +14990 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15268 ___ Python tracker ___

[issue5664] 2to3 wont convert Cookie.Cookie properly

2019-08-14 Thread Aldwin Pollefeyt
Change by Aldwin Pollefeyt : -- nosy: +aldwinaldwin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37848] More fully implement Unicode's case mappings

2019-08-14 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The Unicode implementation is deliberately not locale specific and this should not change. If a locale specific mapping is requested, this should be done explicitly by e.g. providing a parameter to str.lower() / upper() / title(). --

[issue29535] datetime hash is deterministic in some cases

2019-08-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29535] datetime hash is deterministic in some cases

2019-08-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +14991 pull_request: https://github.com/python/cpython/pull/15269 ___ Python tracker ___

[issue37831] bool(~True) == True

2019-08-14 Thread Mark Dickinson
Mark Dickinson added the comment: [Raymond] > Given that & | and ^ are closed under bools [...] So maybe the right fix is to change that fact? I'm not sure what the value of having True & True return True rather than 1 is, beyond misleading people into thinking that bitwise operators "just

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Interestingly enough both users in the py2app issue I mentioned use the python.org installer to install Python. One of them mentions this only happens when py2app is used, and that the script works fine outside of an app. I'll look into this tonight

[issue37831] bool(~True) == True

2019-08-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Does anyone know what the rationale was for having & and | on bools return > bools in the first place? Besides the fact that they can be defined on bool in compatible way and these operators often are used for booleans? It was in the initial version of

[issue32771] merge the underlying data stores of unicodedata and the str type

2019-08-14 Thread Greg Price
Greg Price added the comment: OK, I forked off the discussion of case-mapping as #37848. I think it's probably good to first sort out what we want, before returning to how to implement it (if it's agreed that changes are desired.) Are there other areas of functionality that would be good to

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +14989 pull_request: https://github.com/python/cpython/pull/15169 ___ Python tracker ___

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Tal Einat
Tal Einat added the comment: See PR GH-15267 with a fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Tal Einat
New submission from Tal Einat : When the current line is near the bottom of the shell window, the completions list will be shown above it. However, instead of appearing directly above the current line, it appears quite a bit higher, about one line too high. See attached screenshot. Seen

[issue37849] IDLE: Completion window misplaced when shown above current line

2019-08-14 Thread Tal Einat
Tal Einat added the comment: > Unless you say differently, I will add idlelib/NEWS.txt item tomorrow and > merge. I've added an idlelib/NEWS.txt entry to the PR. Feel free to merge. -- ___ Python tracker

[issue29535] datetime hash is deterministic in some cases

2019-08-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Other option is to remove a note about datetime hash. It is an implementation detail. There are other objects with nondeterministic hash, for example tuples containing strings, but we should not document this explicitly or make the hash of all tuples

[issue37847] The IDLE does not show previous code suggestions if I tap on the up arrow

2019-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are two ways to navigate history. 1. Shell menu, Previous History and Next History, which show the hot keys on your system. The hot keys can be customized with Options, Settings, Keys tab, history_prev, history_next. This is easily found by looking

[issue37848] More fully implement Unicode's case mappings

2019-08-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I believe that all locale specific things should be in the locale module, not in the str class. -- nosy: +serhiy.storchaka ___ Python tracker

[issue37774] Micro-optimize vectorcall using PY_LIKELY

2019-08-14 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > My question is if it is safe to let developers "abuse" it. If these macros > are misused, they can lead to a performance regression. I expect people using these macros and PR reviewers to use good judgement when to use these macros. There are many cases

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: Ah, the cpuid command tells me "bytes required by XSAVE/XRSTOR area = 1088": CPU 0: vendor_id = "GenuineIntel" version information (1/eax): processor type = primary processor (0) family = Intel Pentium Pro/II/III/Celeron/Core/Core

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: Ah, I found the recent change about XSAVE: it is a fix for CVE-2018-3665 vulnerability. "The software mitigation for this is to switch to an "eager" / immediate FPU state save and restore, in both kernels and hypervisors." "On Intel and AMD x86 processors,

[issue37583] Got a 113 error when running the test_socket

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset fbb0c032e89c42ab44f5372df40fffb34a91b575 by Victor Stinner (Hai Shi) in branch '3.7': bpo-37583: Add err 113 to support.get_socket_conn_refused_errs() (GH-15259) https://github.com/python/cpython/commit/fbb0c032e89c42ab44f5372df40fffb34a91b575

[issue37738] curses.addch('a', curses.color_pair(1)) ignores the color information

2019-08-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +14994 pull_request: https://github.com/python/cpython/pull/15272 ___ Python tracker ___

[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-08-14 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- keywords: +newcomer friendly ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-08-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14996 pull_request: https://github.com/python/cpython/pull/15072 ___ Python tracker ___

[issue37681] warning: ‘no_sanitize_thread’

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: Thanks Hai Shi for the bug report and the fix. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37738] curses.addch('a', curses.color_pair(1)) ignores the color information

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7eef81ee766c8df23e522b4e46a930cc1d360ad7 by Victor Stinner in branch '3.7': bpo-37738: Fix curses addch(str, color_pair) (GH-15071) (GH-15273) https://github.com/python/cpython/commit/7eef81ee766c8df23e522b4e46a930cc1d360ad7 --

[issue37850] Console: holding right arrow key reproduces entire previous input

2019-08-14 Thread Paul Moore
Paul Moore added the comment: This is normal behaviour of the Windows console command line editing. Python simply inherits the standard console behaviour. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue34311] locale.format() and locale.format_string() cast Decimals to float

2019-08-14 Thread Cédric Krier
Change by Cédric Krier : -- pull_requests: +14997 pull_request: https://github.com/python/cpython/pull/15275 ___ Python tracker ___

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: I dislike PR 13649 because it touch the thread module, only to fix a faulthandler unit test. The relationship between thread stack size and faulthandler is not obvious to me. Currently, faulthandler uses SIGSTKSZ, not the thread stack size. faulthandler

[issue34311] locale.format() and locale.format_string() cast Decimals to float

2019-08-14 Thread Cédric Krier
Cédric Krier added the comment: I think we can solve this issue like I solved issue13918 by providing a locale.localize() method which does the formatting as locale.format_string does but using the already formatted string. I created PR-15275 which implements it and also use the new format

[issue33731] string formatting that produces floats with preset precision while respecting locale

2019-08-14 Thread Cédric Krier
Cédric Krier added the comment: I think PR-15275 will solves this issue also as you could use: >>> locale.setlocale(locale.LC_ALL, 'fr_FR') >>> locale.localize('{:.2f}'.format(1.891)) '1,89' -- nosy: +ced ___ Python tracker

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: Attached altstack.c mimicks faulthandler unit test test_register_chain(), except that faulthandler_user() uses almost no stack memory. This test should check if SIGSTKSZ is big enough to call a second signal handler from a first signal handler. Example of

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset b0c8369c603633f445ccbb5ca7a8742145ff9eec by Victor Stinner in branch 'master': bpo-37531: Fix regrtest timeout for subprocesses (GH-15072) https://github.com/python/cpython/commit/b0c8369c603633f445ccbb5ca7a8742145ff9eec --

[issue37645] Replace PyEval_GetFuncName/PyEval_GetFuncDesc

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: Maybe repr(func) should be left unchanged, but str(func) can be enhanced? -- ___ Python tracker ___

[issue37834] readlink on Windows cannot read app exec links

2019-08-14 Thread Eryk Sun
Eryk Sun added the comment: > I really want a fix for this in 3.8, or else os.stat(sys.executable) > may fail I agree, but Python can support this without handling junctions as symlinks or limiting the reparse points that we can follow. There are reparse points for offline storage and

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: "I can understand the aversion to the waste when its never used - I can address 37851 if you like - it seems pretty simple to fix. The pedant in me must point out that it's 8M of address space, not memory. The cost on 64-bit (well, with a 47-bit user

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: "I do think SIGSTKSZ*2=16k is far too small considering the fault handler could be running arbitrary python code," We are talking abou the faulthandler_user() function of Modules/faulthandler.c. It is implemented in pure C, it doesn't allocate memory on the

[issue37859] time.process_time() constant / erratic on Windows

2019-08-14 Thread Eryk Sun
Eryk Sun added the comment: > I suppose it may benefit from a more precise counter, but since in > Windows it also has a precise counter with time.perf_counter_ns(), > I was expecting to see that value change, but it was mainly a > confusion with the older time.clock(). Don't read too much

[issue36732] test_asyncio: test_huge_content_recvinto() fails randomly

2019-08-14 Thread Andrew Svetlov
Change by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36732] test_asyncio: test_huge_content_recvinto() fails randomly

2019-08-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: ResourceWarning? I'll take a look -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37861] Install fails on MacOS X 10.6 with python >= 3.7.1

2019-08-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___

[issue37862] Search doesn't find built-in functions

2019-08-14 Thread Kim Oldfield
New submission from Kim Oldfield : The python 3 documentation search https://docs.python.org/3/search.html doesn't always find built-in functions. For example, searching for "zip" takes me to https://docs.python.org/3/search.html?q=zip I would expect the first match to be a link to

[issue37861] Install fails on MacOS X 10.6 with python >= 3.7.1

2019-08-14 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. This problem was reported earlier for 3.7.3 in Issue36890. As described there, I have now uploaded a copy of the old bundle-format installer dmg file for 3.7.4 that should work on 10.6. See msg349787 there for details and comment there

[issue37863] Speed up hash(fractions.Fraction)

2019-08-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +15021 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15298 ___ Python tracker

[issue37764] email.Message.as_string infinite loop

2019-08-14 Thread Ashwin Ramaswami
Change by Ashwin Ramaswami : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37859] time.process_time() constant / erratic on Windows

2019-08-14 Thread Red Glyph
New submission from Red Glyph : Tested with - Python 3.7.4, 64-bit, Windows version (installer version) - python-3.8.0b3-embed-amd64.zip - python-3.7.2.post1-embed-amd64.zip on Windows 7 x64 Professional time.process_time() always returns the same value. If I check the value of

[issue37811] [FreeBSD, OSX] Socket module: incorrect usage of poll(2)

2019-08-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +15013 pull_request: https://github.com/python/cpython/pull/15289 ___ Python tracker ___

[issue37811] [FreeBSD, OSX] Socket module: incorrect usage of poll(2)

2019-08-14 Thread miss-islington
miss-islington added the comment: New changeset b0b178a2b80974da910ce6a344d66cc4d9a2fcfa by Miss Islington (bot) in branch '3.7': bpo-37811: FreeBSD, OSX: fix poll(2) usage in sockets module (GH-15202) https://github.com/python/cpython/commit/b0b178a2b80974da910ce6a344d66cc4d9a2fcfa

[issue37859] time.process_time() constant / erratic on Windows

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: > Process times [1] are stored as a 64-bit integer in units of 100 ns (1e-7). > But the kernel schedules threads based on a timer that ticks every 15.625 ms > by default. It can be lowered to about 0.5 ms, but this degrades battery life. Patches are welcome

[issue37811] [FreeBSD, OSX] Socket module: incorrect usage of poll(2)

2019-08-14 Thread miss-islington
miss-islington added the comment: New changeset 123f6c4914827c4ced65d032fab74de62db31cd6 by Miss Islington (bot) in branch '3.8': bpo-37811: FreeBSD, OSX: fix poll(2) usage in sockets module (GH-15202) https://github.com/python/cpython/commit/123f6c4914827c4ced65d032fab74de62db31cd6

[issue37859] time.process_time() constant / erratic on Windows

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: > I see that now. The behaviour was different in Linux, though, I suppose it > may benefit from a more precise counter, but since in Windows it also has a > precise counter with time.perf_counter_ns(), I was expecting to see that > value change, but it was

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread miss-islington
miss-islington added the comment: New changeset 1581d9c405f140491791a07dca3f6166bc499ec1 by Miss Islington (bot) in branch '3.7': bpo-21131: Fix faulthandler.register(chain=True) stack (GH-15276) https://github.com/python/cpython/commit/1581d9c405f140491791a07dca3f6166bc499ec1 --

[issue37775] update doc of compileall

2019-08-14 Thread miss-islington
miss-islington added the comment: New changeset dbe4c286ce28402c3bce71d568ae55b91280e777 by Miss Islington (bot) in branch '3.8': bpo-37775: Update compileall doc for invalidation_mode parameter (GH-15148) https://github.com/python/cpython/commit/dbe4c286ce28402c3bce71d568ae55b91280e777

[issue37811] [FreeBSD, OSX] Socket module: incorrect usage of poll(2)

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: Thanks Artem Khramov for the nice analysis of the root issue! And thanks for the fix! The bug is now fixed in 3.7, 3.8 and master branches. Python 2.7 is not affected: I added sock_call_ex() helper function in Python 3 when I implemeneted the PEP 475 (Retry

[issue37855] Compiling Python 3.7.4 with Intel compilers 2019

2019-08-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems related : https://bugs.python.org/issue35473 -- nosy: +xtreak ___ Python tracker ___

[issue37834] readlink on Windows cannot read app exec links

2019-08-14 Thread Eryk Sun
Eryk Sun added the comment: > I wish we could remove the MAX_PATH limit in this case. > > The problem is that we have to remove the limit in any case where the > resulting path might be used, which is what we're already trying to > encourage by supporting long paths. Maybe it's better to

[issue28778] wsgiref HTTP Response Header Injection: CRLF Injection

2019-08-14 Thread Ashwin Ramaswami
Change by Ashwin Ramaswami : -- nosy: +epicfaace versions: +Python 3.9 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list

[issue11671] Security hole in wsgiref.headers.Headers

2019-08-14 Thread Ashwin Ramaswami
Change by Ashwin Ramaswami : -- nosy: +epicfaace versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list

[issue37859] time.process_time() constant / erratic on Windows

2019-08-14 Thread Zachary Ware
Zachary Ware added the comment: Try this: while time.process_time() < 0.5: print('.', flush=True, end='') Or: >>> time.process_time() 0.03125 >>> len(str(2**500_000)) 150515 >>> time.process_time() 0.484375 Basically, process_time() (and process_time_ns()) measure CPU time used by the

[issue29535] datetime hash is deterministic in some cases

2019-08-14 Thread Christian Heimes
Christian Heimes added the comment: PEP 456 explains why hash of str and bytes must be randomized. I don't know any reason why hash of datetime objects must be randomized. They can be deterministic like floats and ints. -- ___ Python tracker

[issue37834] readlink on Windows cannot read app exec links

2019-08-14 Thread Steve Dower
Steve Dower added the comment: > Perhaps the best we can do is an additional test where we GetFinalPathName, > strip the prefix, reopen the file, GetFinalPathName again and if they match > then return it without the prefix. That should handle the both long path > settings as transparently

[issue37863] Speed hash(fractions.Fraction)

2019-08-14 Thread Tim Peters
New submission from Tim Peters : Recording before I forget. These are easy: 1. As the comments note, cache the hash code. 2. Use the new (in 3.8) pow(denominator, -1, modulus) to get the inverse instead of raising to the modulus-2 power. Should be significantly faster. If not, the new

[issue1722348] urlparse.urlunparse forms file urls incorrectly

2019-08-14 Thread Ashwin Ramaswami
Change by Ashwin Ramaswami : -- nosy: +epicfaace ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32084] [Security] http.server can be abused to redirect to (almost) arbitrary URL

2019-08-14 Thread Ashwin Ramaswami
Change by Ashwin Ramaswami : -- nosy: +epicfaace ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23505] Urlparse insufficient validation leads to open redirect

2019-08-14 Thread Ashwin Ramaswami
Change by Ashwin Ramaswami : -- nosy: +epicfaace ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37758] unicodedata checksum-tests only test 1/17th of Unicode's codepoints

2019-08-14 Thread Greg Price
Change by Greg Price : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37811] [FreeBSD, OSX] Socket module: incorrect usage of poll(2)

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: > See Also: #31334 Oh, I didn't know bpo-31334. This issue is basically a duplicate of bpo-31334, but triggered differently. -- nosy: +vstinner ___ Python tracker

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread miss-islington
miss-islington added the comment: New changeset b8e682427a80798fec90dce31392beaf616c3e37 by Miss Islington (bot) in branch '3.8': bpo-21131: Fix faulthandler.register(chain=True) stack (GH-15276) https://github.com/python/cpython/commit/b8e682427a80798fec90dce31392beaf616c3e37 --

[issue37848] More fully implement Unicode's case mappings

2019-08-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: Greg has read my mind. An optional parameter to upper/lower/casefold was exactly the API I was thinking of. No C locales or the locale module involved. -- ___ Python tracker

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-08-14 Thread Greg Price
Change by Greg Price : -- pull_requests: +15019 pull_request: https://github.com/python/cpython/pull/15296 ___ Python tracker ___

[issue37859] time.process_time() constant / erratic on Windows

2019-08-14 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> not a bug stage: -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue37811] [FreeBSD, OSX] Socket module: incorrect usage of poll(2)

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 28146206578ebe1b84b48e6f255738a227058c04 by Victor Stinner (Artem Khramov) in branch 'master': bpo-37811: FreeBSD, OSX: fix poll(2) usage in sockets module (GH-15202)

[issue37811] [FreeBSD, OSX] Socket module: incorrect usage of poll(2)

2019-08-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +15014 pull_request: https://github.com/python/cpython/pull/15290 ___ Python tracker ___

[issue37834] readlink on Windows cannot read app exec links

2019-08-14 Thread Steve Dower
Steve Dower added the comment: > Given the only option here is follow_symlinks, then the first CreateFileW > call in win32_xstat_impl should only open a reparse point if follow_symlinks > is false. In this case, if it happens to open a reparse point that's not a > symlink, it should try to

[issue36732] test_asyncio: test_huge_content_recvinto() fails randomly

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: Recent failure on AMD64 Windows7 SP1 3.8: https://buildbot.python.org/all/#/builders/208/builds/268 test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.ProactorEventLoopTests) ...

[issue37860] Add netlify deploy preview for docs

2019-08-14 Thread Ashwin Ramaswami
Change by Ashwin Ramaswami : -- keywords: +patch pull_requests: +15012 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15288 ___ Python tracker

[issue37860] Add netlify deploy preview for docs

2019-08-14 Thread Ashwin Ramaswami
Change by Ashwin Ramaswami : -- nosy: +Mariatta ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +15016 pull_request: https://github.com/python/cpython/pull/15292 ___ Python tracker ___

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +15015 pull_request: https://github.com/python/cpython/pull/15291 ___ Python tracker ___

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset ac827edc493d3ac3f5b9b0cc353df1d4b418a9aa by Victor Stinner in branch 'master': bpo-21131: Fix faulthandler.register(chain=True) stack (GH-15276) https://github.com/python/cpython/commit/ac827edc493d3ac3f5b9b0cc353df1d4b418a9aa --

[issue37775] update doc of compileall

2019-08-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +15017 pull_request: https://github.com/python/cpython/pull/15294 ___ Python tracker ___

[issue37775] update doc of compileall

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 68e495df909a33e719e3f1ef5b4893ec785e10a4 by Victor Stinner (Hai Shi) in branch 'master': bpo-37775: Update compileall doc for invalidation_mode parameter (GH-15148)

[issue9949] os.path.realpath on Windows does not follow symbolic links

2019-08-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37834] readlink on Windows cannot read app exec links

2019-08-14 Thread Steve Dower
Steve Dower added the comment: And I just posted an update to PR 15231 with essentially a rewrite of stat() on Windows. Should be better than it was :) -- ___ Python tracker

[issue37760] Refactor makeunicodedata.py: dedupe parsing, use dataclass

2019-08-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Wed, Aug 14, 2019, at 03:25, STINNER Victor wrote: > > STINNER Victor added the comment: > > > From my perspective, the main problem with using type annotations is that > > there's nothing checking them in CI. > > Even if unchecked, type annotations

[issue37863] Speed up hash(fractions.Fraction)

2019-08-14 Thread ppperry
Change by ppperry : -- title: Speed hash(fractions.Fraction) -> Speed up hash(fractions.Fraction) ___ Python tracker ___ ___

[issue37863] Speed up hash(fractions.Fraction)

2019-08-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: I make a quick PR for you. Skipped #1 because I don't think Fraction hashing is worth adding another slot. -- nosy: +mark.dickinson, rhettinger ___ Python tracker

[issue37834] readlink on Windows cannot read app exec links

2019-08-14 Thread Eryk Sun
Eryk Sun added the comment: > but suddenly adding "\\?\" to the paths breaks a lot of assumptions. The unwritten assumption has been that readlink() is reading symlinks that get created by CreateSymbolicLinkW, which sets the print name as the DOS path that's passed to the call. In this

[issue37826] Document PEP 3134 in tutorials/errors.rst

2019-08-14 Thread miss-islington
miss-islington added the comment: New changeset dcfe111eb5602333135b8776996332a8dcf59392 by Miss Islington (bot) (Abhilash Raj) in branch 'master': bpo-37826: Document exception chaining in Python tutorial for errors. (GH-15243)

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: "I can confirm that on the specific hardware I could reproduce this, that PR14276 and setting the stacksize to SIGSTKSZ*2 passes the test_faulthandler test." Thanks for testing. I merged my PR. About PR 13649, I'm not sure that

[issue9949] os.path.realpath on Windows does not follow symbolic links

2019-08-14 Thread Steve Dower
Steve Dower added the comment: FYI, there's been some discussion of this on issue37834, as the issues quickly became conflated. There's also issue14094 which is a dup of this one, but with a different patch. --- To move the relevant discussion here, my current PR is basically the tests

[issue36732] test_asyncio: test_huge_content_recvinto() fails randomly

2019-08-14 Thread STINNER Victor
STINNER Victor added the comment: > ResourceWarning? That's a small bug in the test, but the main issue is that test_huge_content_recvinto() has a race condition. -- ___ Python tracker

[issue37861] Install fails on MacOS X 10.6 with python >= 3.7.1

2019-08-14 Thread Clive Bruton
New submission from Clive Bruton : When attempting to install Python >= 3.7.1 on MacOS X 10.6 the installer fails with the message: The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.) Couldn't open "python-3.7.x-macosx10.6.pkg". The installer runs

[issue28778] wsgiref HTTP Response Header Injection: CRLF Injection

2019-08-14 Thread Ashwin Ramaswami
Change by Ashwin Ramaswami : -- keywords: +patch pull_requests: +15024 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15299 ___ Python tracker

  1   2   3   >