[issue33763] IDLE: Use text widget for code context instead of label widget

2018-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: This makes detecting the context line a user clicks on slightly easier. See new issue #33768 for discussion. I am not sure now I would do this just for this reason, without trying with the label first. Using a text also allows us to experiment with

[issue33640] [EASY DOC] uuid: endian of the bytes argument is not documented

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7013 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33509] warnings.warn_explicit with module_globals=True raises a SystemError

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7010 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30436] importlib.find_spec raises AttributeError when parent is not a package/module

2018-06-04 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +7011 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33640] [EASY DOC] uuid: endian of the bytes argument is not documented

2018-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset b75ec0856771b51684b08c4e5068fbfad25c5e83 by Victor Stinner (Farhaan Bukhsh) in branch 'master': bpo-33640, uuid.UUID doc: document endian of bytes parameter (GH-7263)

[issue33640] [EASY DOC] uuid: endian of the bytes argument is not documented

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7012 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33640] [EASY DOC] uuid: endian of the bytes argument is not documented

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7014 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33746] testRegisterResult in test_unittest fails in verbose mode

2018-06-04 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7015 stage: -> patch review ___ Python tracker ___ ___

[issue27902] pstats.Stats: strip_dirs() method cannot handle file paths from different OS

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7016 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-06-04 Thread Peter J. Holzer
On 2018-06-03 16:36:12 -0700, bellcanada...@gmail.com wrote: > On Tuesday, 22 May 2018 17:23:55 UTC-4, Peter J. Holzer wrote: > > On 2018-05-20 15:43:54 +0200, Karsten Hilbert wrote: > > > On Sun, May 20, 2018 at 04:59:12AM -0700, bellcanada...@gmail.com wrote: > > > > thank you for the reply,

[issue31849] Python/pyhash.c warning: comparison of integers of different signs

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7019 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2018-06-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am not sure now about removing -Wstrict-prototypes. I haven't found confirmation that this option is included in -Wall or -Wextra. -- ___ Python tracker

Re: Why exception from os.path.exists()?

2018-06-04 Thread Paul Moore
On 4 June 2018 at 13:01, Steven D'Aprano wrote: >> Turns out that this is a limitation on Windows as well. The \0 is not >> allowed for Windows, macOS and Posix. > > We -- all of us, including myself -- have been terribly careless all > through this discussion. The fact is, this should not be an

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2018-06-04 Thread INADA Naoki
INADA Naoki added the comment: -Wstrict-prototypes is not included in -Wall and -Wextra. I created PR-7395 which moves the option to CFLAGS_NODIST, as Serhiy suggested before. -- ___ Python tracker

[issue33527] Invalid child function scope

2018-06-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: >From the zip file, the "bug" is: # def parent_function2( argument1 ): def child_function(): print( argument1 ) if False: argument1 = None # Same function but with fake assignment

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2018-06-04 Thread INADA Naoki
INADA Naoki added the comment: 2.7 doesn't have CFLAGS_NODIST and I don't have motivation to manually backport it to 2.7. (I'm not expert of autotools) -- ___ Python tracker

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2018-06-04 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > 2.7 doesn't have CFLAGS_NODIST I meant backporting this patch as-is to 2.7 without adding -Wstrict-prototypes to CFLAGS_NODIST -- ___ Python tracker

EuroPython 2018: Looking for a photographer

2018-06-04 Thread M.-A. Lemburg
At last year’s event, we had a professional conference photographer, Alessia Peviani, from our community, help us cover the event in pictures. https://ep2017.europython.eu/en/europython/photos/ This year she unfortunately cannot attend, so we’re looking for help from other

Re: Why exception from os.path.exists()?

2018-06-04 Thread Steven D'Aprano
On Mon, 04 Jun 2018 11:16:21 +0100, Barry Scott wrote: [...] > Turns out that this is a limitation on Windows as well. The \0 is not > allowed for Windows, macOS and Posix. We -- all of us, including myself -- have been terribly careless all through this discussion. The fact is, this should not

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2018-06-04 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Can we backport this to 3.7 and 3.6? I think it's safe and helpful. And 2.7 for the same reasons. -- ___ Python tracker ___

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2018-06-04 Thread Nick Coghlan
Change by Nick Coghlan : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Why exception from os.path.exists()?

2018-06-04 Thread Steven D'Aprano
On Mon, 04 Jun 2018 13:33:28 +0100, Paul Moore wrote: > But there's also the question of what capability the kernel API has to > express the queries. The fact that the Unix API (and the Windows one, in > most cases - although as Eryk Sun pointed out there are exceptions in > the Windows kernel

Re: Why exception from os.path.exists()?

2018-06-04 Thread Marko Rauhamaa
Barry Scott : > os.path.exists() is not special and I don't think should be be changed. You are right that os.path.exists() might be logically tied to other os.* facilities. The question is, should the application be cognizant of the seam between the standard library and the operating system

[issue33763] IDLE: Use text widget for code context instead of label widget

2018-06-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: To your point, when I was adding the colors to configuration for context, I wondered if having context as a text widget could somehow use the colorizer. I didn't really look into it, but it did seem like it might make sense to keep all the foreground text

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2018-06-04 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +7021 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-04 Thread Steve Dower
Steve Dower added the comment: Are we sure we haven't actually regressed something here and it's actually taking more resources? I can't tell from this discussion if it's memory CPU, disk or time that we're hitting problems. I'll have to look at the VSTS build history to see whether it

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-04 Thread STINNER Victor
STINNER Victor added the comment: I asked AppVeyor to increase our quotas: https://help.appveyor.com/discussions/problems/14532-cpython-exceeded-allowed-resource-quotas-what-are-these-quotas-can-them-be-increased -- ___ Python tracker

Re: [ZODB] Problem with pickle in zodb

2018-06-04 Thread Etienne Robillard
Yup, that is correct! Thanks. :-) Etienne Le 2018-06-03 à 07:39, Jason Madden a écrit : You appear to have mismatched versions of ZEO on the client and server, 5.2 on one side and 5.1.0 on the other. Both need to be 5.2. On Jun 3, 2018, at 06:35, Etienne Robillard wrote: Hi, Any ideas

[issue27902] pstats.Stats: strip_dirs() method cannot handle file paths from different OS

2018-06-04 Thread INADA Naoki
INADA Naoki added the comment: New changeset f7745e1dcb8e8473cc86112a0213b3f244a07230 by INADA Naoki (Tobias Kunze) in branch 'master': bpo-27902: Add compatibility note to Profile docs (GH-7295) https://github.com/python/cpython/commit/f7745e1dcb8e8473cc86112a0213b3f244a07230 --

Re: Why exception from os.path.exists()?

2018-06-04 Thread Barry Scott
> On 1 Jun 2018, at 14:23, Paul Moore wrote: > > On 1 June 2018 at 13:15, Barry Scott wrote: >> I think the reason for the \0 check is that if the string is passed to the >> operating system with the \0 you can get surprising results. >> >> If \0 was not checked for you would be able to get

[issue31849] Python/pyhash.c warning: comparison of integers of different signs

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7020 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27902] pstats.Stats: strip_dirs() method cannot handle file paths from different OS

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7017 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2018-06-04 Thread INADA Naoki
INADA Naoki added the comment: Can we backport this to 3.7 and 3.6? I think it's safe and helpful. -- nosy: +inada.naoki ___ Python tracker ___

[issue9141] Allow objects to decide if they can be collected by GC

2018-06-04 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Hi there! By the time pep 442 was introduced, I wasn't very active in python core stuff anymore, and still am not. The intent of this patch, which is explained (IMHO) quite clearly in the first few comments was to - Formalize a way for custom

[issue5945] PyMapping_Check returns 1 for lists

2018-06-04 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue27902] pstats.Stats: strip_dirs() method cannot handle file paths from different OS

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7018 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2018-06-04 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Oh yes, this is a "stateful" bug. It will not appear if run in isolation. Btw, the underlying bug will be worse with `from __future__ import annotations`, so it would make sense to fix this sooner than later. -- nosy: +lukasz.langa

[issue31849] Python/pyhash.c warning: comparison of integers of different signs

2018-06-04 Thread INADA Naoki
INADA Naoki added the comment: New changeset a8eb58546b37a7cd5f332f019bb07388f5212c2d by INADA Naoki (A. Jesse Jiryu Davis) in branch 'master': bpo-31849: Fix warning in pyhash.c (GH-6799) https://github.com/python/cpython/commit/a8eb58546b37a7cd5f332f019bb07388f5212c2d -- nosy:

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-04 Thread Ned Deily
Ned Deily added the comment: Steve, I'm OK with the proposed reduction as a workaround. We have other platform- and build-specific limits based on stack sizes etc. It's hard to have one-size-fits-all. -- ___ Python tracker

[issue33770] base64 throws 'incorrect padding' exception even though the string length is a multiple of 4

2018-06-04 Thread Dmitry
New submission from Dmitry : All base64 decoding methods fail to decode a valid base64 string, throwing 'incorrect padding' regardless of the string padding. Here's an example: >>> base64.urlsafe_b64decode('AQAAQDhAAMAAQthJDczODFmZDM2LTNiOTYtNDVmYS04MjQ2LWRkYzJkMmViYjQ2YQ===')

Re: Why exception from os.path.exists()?

2018-06-04 Thread Peter J. Holzer
On 2018-06-04 13:23:59 +, Steven D'Aprano wrote: > On Mon, 04 Jun 2018 13:33:28 +0100, Paul Moore wrote: > > But there's also the question of what capability the kernel API has to > > express the queries. The fact that the Unix API (and the Windows one, in > > most cases - although as Eryk Sun

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7031 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-04 Thread Steve Dower
Steve Dower added the comment: New changeset 2a4a62ba4ae770bbc7b7fdec0760031c83fe1f7b by Steve Dower in branch 'master': bpo-33720: Reduces maximum marshal recursion depth on release builds. (GH-7401) https://github.com/python/cpython/commit/2a4a62ba4ae770bbc7b7fdec0760031c83fe1f7b

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-04 Thread Ned Deily
Ned Deily added the comment: > I guess at this stage you're manually cherry-picking into your own 3.7 branch > for release? No, not until 3.7.0rc1 next week. No need to cherry pick. Thanks! -- ___ Python tracker

[issue33718] Enhance regrtest: meta-ticket for multiple changes

2018-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset a30d587eb55cbf3b9af65b9883e87c1255ecba75 by Victor Stinner in branch '2.7': [2.7] bpo-33718: Update regrtest from master (GH-7402) https://github.com/python/cpython/commit/a30d587eb55cbf3b9af65b9883e87c1255ecba75 --

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-04 Thread Steve Dower
Steve Dower added the comment: Ned - PR 7401 fixes the crash at the cost of reducing the permitted recursion depth in marshal. Your call whether we take this fix or disable PGO, but I'd much rather take this fix (PGO has full-interpreter effects whereas this is very narrow). When I hear

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Same error in AMD64 Windows10 3.x: http://buildbot.python.org/all/#/builders/3/builds/941 -- ___ Python tracker ___

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-04 Thread Steve Dower
Steve Dower added the comment: Thanks. I merged, and miss-islington is backporting it. I guess at this stage you're manually cherry-picking into your own 3.7 branch for release? I'll merge for 3.7.1 though. -- ___ Python tracker

[issue33770] base64 throws 'incorrect padding' exception even though the string length is a multiple of 4

2018-06-04 Thread Mark Dickinson
Mark Dickinson added the comment: This doesn't look like a valid base64 string to me: the padding (if present) at the end of the string should be either "=" or "==", never "===". Is the length of the decoded string equal to 58? If so, what's the last character of that decoded string?

Re: Attachments

2018-06-04 Thread Peter J. Holzer
On 2018-06-04 16:34:08 +, Peter Pearson wrote: > On Sun, 3 Jun 2018 20:20:32 +0200, Peter J. Holzer wrote: > > On 2018-06-03 13:57:26 +1000, Ben Finney wrote: > >> (For good reasons, attachments are dropped when messages are distributed > >> on the forum.) > > > > By "the forum" you mean

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-04 Thread miss-islington
miss-islington added the comment: New changeset 103058e19bea48f4a80afde51df04338a753e952 by Miss Islington (bot) in branch '3.7': bpo-33720: Reduces maximum marshal recursion depth on release builds. (GH-7401) https://github.com/python/cpython/commit/103058e19bea48f4a80afde51df04338a753e952

[issue33770] base64 throws 'incorrect padding' exception even though the string length is a multiple of 4

2018-06-04 Thread Dmitry
Dmitry added the comment: It doesn’t matter how many “=“ characters are appended - it’s always throwing the same exception :( -- ___ Python tracker ___

[issue33755] Failed separate tests in test_importlib

2018-06-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Looks like a sys.modules leak. I'm working on a branch. -- ___ Python tracker ___ ___

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-04 Thread STINNER Victor
STINNER Victor added the comment: A variant of the bug? AMD64 Windows8.1 Non-Debug 3.x: http://buildbot.python.org/all/#/builders/12/builds/948 == ERROR: test_create_connection_ssl_failed_certificate

[issue31234] Make support.threading_cleanup() stricter

2018-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7032 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-04 Thread STINNER Victor
STINNER Victor added the comment: > AMD64 Windows8.1 Non-Debug 3.x > ERROR: test_create_connection_ssl_failed_certificate > (test.test_asyncio.test_sslproto.ProactorStartTLSTests) Not surprising: same error on AMD64 Windows8.1 Non-Debug 3.7:

[issue32523] inconsistent spacing in changelog.html

2018-06-04 Thread Julien Palard
Julien Palard added the comment: It's from docutils (see details below), it can be fixed in pydoctheme.css by adding something like: li p { margin-bottom: 0; } Would look like: https://mdk.fr/list-before.png → https://mdk.fr/list-after.png is it better? (If it's better I still have to

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-04 Thread Ned Deily
Ned Deily added the comment: With the workaround merged for 3.7.0rc1, I'm downgrading from "release blocker" to "high" since I believe Steve wants to keep this issue open for a possible compiler resolution. -- priority: release blocker -> high

[issue33509] warnings.warn_explicit with module_globals=True raises a SystemError

2018-06-04 Thread STINNER Victor
STINNER Victor added the comment: > This test is failed with -We. Thank you Serhiy for the bug report. It should now be fixed again. -- stage: patch review -> resolved status: open -> closed ___ Python tracker

Re: Attachments

2018-06-04 Thread Peter Otten
Peter J. Holzer wrote: > On 2018-06-04 16:34:08 +, Peter Pearson wrote: >> On Sun, 3 Jun 2018 20:20:32 +0200, Peter J. Holzer >> wrote: >> > On 2018-06-03 13:57:26 +1000, Ben Finney wrote: >> >> (For good reasons, attachments are dropped when messages are >> >> distributed on the forum.) >>

[issue33770] base64 throws 'incorrect padding' exception even though the string length is a multiple of 4

2018-06-04 Thread Dmitry
Dmitry added the comment: Apologies: apparently this particular string was given with one character missing in the beginning - should be "AAQAAQDhAAMAAQthJDczODFmZDM2LTNiOTYtNDVmYS04MjQ2LWRkYzJkMmViYjQ2YQ". In this case, the problem is the exception itself: it's not an

Re: Attachments

2018-06-04 Thread Peter J. Holzer
On 2018-06-04 22:59:52 +0200, Peter Otten wrote: > Peter J. Holzer wrote: > > On 2018-06-04 16:34:08 +, Peter Pearson wrote: > >> On Sun, 3 Jun 2018 20:20:32 +0200, Peter J. Holzer > >> wrote: > >> > On 2018-06-03 13:57:26 +1000, Ben Finney wrote: > >> >> (For good reasons, attachments are

[issue33768] IDLE: click on context line should jump to line, at top of window

2018-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great. I might try some timing experiments later. I have seen both of the first 2 options above in use. -- ___ Python tracker ___

[issue32523] inconsistent spacing in changelog.html

2018-06-04 Thread Julien Palard
Julien Palard added the comment: An intermediate fix would be to remove only bottom of first paragraphs: li p.first { margin-bottom: 0; } It looks like: https://mdk.fr/list-intermediate.png -- ___ Python tracker

[issue31234] Make support.threading_cleanup() stricter

2018-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 146351860a34b3cde387930a360e57391e7b99f3 by Victor Stinner in branch '2.7': [2.7] bpo-31234: Join threads explicitly in tests (#7406) https://github.com/python/cpython/commit/146351860a34b3cde387930a360e57391e7b99f3 --

[issue33609] Document that dicts preserve insertion order

2018-06-04 Thread Ned Deily
Ned Deily added the comment: New changeset f822549653d8d09b5b7dcddfdf12679a787c by Ned Deily (INADA Naoki) in branch 'master': bpo-33609: Document dict insertion order guarantee as of 3.7 (GH-7093) https://github.com/python/cpython/commit/f822549653d8d09b5b7dcddfdf12679a787c

[issue33609] Document that dicts preserve insertion order

2018-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7033 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33640] [EASY DOC] uuid: endian of the bytes argument is not documented

2018-06-04 Thread STINNER Victor
STINNER Victor added the comment: Thank you Farhaan Bukhsh for your documentation enhancement! I applied your change to 2.7, 3.6, 3.7 and master branches. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue33768] IDLE: click on context line should jump to line, at top of window

2018-06-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: I'll try to have a PR for this by later today. -- ___ Python tracker ___ ___ Python-bugs-list

[issue29539] [smtplib] collect response data for all recipients

2018-06-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: It's too late for 3.7, but something like this could be an interesting enhancement for 3.8. I'm not so sure about the name of the suggested parameter since it seems more about recording successful deliveries in addition to the normally failed deliveries.

[issue33725] High Sierra hang when using multi-processing

2018-06-04 Thread Ned Deily
Ned Deily added the comment: {Note: this is not particularly relevant to the issue here.) Ronald: > In the long run the macOS installers should be build using the latest SDK > [...] That's something that would require some effort though to ensure that > the resulting binary still works on

[issue32523] inconsistent spacing in changelog.html

2018-06-04 Thread Ned Deily
Ned Deily added the comment: Thank you for looking into it! In the example you chose, I think the first step would be to trim the two two-paragraph news items to be only one paragraph each; in general, news items should only be a few sentences at most. With that change, I think the choice

[issue33770] base64 throws 'incorrect padding' exception even though the string length is a multiple of 4

2018-06-04 Thread R. David Murray
R. David Murray added the comment: I always assumed that any string composed of valid base64 characters could be decoded to *something* if you added some padding characters, but apparently that was an invalid assumption. I agree that the message is incorrect for this case. --

Re: Why exception from os.path.exists()?

2018-06-04 Thread Grant Edwards
On 2018-06-03, Gregory Ewing wrote: > Steven D'Aprano wrote: >> Do you really mean to say that a computer that won't boot is POSIX >> compliant? > > No, I was pointing out the absurdity of saying that the Windows > kernel layer is POSIX compliant, which is what the post I was > replying to

Re: Indented multi-line strings

2018-06-04 Thread Chris Angelico
On Mon, Jun 4, 2018 at 11:54 PM, Dan Strohl wrote: >> > >> No-one is saying a method is *worse* than a standalone function - they are >> just saying it's *not sufficiently better* to justify creating a string >> method that >> replicates an existing stdlib function. >> > > What about

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-04 Thread Eric Snow
Eric Snow added the comment: This appears to be recurring on the "x86 Gentoo Refleaks 3.x" builder still. I was thrown off by the success of the first run after I landed my fix: http://buildbot.python.org/all/#/builders/1/builds/241 FYI, the other buildbots having this issue before (e.g.

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-04 Thread Eric Snow
Eric Snow added the comment: Sorry for any confusion. This issue is still resolved. It is bpo-33615 that had an unexpected recurrence. I've re-opened that one. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue33609] Document that dicts preserve insertion order

2018-06-04 Thread miss-islington
miss-islington added the comment: New changeset 8585ec9b761947aae6be5f653a5b9ddef2801d58 by Miss Islington (bot) in branch '3.7': bpo-33609: Document dict insertion order guarantee as of 3.7 (GH-7093) https://github.com/python/cpython/commit/8585ec9b761947aae6be5f653a5b9ddef2801d58

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2018-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7035 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Help with 'site' package.

2018-06-04 Thread Erik Martinson via Python-list
I am trying to dynamically add a site-package to a script that is run as a cron job. The method adduseristepackages does not seem to do anything. import sys import site print('-')print(site.getusersitepackages()) print('add',

Re: Attachments

2018-06-04 Thread Ben Finney
"Peter J. Holzer" writes: > So we have determined that "the forum" is not the mailing list and not > the newsgroup (Jach's message appeared on both with the attachment). By “the forum” I don't mean any specific server to the exclusion of others. I mean the aggregate forum in which we are having

[issue33755] Failed separate tests in test_importlib

2018-06-04 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- keywords: +patch pull_requests: +7037 stage: -> patch review ___ Python tracker ___ ___

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2018-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7034 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33609] Document that dicts preserve insertion order

2018-06-04 Thread Neil Schemenauer
Neil Schemenauer added the comment: The wording sounds strange to me. Currently it is: > Note that updating key doesn't affects the order ... I would say: > Note that updating a key does not affect the order ... -- nosy: +nascheme ___ Python

[issue33609] Document that dicts preserve insertion order

2018-06-04 Thread Ned Deily
Ned Deily added the comment: Neil, that looks like a perfect opportunity to use the GitHub web interface to make that edit :) -- ___ Python tracker ___

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2018-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 270581905cab2747ae8f7ee945301d6a29509cc7 by Victor Stinner in branch '2.7': bpo-18174: Fix file descriptor leaks in tests (GH-7408) https://github.com/python/cpython/commit/270581905cab2747ae8f7ee945301d6a29509cc7 --

[issue33770] base64 throws 'incorrect padding' exception even though the string length is a multiple of 4

2018-06-04 Thread Dmitry
Dmitry added the comment: Ideally there needs to be an option to ignore non-fatal errors. Indeed, pretty much any string should be base64-decodeable. Take a look at Perl's MIME::Base64 - it can decode pretty much any random string (so long as it only contains valid base64 characters).

[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-04 Thread Dmitry
Change by Dmitry : -- title: base64 throws 'incorrect padding' exception even though the string length is a multiple of 4 -> base64 throws 'incorrect padding' exception when the issue is NOT with the padding ___ Python tracker

[issue33768] IDLE: click on context line should jump to line, at top of window

2018-06-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +7036 stage: test needed -> patch review ___ Python tracker ___ ___

Re: Why exception from os.path.exists()?

2018-06-04 Thread eryk sun
On Sat, Jun 2, 2018 at 11:28 AM, Chris Angelico wrote: > > I also can't find anything about path names there. What does POSIX say > about the concept of relative paths? Does Windows comply with that? Certainly Windows file-system paths are not POSIX compatible. Seven path types are supported: *

[issue32523] inconsistent spacing in changelog.html

2018-06-04 Thread Julien Palard
Julien Palard added the comment: > So, if news items followed that rule, would the css change still be necessary? The CSS change would not be necessary, so yes the issue is "Don't mix paragraphs in changelogs". Maybe we can add an option to blurb merge to only keep the first paragraph, to

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2018-06-04 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: tkinter (ttk) combobox dropdown text is white on white

2018-06-04 Thread Jim Lee
Oops, I hit "reply" instead of "reply-list" last time.  Trying again... On 06/03/2018 02:01 PM, Christian Gollwitzer wrote: Am 03.06.18 um 21:54 schrieb Jim Lee:> import tkinter as tk from tkinter import ttk root = tk.Tk() cb = ttk.Combobox(root) cb.grid(row=0, column=0, sticky='NSEW')

Re: Attachments (was: How can an int be '+' with a tuple?)

2018-06-04 Thread Richard Damon
On 6/4/18 12:34 PM, Peter Pearson wrote: > On Sun, 3 Jun 2018 20:20:32 +0200, Peter J. Holzer wrote: > [snip] >> On 2018-06-03 13:57:26 +1000, Ben Finney wrote: >>> (For good reasons, attachments are dropped when messages are distributed >>> on the forum.) >> By "the forum" you mean Gmane? (I got

[issue28602] `tzinfo.fromutc()` fails when used for a fold-aware tzinfo implementation

2018-06-04 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- stage: -> needs patch versions: -Python 3.6, Python 3.7 ___ Python tracker ___ ___

user defined modules

2018-06-04 Thread Sharan Basappa
Is there a specific location where user defined modules need to be kept? If not, do we need to specify search location so that Python interpreter can find it? Also, when does Python interpreter compile the module code? When it is imported? -- https://mail.python.org/mailman/listinfo/python-list

[issue29539] [smtplib] collect response data for all recipients

2018-06-04 Thread David Ford (FirefighterBlu3)
David Ford (FirefighterBlu3) added the comment: Yes, it is distinctly intended to collect the results for every recipient as in modern MTAs, there's more than just success/fail results. This is to collect data such as queue ID and the MTA's programmatic response for each individual

[issue17045] Improve C-API doc for PyTypeObject

2018-06-04 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +7038 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17045] Improve C-API doc for PyTypeObject

2018-06-04 Thread Eric Snow
Eric Snow added the comment: I found some time to at least get the patch to apply cleanly to master and to make a PR. :) -- ___ Python tracker ___

[issue33734] asyncio/ssl: Fix AttributeError, increase default handshake timeout

2018-06-04 Thread Ned Deily
Ned Deily added the comment: > My understanding is that all changes including this one in 3.7 branch will > end up in 3.7.0rc1, right? Yes. Don't worry, the train won't leave without it. -- ___ Python tracker

  1   2   >