[issue33839] IDLE tooltips.py: refactor and add docstrings and tests

2018-06-18 Thread Tal Einat
Tal Einat added the comment: > What do you think of changing 'ToolTip' to 'Tooltip'? +1, I'll change it. > TclError from widget.destroy suggests that we *might* be able to cleanup > better. The try/except clauses which are hard to test are used since the order in which widgets are

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @prawin for the confirmation. There is a mailing list discussion at https://groups.google.com/forum/#!topic/python-ideas/Ny1RN9wY0cI and it seems this is related to Thai language locale. Feel free to add in if you have any more input on if

[issue33855] IDLE: Minimally test every non-startup module.

2018-06-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7389 stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-18 Thread Prawin Phichitnitikorn
Prawin Phichitnitikorn added the comment: Sorry for late Reply, But for me I'm resolve by adding # cp874 codec '874': 'cp874', to alias.py file -- ___ Python tracker

[issue33855] IDLE: Minimally test every non-startup module.

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Spinoffs: change rstrip.RstripExtension to Rstrip change stackviewer.StackBrowser to accept exception -- stage: patch review -> test needed ___ Python tracker

[issue33872] doc Add list access time to list definition

2018-06-18 Thread Xiang Zhang
Xiang Zhang added the comment: I concur with INADA. I don't prefer to add such implementation choice in definition. As for glossary, it may be unnecessary either but since it's already there, I don't think it needs to be removed. -- nosy: +xiang.zhang

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Eric V. Smith
Eric V. Smith added the comment: I like philiprowlands' version: - If tempdir is unset or None at any call to + If tempdir is None (the default) at any call to Care to produce a PR? -- versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: What about: "If tempdir is unset or None (the default value has not been modified) ..." ? -- nosy: +pablogsal ___ Python tracker

[issue33898] pathlib issues with Windows device paths

2018-06-18 Thread Eryk Sun
New submission from Eryk Sun : For \\?\ extended device paths, pathlib removes the trailing slash for the root directory if the device isn't UNC or a logical (A-Z) drive. Correct: >>> str(Path('//?/UNC/')) '?\\UNC\\' >>> str(Path('//?/Z:/')) '?\\Z:\\' Incorrect:

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-06-18 Thread STINNER Victor
STINNER Victor added the comment: Related issue: bpo-31237. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33896] filecmp.cmp returns True on files that differ

2018-06-18 Thread Dean Morin
Dean Morin added the comment: Fair enough, how about just making it clearer in the documentation? Currently you need to look at the source code to see what would be required for a signature clash to occur. Maybe something like: Note that the

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-06-18 Thread STINNER Victor
STINNER Victor added the comment: > 1) Skip whole test_gdb when optimizations are used (who debugs with them > anyway?) It's already done, no? But the title issue is "-mcet -fcf-protection -O0" and -O0 disables optimizations. -- ___ Python

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

2018-06-18 Thread miss-islington
miss-islington added the comment: New changeset 8c19a44b63033e9c70e9b552476baecb6e3e9451 by Miss Islington (bot) in branch '3.6': bpo-33663: Convert content length to string before putting to header (GH-7754) https://github.com/python/cpython/commit/8c19a44b63033e9c70e9b552476baecb6e3e9451

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

2018-06-18 Thread miss-islington
miss-islington added the comment: New changeset 53d1e9fad316e1404535157fe21cab8919f707c9 by Miss Islington (bot) in branch '3.7': bpo-33663: Convert content length to string before putting to header (GH-7754) https://github.com/python/cpython/commit/53d1e9fad316e1404535157fe21cab8919f707c9

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

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

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

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

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

2018-06-18 Thread Steve Dower
Steve Dower added the comment: New changeset b36b0a3765bcacb4dcdbf12060e9e99711855da8 by Steve Dower (ValeriyaSinevich) in branch 'master': bpo-33663: Convert content length to string before putting to header (GH-7754)

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with David. I would like the ugly markup changed independent of how Sphinx treats it. I was thinking of changing the title to "Change obsolete tex markup in stdlib docstrings". The intent of `word' was for people to see balanced quotes, which in

[issue33896] filecmp.cmp returns True on files that differ

2018-06-18 Thread R. David Murray
R. David Murray added the comment: For your problem, just don't use the default shallow setting :) -- ___ Python tracker ___ ___

[issue33896] filecmp.cmp returns True on files that differ

2018-06-18 Thread R. David Murray
R. David Murray added the comment: I understand your concern, but this is working as designed and documented. Using st_ino would mean you would return true if and only if it was the *same* file. That is not the intent. See issue 27396 for some background discussion. -- nosy:

[issue33897] Add a restart option to logging.basicConfig()

2018-06-18 Thread Raymond Hettinger
New submission from Raymond Hettinger : Once a logger or basicConfig() has been called, later calls to basicConfig() are silent ignored. The makes it very difficult to experiment with or teach the various options at the interactive prompt or in a Jupyter notebook. What we have: >>>

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread R. David Murray
R. David Murray added the comment: I would still like to see the legacy tex markup removed from the docstrings, so I think closing this issue is not appropriate, but it's not a big enough deal that I'll push for it if Raymond wants to keep it closed. --

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-06-18 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: I'd say there are use cases where gdb will be used with optimizations especially in downstream distribution. -- ___ Python tracker

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Marking this as closed. Though well-intentioned, the suggestion is predicated on a misperception of the role of Sphinx for CPython and existing PEP recommendations on docstring practices. -- nosy: +rhettinger resolution: -> not a bug stage:

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: RestructuredText, DocUtils, and Sphinx were developed independently, by people other than the pydev/cpython group. (The proposal to include DocUtils in the stdlib was rejected.) We converted to .rst for the Python documentation sources files about a

[issue33895] LoadLibraryExW called with GIL held can cause deadlock

2018-06-18 Thread Tony Roberts
Tony Roberts added the comment: Sure, I'll get that done in the next couple of days. -- ___ Python tracker ___ ___

[issue33895] LoadLibraryExW called with GIL held can cause deadlock

2018-06-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Do you want to submit a PR for this? You can take a look at our developer's guide if you're new to contributing to Python: https://devguide.python.org/ -- nosy: +pitrou stage: -> needs patch type: -> behavior versions: -Python 2.7, Python 3.4,

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread Patrick Lehmann
Patrick Lehmann added the comment: Having single quotes in docstrings is also ok for Sphinx documentation. Btw. ReStructured text (docutils) was invented to document Python sources, why is it not used by Python? -- ___ Python tracker

[issue33896] filecmp.cmp returns True on files that differ

2018-06-18 Thread Dean Morin
New submission from Dean Morin : By default `filecmp.cmp()` has `shallow=True` which can produce some surprising behavior. In the docs it states: > If shallow is true, files with identical os.stat() signatures are taken to be > equal. However the "signature" only considers the file mode,

[issue33301] Add __contains__ to pathlib

2018-06-18 Thread Andrew Berger
Andrew Berger added the comment: I can make these changes. Would probably add a .exists method to PurePath, using the _normal_accessor.stats staticmethod, then call that in __contains__ -- nosy: +aberger5b ___ Python tracker

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, you are right. I didn't write much English TeX, and used other types of quotes. I'm sure that I seen `such quotation' in non-TeX files, but maybe my memory fools me. In any case using this writing here is likely an artifact of copying from a TeX

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: > AFAIK `name' is common writing of quotes in English texts I don't remember ever seeing it before. It looks like a typo to me, and I am sure it will to most readers. I think it should be corrected as if it were a typo. --

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. I have presumed that Linux consoles are also line oriented, but hesitated to say so without really knowing so. -- ___ Python tracker

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread R. David Murray
R. David Murray added the comment: No, it is (somewhat) unique to tex. If you write `word' tex would turn that into a pair of opposing quotes in the typeset document, as opposed to 'word' (the convention in regular text/emails/posts/etc) where you'd just see ascii quotes. tex would render

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the problem? Docstrings are not written in the reStructuredText format in general. If Sphinx complains about docstrings in the stlib, don't run Sphinx for the stdlib files or report a Sphinx bug. Even if remove all `x', docstrings still will not

[issue33866] Stop using OrderedDict in enum

2018-06-18 Thread INADA Naoki
New submission from INADA Naoki : New changeset e57f91a0f0d5700ec466c9dd0fd2d2b5323a5e76 by INADA Naoki in branch 'master': bpo-33866: enum: Stop using OrderedDict (GH-7698) https://github.com/python/cpython/commit/e57f91a0f0d5700ec466c9dd0fd2d2b5323a5e76 --

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Philip Rowlands
Philip Rowlands added the comment: How about - If tempdir is unset or None at any call to + If tempdir is None (the default) at any call to This avoids headaches over the meaning of "unset", and accurately reflects the code at: https://github.com/python/cpython/blob/3.6/Lib/tempfile.py#L289

[issue23660] Turtle left/right inverted when using different coordinates orientation

2018-06-18 Thread Carol Willing
Carol Willing added the comment: Reopened at the request of the original submitter. -- resolution: remind -> stage: resolved -> patch review status: closed -> open ___ Python tracker

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread R. David Murray
R. David Murray added the comment: By the way, in case anyone is curious, I'm pretty sure that markup is left over from the days when tex/latex was what docs were *written* in. -- ___ Python tracker

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-18 Thread R. David Murray
R. David Murray added the comment: Right, my opinion is that we shouldn't be putting markup in docstrings. They are (from our point of view) pure text. I don't know if discussion on python-dev is warranted, it seems like a fairly uncontroversial change, since it brings the docstrings in

[issue33830] Error in the output of one example in the httplib docs

2018-06-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +7386 stage: -> patch review ___ Python tracker ___ ___

[issue33892] doc Use gender neutral words

2018-06-18 Thread INADA Naoki
INADA Naoki added the comment: thanks -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29750] smtplib doesn't handle unicode passwords

2018-06-18 Thread R. David Murray
R. David Murray added the comment: I didn't think to look at the standards for the auth mechanisms, I only looked at the smtp standards. So, if the standard says utf-8, then we should use that. But we should still support bytes passwords so that an application could work around issues

[issue33892] doc Use gender neutral words

2018-06-18 Thread INADA Naoki
INADA Naoki added the comment: New changeset 60c888d0eb673272920fa3b33f6e5b176d217dc9 by INADA Naoki (Andrés Delfino) in branch '2.7': bpo-33892: Doc: Use gender neutral words (GH-7770) https://github.com/python/cpython/commit/60c888d0eb673272920fa3b33f6e5b176d217dc9 --

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-06-18 Thread Marcel Plch
Marcel Plch added the comment: The problem is with this function: static PyObject * builtin_id(PyModuleDef *self, PyObject *v) /*[clinic end generated code: output=0aa640785f697f65 input=5a534136419631f4]*/ { return PyLong_FromVoidPtr(v); } It's a one-liner, so the compiler really likes

[issue23395] _thread.interrupt_main() errors if SIGINT handler in SIG_DFL, SIG_IGN

2018-06-18 Thread Matej Cepl
Change by Matej Cepl : -- pull_requests: +7385 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread R. David Murray
R. David Murray added the comment: zsh lets you edit multiline shell commands as a unit. If you up-arrow, you get all the lines of the block popped up, with the cursor on the last line. Further arrow keys will navigate within the multiline text block, with an up-arrow from the first line

[issue23395] _thread.interrupt_main() errors if SIGINT handler in SIG_DFL, SIG_IGN

2018-06-18 Thread Matej Cepl
Change by Matej Cepl : -- pull_requests: +7384 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-18 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks for your confirmation, Ma Lin. Also thanks for Wonsup! -- components: +Unicode -Library (Lib) ___ Python tracker ___

[issue23395] _thread.interrupt_main() errors if SIGINT handler in SIG_DFL, SIG_IGN

2018-06-18 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15474] Differentiate decorator and decorator factory in docs

2018-06-18 Thread Andrés Delfino
Andrés Delfino added the comment: Alright! :D Yes, your help will definitely come in handy, thanks! -- ___ Python tracker ___ ___

[issue15474] Differentiate decorator and decorator factory in docs

2018-06-18 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: I like Éric's terminology; giving a concrete name to the concept makes it a lot easier to grasp, and this doesn't require inventing any new component terms. Andrés, if you'd like to tackle this, that's great! I'd be happy to for you to bounce drafts

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Confirmation that the patch actually fixes the problem would be nice, but I'd still like to understand why Python tries to use an encoding with the name "874" as this might lead to a nicer solution to the problem. BTW. There is some discussion on this

[issue15474] Differentiate decorator and decorator factory in docs

2018-06-18 Thread Andrés Delfino
Andrés Delfino added the comment: If deemed appropriate, I can take the task of writing a HOWTO for decorators/decorators factories. -- nosy: +adelfino ___ Python tracker ___

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think if we can get a confirmation from @Prawin that adding an alias fixed the issue or a minimal test case then it will be helpful. The minimal I can come up with is as below : import codecs # Fails without alias being added other cases like

[issue33661] urllib may leak sensitive HTTP headers to a third-party web site

2018-06-18 Thread Artem Smotrakov
Artem Smotrakov added the comment: If I am not missing something, section 6.4 of RFC 7231 doesn't explicitly discuss that all headers should be sent. I wish it did :) I think that an Authorization header for host A may make sense for host B if both A and B use the same database with user

[issue33871] Possible integer overflow in iov_setup()

2018-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Pablo and Ned! Seems there is other bug on Mac OS, not related to integer overflow. I am working on it. -- priority: normal -> high ___ Python tracker

[issue33832] doc Add "magic method" entry to Glossary

2018-06-18 Thread Andrés Delfino
Change by Andrés Delfino : -- title: Make "magic methods" a little more discoverable in the docs -> doc Add "magic method" entry to Glossary ___ Python tracker ___

[issue33876] doc Mention relevant pythonesque implementations

2018-06-18 Thread Andrés Delfino
Change by Andrés Delfino : -- title: doc Mention the MicroPython implementation in Introduction -> doc Mention relevant pythonesque implementations ___ Python tracker ___

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: Terry asked: > I have a question about Linux consoles. [...] Does a Linux console retrieve > all 5 at once, as IDLE does? Not typically. Like the Windows console, Linux consoles are also line-oriented, and hitting up-arrow cycles through each line, one at

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm not convinced that adding code to search_function is the right solution for this. BTW. I'm also not sure yet why this error happens, does windows return a codepage number as the preferred encoding when the io module looks for one? If so, wouldn't it

[issue33892] doc Use gender neutral words

2018-06-18 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +7383 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33895] LoadLibraryExW called with GIL held can cause deadlock

2018-06-18 Thread Tony Roberts
New submission from Tony Roberts : In dynload_win.c LoadLibraryExW is called with the GIL held. This can cause a deadlock in an uncommon case where the GIL also needs to be acquired when another thread is being detached. Both LoadLibrary and FreeLibrary acquire the Windows loader-lock. If

[issue33892] doc Use gender neutral words

2018-06-18 Thread Andrés Delfino
Andrés Delfino added the comment: Yes, of course! -- title: doc Add a couple of "or she/her" -> doc Use gender neutral words ___ Python tracker ___

[issue33855] IDLE: Minimally test every non-startup module.

2018-06-18 Thread miss-islington
miss-islington added the comment: New changeset 740f1cb20a8ae6e7f6daa14f2e240664643ce757 by Miss Islington (bot) in branch '3.7': bpo-33855: More edits and new minimal tests for IDLE (GH-7761) https://github.com/python/cpython/commit/740f1cb20a8ae6e7f6daa14f2e240664643ce757 --

[issue33855] IDLE: Minimally test every non-startup module.

2018-06-18 Thread miss-islington
miss-islington added the comment: New changeset 684bc3d67797f2b5ca9368fe7ecc1c3093d7b694 by Miss Islington (bot) in branch '3.6': bpo-33855: More edits and new minimal tests for IDLE (GH-7761) https://github.com/python/cpython/commit/684bc3d67797f2b5ca9368fe7ecc1c3093d7b694 --

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Eric V. Smith
Eric V. Smith added the comment: "If tempdir is unset or None" means "If tempdir has not been assigned to, or if it has been assigned the value None". "Unset" doesn't mean "delete from the module". I agree the documentation wording could be improved. -- assignee: -> docs@python

[issue33855] IDLE: Minimally test every non-startup module.

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

[issue33855] IDLE: Minimally test every non-startup module.

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

[issue33855] IDLE: Minimally test every non-startup module.

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ea3dc8029ab6a0f1ee6a8a72f1612dea74892e08 by Terry Jan Reedy in branch 'master': bpo-33855: More edits and new minimal tests for IDLE (GH-7761) https://github.com/python/cpython/commit/ea3dc8029ab6a0f1ee6a8a72f1612dea74892e08 --

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: These issues are not as simple as you think. But anyway, clearing the shell in #6143. Shell is a modified editor. Currently, the arrows move the cursor around just as in the editor. For multiline statements, this is essential, and even for single-line

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- superseder: -> IDLE: Patch to make PyShell behave more like a Terminal interface ___ Python tracker ___

[issue6143] IDLE - an extension to clear the shell window

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The way to clear an editor window at least on Windows is ^A (select all) and delete, which can be any of BS (backspace) or DEL or ^X (Cut). The latter 'moves to the clipboard. In Shell, select all selects everything, but ^X enters '^x', the other 2 do

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-18 Thread Petr Viktorin
Petr Viktorin added the comment: > I didn't add Cython because it's not clear to me if it's useful for creating > extension modules in a pythonesque language, or if it's also useful by it's > own. Cython only makes extensions for CPython, and uses CPython's runtime. But it does have its

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Philip Rowlands
New submission from Philip Rowlands : Quoting https://docs.python.org/3/library/tempfile.html """ tempfile.tempdir When set to a value other than None, this variable defines the default value for the dir argument to the functions defined in this module. If tempdir is unset or None at any call

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread sebastin
sebastin added the comment: I meant this on Python IDLE across all platforms. basic necessary enhancements for seamless use of IDLE should atleast have below feature supported. clear(used in MAC/LINUX TERMINAL) or cls(used in WINDOWS CMD PROMPT) - clear the PYTHON IDLE screen. up arrow -

[issue29750] smtplib doesn't handle unicode passwords

2018-06-18 Thread Tal Einat
Tal Einat added the comment: >From reading the aforementioned discussion on Thunderbird's issue tracker, >ISTM that encoding with UTF-8 is the way to go. -- ___ Python tracker

[issue29750] smtplib doesn't handle unicode passwords

2018-06-18 Thread Tal Einat
Tal Einat added the comment: There's also some discussion there (from 3 years ago) of possibly needing to fall back to ISO-8859-1 to work with MS Exchange, despite the standards saying UTF-8 should be used. It's unclear to me whether that's actually the case. --

[issue29750] smtplib doesn't handle unicode passwords

2018-06-18 Thread Tal Einat
Tal Einat added the comment: This specifically seems relevant: > In order for Thunderbird to be standards-compliant-enough to interoperate > with standards-compliant servers, it should use UTF-8 for the SASL PLAIN > mechanism regardless of the underlying protocol (IMAP, POP and SMTP). That

[issue29750] smtplib doesn't handle unicode passwords

2018-06-18 Thread Tal Einat
Tal Einat added the comment: I found the Thunderbirg bugzilla issues where they appear to have dealt precisely with this issue (for a variety of protocols, including SMTP): https://bugzilla.mozilla.org/show_bug.cgi?id=312593 -- ___ Python tracker