[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- versions: -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11026, 11027 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11026 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11026, 11027, 11028 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11023, 11024, 11025 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11023 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11023, 11024 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11020, 11021 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11020, 11021, 11022 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11020 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
STINNER Victor added the comment: Oh. The 3.6, 3.7 and master changes broke the Refleaks buildbots... By the way, why was such bugfix merged into the 3.6 branch which is now in security-only mode? Please fix this bug ASAP, or I will revert the change. --

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-09 Thread Ricardo F
New submission from Ricardo F : Finally since the release of OSX 10.12 the equivalent from the FreeBSD and OpenBSD "CLOCK_UPTIME" is available on Darwin under the name "CLOCK_UPTIME_RAW": CLOCK_UPTIME FreeBSD [1]: Starts at zero when the kernel boots and increments monotonically in SI seconds

[issue35699] distutils cannot find Build Tools 2017 since 3.7.2

2019-01-09 Thread Marc Schlaich
Change by Marc Schlaich : -- keywords: +patch, patch pull_requests: +11016, 11017 stage: -> patch review ___ Python tracker ___

[issue35699] distutils cannot find Build Tools 2017 since 3.7.2

2019-01-09 Thread Marc Schlaich
Change by Marc Schlaich : -- keywords: +patch, patch, patch pull_requests: +11016, 11017, 11018 stage: -> patch review ___ Python tracker ___

[issue35699] distutils cannot find Build Tools 2017 since 3.7.2

2019-01-09 Thread Marc Schlaich
Change by Marc Schlaich : -- keywords: +patch pull_requests: +11016 stage: -> patch review ___ Python tracker ___ ___

[issue35699] distutils cannot find Build Tools 2017 since 3.7.2

2019-01-09 Thread Marc Schlaich
Marc Schlaich added the comment: We are passing arguments -latest(Return only the newest version and last installed.) and "-requires", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", So this should handle the cases multiple installs and different products without compilers.

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Jorge Ramos added the comment: Thanks! About the alternate set of training data, how (where) do I find it? and about the layouts, can you point me in the right direction as to learn about them, into what they do? or try to achieve? and how to use them? Quoting Steve Dower (

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
STINNER Victor added the comment: In short, this buildbot runs "./python -m test -R 3:3 test_doctest". But here the bug is just that running the test twice in a row fails. -- ___ Python tracker

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi Victor, Senthil reverted the backport commit on 2.7 branch. Is there a way I can test reference leaks in CPython? Is it using valgrind or some other tool? Can you please point me to that? I can then see if I can fix this on 2.7 Thanks! --

RE: dangerous class neighborhood

2019-01-09 Thread Avi Gross
This message is a delayed reply to what Chris wrote late last year and I initially chose not to reply to. My fault, as I was having a few bad days and did not see the content as constructive. But as things are fine now and I have seen more of what Chris posts, I will reply, but not in-line as I

RE: How to find files with a string ++

2019-01-09 Thread Avi Gross
[This message comments on three different items being discussed and also on how to find out what kind of help is actually requested and warranted.] People don't usually provide enough context in their requests and I see wildly different attempts to help. When some code is supplied along with

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
STINNER Victor added the comment: Yeah, I confirm that it's a regression caused by commit 02e33d9567aa4bd612f9f08053acbfd5e68480d0: "./python -m test test_doctest test_doctest" fails after this commit, but pass before this commit. -- ___ Python

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread STINNER Victor
STINNER Victor added the comment: test_doctest starts to fail on AMD64 Windows8.1 Refleaks 2.7: https://buildbot.python.org/all/#/builders/33/builds/471 It may be related to: New changeset 02e33d9567aa4bd612f9f08053acbfd5e68480d0 by Senthil Kumaran (Sanyam Khurana) in branch '2.7': [2.7]

[issue34323] False timeout log message on proactor close

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch pull_requests: +11013, 11014 stage: -> patch review ___ Python tracker ___

[issue34323] False timeout log message on proactor close

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch, patch pull_requests: +11013, 11014, 11015 stage: -> patch review ___ Python tracker ___

[issue34323] False timeout log message on proactor close

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +11013 stage: -> patch review ___ Python tracker ___ ___

[issue34855] batch file variables

2019-01-09 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34855] batch file variables

2019-01-09 Thread miss-islington
miss-islington added the comment: New changeset 2bd5f7e91add6a20c311d46c332c4325b1e77883 by Miss Islington (bot) in branch '3.7': bpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177) https://github.com/python/cpython/commit/2bd5f7e91add6a20c311d46c332c4325b1e77883 --

[issue35693] test_httpservers fails

2019-01-09 Thread Steve Dower
Steve Dower added the comment: The tests mostly fail in the PGO run because they are highly sensitive to the source tree layout. We've never fixed them because they aren't that important to the PGO run - failure cases help with training - and the real tests pass fine under their more

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch, patch pull_requests: +11010, 11011, 11012 stage: -> patch review ___ Python tracker ___

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +11010 stage: -> patch review ___ Python tracker ___ ___

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch pull_requests: +11010, 11011 stage: -> patch review ___ Python tracker ___ ___

[issue34855] batch file variables

2019-01-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +11007, 11008, 11009 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34855] batch file variables

2019-01-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +11007, 11008 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34855] batch file variables

2019-01-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +11007 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34855] batch file variables

2019-01-09 Thread Steve Dower
Steve Dower added the comment: New changeset 6aedfa6b9ac324587f64133c23757a66a8f355bb by Steve Dower (antektek) in branch 'master': bpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177) https://github.com/python/cpython/commit/6aedfa6b9ac324587f64133c23757a66a8f355bb

[issue32710] test_asyncio: ProactorEventLoopTests sendfile tests leak references on Windows

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11004 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32710] test_asyncio: ProactorEventLoopTests sendfile tests leak references on Windows

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11004, 11005 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32710] test_asyncio: ProactorEventLoopTests sendfile tests leak references on Windows

2019-01-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11004, 11005, 11006 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35593] Register standard browser: Chrome

2019-01-09 Thread Steve Dower
Steve Dower added the comment: The "8232_1.patch" patch on #8232 implements a registry-based lookup (including for Chrome) that will be far more reliable than the current process's environment. So it's not a direct duplicate, but the proposed fix will resolve this issue as well. --

[issue35593] Register standard browser: Chrome

2019-01-09 Thread Steve Dower
Steve Dower added the comment: The patch won't work on my machine - "chrome[.exe]" is not on my PATH: >>> import shutil >>> shutil.which("chrome") >>> import webbrowser >>> webbrowser.register("chrome", None, webbrowser.BackgroundBrowser("chrome")) >>> webbrowser.get("chrome") >>>

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-09 Thread Steve Dower
Steve Dower added the comment: Adding my comment from the PR review: Dealing with leading/trailing whitespace could get interesting here. All the other values can be trimmed at both ends, while this one (currently) must have one space removed from the start. Perhaps we should insert the

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2019-01-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch pull_requests: +11001, 11002 stage: -> patch review ___ Python tracker ___

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2019-01-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +11001 stage: -> patch review ___ Python tracker ___ ___

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2019-01-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch, patch pull_requests: +11001, 11002, 11003 stage: -> patch review ___ Python tracker ___

[issue35404] Document how to import _structure in email.message

2019-01-09 Thread Brian Curtin
Brian Curtin added the comment: New changeset e394ba32147f687b6bc7518d461f1d84211698e0 by Brian Curtin (Charles-Axel Dein) in branch 'master': bpo-35404: Clarify how to import _structure in email.message doc (GH-10886)

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Jorge Ramos added the comment: I have realized that results from rt.bat differ from those when running buildrelease.bat (see example below) Why do the tests run OK in rt.bat but fail in buildrelase.bat? To my best understanding, the tests are summoned directly via rt.bat but also from

[issue35699] distutils cannot find Build Tools 2017 since 3.7.2

2019-01-09 Thread Steve Dower
Steve Dower added the comment: Excellent catch! Are you interested in creating a PR? Also, I don't recall whether we are handling multiple installs or not, but if we are not I would rather explicitly list the products that may include compilers than using "*" (since there are and will be

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2019-01-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: If using Process.sentinel looks easy enough, then go for it. Existing users of multiprocessing.Pool will benefit. -- ___ Python tracker

[issue35698] Division by 2 in statistics.median

2019-01-09 Thread STINNER Victor
STINNER Victor added the comment: > vstinner: The problem isn't the averaging, it's the type inconsistency. >>> type(statistics.median([1])) >>> type(statistics.median([1,2])) Which consistency? :-) -- ___ Python tracker

[issue33437] Defining __init__ in enums

2019-01-09 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2019-01-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: @Antoine Do you think we should start planning one of these long term solutions or we should start trying to use Process.sentinel as a short term solution for this particular issue? -- ___ Python tracker

[issue35674] Expose os.posix_spawnp()

2019-01-09 Thread STINNER Victor
STINNER Victor added the comment: Pablo: > I also think to expose posix_spawnp() as os.posix_spawnp() seems the more > consistent thing to do as the os/posix module tries to mirror glibc as much > as possible, which helps with discoverability and cross-reference with man > pages. Ok. Let's

[issue35674] Expose os.posix_spawnp()

2019-01-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I also think to expose posix_spawnp() as os.posix_spawnp() seems the more consistent thing to do as the os/posix module tries to mirror glibc as much as possible, which helps with discoverability and cross-reference with man pages. --

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Change by Jorge Ramos : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-09 Thread songbird
Matthew Lemon wrote: > If the OP was able to take the time to familiarise himself with the > technologies, rather than bemoan the difficulty of deploying a ten year old > code-base without mininal effort, he might have some success. Code rot is an > issue after weeks sometimes, never mind ten

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-09 Thread songbird
Grant Edwards wrote: ... > That said, I've recently switched from py2exe to cx_freeze. However, > even that isn't simple enough for my users, and I bundle the output > from those with Inno Setup. i looked at the one and stopped at that because alas, i have no Windows or MacOS machines to

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-09 Thread songbird
MRAB wrote: > On 2019-01-09 14:56, songbird wrote: >> Chris Angelico wrote: >> ... >>> You want it to work with minimal effort? Then forget about py2exe and >>> just distribute your .py files. WAY easier. >> >>which then forces the work onto every other >> person who might install it, if they

[issue35693] test_httpservers fails

2019-01-09 Thread Zachary Ware
Zachary Ware added the comment: Certainly! Bugfixes, in library or test code, are still welcome on 3.7. -- stage: -> test needed versions: +Python 3.7 -Python 3.6 ___ Python tracker

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-09 Thread songbird
Chris Angelico wrote: ... > This is true - but on the flip side, it's a bit unfair to say "blah > blah Python sucks because py2exe is hard". That's not Python's fault. > You have an additional requirement ("support people who can't install > Python"), and that's going to have extra hassles. LOTS

curses textpad.py UTF-8 support

2019-01-09 Thread elig0n
is non existent. Unicode input text won't show up. It probably needs to be rewritten with get_wch() as was suggested in the following SO question before get_wch() was implemented, together with proper key code parsing (in do_command()) and probably more as to prevent breakage [

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Jorge Ramos added the comment: Ok, thank you. Here are my findings: steps taken: 1) download today's version of 3.7.2 and 3.8.0 alpha 0 2) navigate to tools/msi 3) run build.bat -x64 (to create amd64 folder under pcbuild) 4) navigate to pcbuild 5) run rt.bat -x64 -v test_httpservers

Re: How to find files with a string

2019-01-09 Thread Terry Reedy
On 1/9/2019 11:29 AM, anton.gridus...@gmail.com wrote: I need to find a file, that contains a string TeNum IDLE's 'Find in Files' is a mid-level grep with GUI interface. The code is in idlelib/grep.py if you want to copy code. -- Terry Jan Reedy --

[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10994 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10995 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35700] Place, Pack and Grid should return the widget

2019-01-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. (Josh beat me here.) One of Python's design features is that stdlib functions/methods that mutate (or register) an object never (as far as I can remember) return the object. (If they return anything other than None, it is something other than the

[issue35198] Build issue while compiling cpp files in AIX

2019-01-09 Thread Michael Felt
Michael Felt added the comment: On 08/01/2019 15:40, Ayappan wrote: > Ayappan added the comment: > > Not sure what went wrong here. > I used gcc & g++ and didn't hit this issue. > > -- > > ___ > Python tracker >

[issue35692] pathlib.Path.exists() on non-existent drive raises WinError instead of returning False

2019-01-09 Thread Brett Cannon
Change by Brett Cannon : -- components: +Library (Lib), Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 02e33d9567aa4bd612f9f08053acbfd5e68480d0 by Senthil Kumaran (Sanyam Khurana) in branch '2.7': [2.7] bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (#11482)

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-09 Thread Grant Edwards
On 2019-01-09, Chris Angelico wrote: > On Thu, Jan 10, 2019 at 2:37 AM Grant Edwards > wrote: > >> > How many platforms support .exe files that were compiled for Windows? >> >> None. >> >> But when your requirement is to support Windows users who are not >> capable of installing Python,

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +10999, 11000 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +10999 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

RE: How to find files with a string

2019-01-09 Thread Avi Gross
Anton, OVERVIEW: SET vs DICT Some of us have less experience decoding Cyrillic error messages. The part we can read suggests the program objected to the way a dictionary was being updated. ValueError: dictionary update sequence element #0 has length 35; 2 is required (The Russian said

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-09 Thread Matthew Lemon
If the OP was able to take the time to familiarise himself with the technologies, rather than bemoan the difficulty of deploying a ten year old code-base without mininal effort, he might have some success. Code rot is an issue after weeks sometimes, never mind ten years, and Python deployment

[issue35698] Division by 2 in statistics.median

2019-01-09 Thread Josh Rosenberg
Josh Rosenberg added the comment: vstinner: The problem isn't the averaging, it's the type inconsistency. In both examples (median([1]), median([1, 1])), the median is unambiguously 1 (no actual average is needed; the values are identical), yet it gets converted to 1.0 only in the latter

Re: Email blast management?

2019-01-09 Thread Chris Angelico
On Thu, Jan 10, 2019 at 4:19 AM Tobiah wrote: > > I'm tasked with adding the ability for users of a website to > send bulk emails out to their customers. Before I write it all > from scratch, are there any good tools that will allow me to provide: > > > * A place to compose their email,

RE: Working with graphs - Kevin Bacon game - WOT

2019-01-09 Thread Avi Gross
[HUMOR ALERT] Others have given answers that are on topic so mine is not needed. I was amused by the understandable spelling error about doing the unusual variant of a Breath First Search when it is clear they meant Breadth. But it may apply in this case. The Keven Bacon Game is a variation on

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-09 Thread Chris Angelico
On Thu, Jan 10, 2019 at 2:37 AM Grant Edwards wrote: > > On 2019-01-09, MRAB wrote: > > > .py files work on any platform that supports Python: Windows, Linux, > > MacOs, ... > > Only after python has been installed along with any other required > libraries. > > > How many platforms support .exe

[issue35700] Place, Pack and Grid should return the widget

2019-01-09 Thread Josh Rosenberg
Josh Rosenberg added the comment: Closing as rejected; to my knowledge, *no* built-in Python method both mutate an object and returns the object just mutated, precisely because: 1. It allows for chaining that leads fairly quickly to unreadable code (Python is not Perl/Ruby) 2. It creates

[issue35701] 3.8 needlessly breaks weak references for UUIDs

2019-01-09 Thread Josh Rosenberg
New submission from Josh Rosenberg : I 100% agree with the aim of #30977 (reduce uuid.UUID() memory footprint), but it broke compatibility for any application that was weak referencing UUID instances (which seems a reasonable thing to do; a strong reference to a UUID can be stored in a

[issue35700] Place, Pack and Grid should return the widget

2019-01-09 Thread Zachary Ware
Change by Zachary Ware : -- type: behavior -> enhancement versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___

Email blast management?

2019-01-09 Thread Tobiah
I'm tasked with adding the ability for users of a website to send bulk emails out to their customers. Before I write it all from scratch, are there any good tools that will allow me to provide: * A place to compose their email, with images and links * A way to manage their

[issue35700] Place, Pack and Grid should return the widget

2019-01-09 Thread Peter Vex
Peter Vex added the comment: Thank you Zachary, very interesting examples, to say the least! -- type: enhancement -> behavior versions: +Python 3.7 -Python 3.8 ___ Python tracker

[issue35397] Undeprecate and document urllib.parse.unwrap

2019-01-09 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch, patch, patch pull_requests: +10996, 10997, 10998 stage: -> patch review ___ Python tracker ___

[issue35397] Undeprecate and document urllib.parse.unwrap

2019-01-09 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch, patch pull_requests: +10996, 10997 stage: -> patch review ___ Python tracker ___ ___

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-01-09 Thread Michael Saah
Michael Saah added the comment: Hi Victor, thanks for taking a look. > Would why datetime have the same behavior on all platforms, but > time.strftime('%') may or may not raise an exception depending on the libc? If I understand the call stack correctly, datetime does not have the same

[issue35397] Undeprecate and document urllib.parse.unwrap

2019-01-09 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +10996 stage: -> patch review ___ Python tracker ___ ___

[issue35678] subprocess.check_output(): OSError: [WinError 87]

2019-01-09 Thread STINNER Victor
STINNER Victor added the comment: Ok, you're welcome ;-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: How to find files with a string

2019-01-09 Thread Brian Oney via Python-list
On Wed, 2019-01-09 at 08:29 -0800, anton.gridus...@gmail.com wrote: > Hello everyone! > > I need to find a file, that contains a string TeNum > > I try to > > import os > import sys > def find_value(fname): > value = 0 > with open(fname, encoding='cp866') as fn: > try: >

[issue35693] test_httpservers fails

2019-01-09 Thread Zachary Ware
Zachary Ware added the comment: No need to paste the output; it's linked between the form at the top and the first message. It's not shown on the issue list view because it's not a patch. The next step is to see if it still fails when you build from the `master` branch since 3.6 is now

[issue35678] subprocess.check_output(): OSError: [WinError 87]

2019-01-09 Thread MaximilianSP
Change by MaximilianSP : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35678] subprocess.check_output(): OSError: [WinError 87]

2019-01-09 Thread MaximilianSP
MaximilianSP added the comment: Hello Victor, a new version of the code has been released and I now get another error. I will mark the issue as resolved. Thank you for the quick response! -- resolution: -> not a bug ___ Python tracker

Re: How to find files with a string

2019-01-09 Thread Peter Otten
anton.gridus...@gmail.com wrote: > Hello everyone! > > I need to find a file, that contains a string TeNum > > I try to > > import os > import sys > def find_value(fname): > value = 0 > with open(fname, encoding='cp866') as fn: > try: > for i in fn: >

[issue35700] Place, Pack and Grid should return the widget

2019-01-09 Thread Zachary Ware
Zachary Ware added the comment: I agree with Serhiy that we shouldn't do this; tkinter is (mostly) just a thin wrapper around Tcl/Tk and this isn't enough of a win to deviate from that. In any case, this would be an enhancement that could only go into 3.8 at this point. For your

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-01-09 Thread STINNER Victor
STINNER Victor added the comment: Paul Ganssle asked me to look at PR 10692. This issue is about consistency, so I don't understand this part of the change: try: _time.strftime('%') except ValueError: self.skipTest('time module does not support trailing %') Would

How to find files with a string

2019-01-09 Thread anton . gridushko
Hello everyone! I need to find a file, that contains a string TeNum I try to import os import sys def find_value(fname): value = 0 with open(fname, encoding='cp866') as fn: try: for i in fn: if 'TeNam' in i: print(fname)

[issue35656] More matchers in unittest.mock

2019-01-09 Thread Petter S
Petter S added the comment: Agreed! The code above was a quick example. There are also functions in the standard library for approximate float matching that the "real" code would use. -- ___ Python tracker

[issue35693] test_httpservers fails

2019-01-09 Thread Jorge Ramos
Jorge Ramos added the comment: The thread doesn't display the attachment icon in bugtracker webpage, so I will copy the output here: E:\RepoGiT\3.6>PCbuild\rt.bat -x64 -v test_httpservers Deleting .pyc files ... 0 .pyc deleted Cleaning _pth files ...

[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-09 Thread miss-islington
miss-islington added the comment: New changeset 6f76ef81596bbd885957b7fea3f40024ed9d6797 by Miss Islington (bot) in branch '3.7': bpo-35641: Move IDLE blurb to IDLE directory (GH-11479) https://github.com/python/cpython/commit/6f76ef81596bbd885957b7fea3f40024ed9d6797 --

[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +10993, 10994 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >