[issue32900] Teach pdb to step through asyncio et al.

2018-02-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: The help for 'n' says: (Pdb) help n n(ext) Continue execution until the next line in the current function is reached or it returns. (And the docs [1] say essentially the same.) It sounds like if that were true, then you

[issue32940] IDLE: pyparse - simplify StringTranslatePseudoMapping

2018-02-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For efficiency I suggest to initialize the mapping with dict.fromkeys(range(128), 'x') rather of an empty dict. It is also possible to use regular expressions: _trans = re.compile(r'''[^(){}\[]"'\\\n#]+''') code =

[issue32944] Need Guidance on Solving the Tcl problem

2018-02-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Download and install 8.5.18 as the link says. If you have further questions, try python list or search stackoverflow. This tracker is for patching python, not for user questions. -- assignee: terry.reedy -> components:

[issue32943] confusing error message for rot13 codec

2018-02-24 Thread Xiang Zhang
Change by Xiang Zhang : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list

[issue32943] confusing error message for rot13 codec

2018-02-24 Thread Xiang Zhang
Change by Xiang Zhang : -- keywords: +patch pull_requests: +5643 stage: -> patch review ___ Python tracker ___

[issue32944] Need Guidance on Solving the Tcl problem

2018-02-24 Thread LBC2525
New submission from LBC2525 : Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "copyright", "credits" or "license()" for more information. >>> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.

[issue32943] confusing error message for rot13 codec

2018-02-24 Thread Xiang Zhang
New submission from Xiang Zhang : rot13 codec does a str translate operation. But it doesn't check the input type and then the error message would be quite confusing, especially for bytes: >>> codecs.encode(b'abc', 'rot13') Traceback (most recent call last): File

[issue32939] IDLE: self.use_context_ps1 defined in editor, but always False

2018-02-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: #31858 (second link) replaced one (?) use of "if use_context_ps1" ('in Shell') with "if self.last_prompt_line != ''" ("prompt before code on same line"). This can only happen in Shell, and only if the prompt ends with something other than

[issue17232] Improve -O docs

2018-02-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue17232] Improve -O docs

2018-02-24 Thread miss-islington
miss-islington added the comment: New changeset fc9471a888f373aedff3c118ae9a6cbf2037bd7c by Miss Islington (bot) in branch '3.6': bpo-17232: Clarify docs for -O and -OO command line options (GH-5839)

[issue17232] Improve -O docs

2018-02-24 Thread miss-islington
miss-islington added the comment: New changeset b5655f3d187084579ff389dbd8734742a8b66cbc by Miss Islington (bot) in branch '3.7': bpo-17232: Clarify docs for -O and -OO command line options (GH-5839)

[issue17232] Improve -O docs

2018-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +5642 ___ Python tracker ___

[issue17232] Improve -O docs

2018-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +5641 ___ Python tracker ___

[issue17232] Improve -O docs

2018-02-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 186b606d8a2ea4fd51b7286813302c8e8c7006cc by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-17232: Clarify docs for -O and -OO command line options (#5839)

[issue32940] IDLE: pyparse - simplify StringTranslatePseudoMapping

2018-02-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I simplified ParseMap to a dict subclass with one override -- __getitem__ and then the tests. They run faster. I suspect translate is faster. -- stage: patch review -> needs patch ___ Python

[issue12345] Add math.tau

2018-02-24 Thread Nick Coghlan
Change by Nick Coghlan : -- pull_requests: -5640 ___ Python tracker ___ ___

[issue32932] better error message when __all__ contains non-str objects

2018-02-24 Thread Nick Coghlan
Nick Coghlan added the comment: I believe the original rationale for the `__path__` check was to restrict that branch to the case where we may need to import a not-yet-imported submodule in order to get the attribute set appropriately. However, giving a better error

[issue12345] Add math.tau

2018-02-24 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +5640 ___ Python tracker ___

[issue32940] IDLE: pyparse - simplify StringTranslatePseudoMapping

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: New PR submitted. Really glad I worked on this today. I learned a lot of things that were new to me. :-) -- ___ Python tracker

[issue4260] Document that ctypes.xFUNCTYPE are decorators.

2018-02-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue32185] SSLContext.wrap_socket sends SNI Extension when server_hostname is IP

2018-02-24 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5639 ___ Python tracker ___ ___

[issue31518] ftplib, urllib2, poplib, httplib, urllib2_localnet use ssl.PROTOCOL_TLSv1 unconditionally

2018-02-24 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue31518] ftplib, urllib2, poplib, httplib, urllib2_localnet use ssl.PROTOCOL_TLSv1 unconditionally

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: New changeset 8d4d17399fb82801eaaca5beeb97a19908b40222 by Christian Heimes in branch '2.7': bpo-31518: Change TLS protocol for Debian (#3661) https://github.com/python/cpython/commit/8d4d17399fb82801eaaca5beeb97a19908b40222 --

[issue31518] ftplib, urllib2, poplib, httplib, urllib2_localnet use ssl.PROTOCOL_TLSv1 unconditionally

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: New changeset aab225840360719516eca55a7a69cfee45aee2af by Christian Heimes in branch '3.6': bpo-31518: Change TLS protocol for Debian (#3660) https://github.com/python/cpython/commit/aab225840360719516eca55a7a69cfee45aee2af --

[issue30622] Fix NPN guard for OpenSSL 1.1

2018-02-24 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5638 ___ Python tracker ___ ___

[issue32940] IDLE: pyparse - simplify StringTranslatePseudoMapping

2018-02-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +5637 stage: needs patch -> patch review ___ Python tracker ___

[issue30622] Fix NPN guard for OpenSSL 1.1

2018-02-24 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5636 ___ Python tracker ___ ___

[issue32942] Regression: test_script_helper fails

2018-02-24 Thread Andrew Brezovsky
New submission from Andrew Brezovsky : Test test_script_helper fails, details: Running Debug|Win32 interpreter... == CPython 3.8.0a0 (heads/master:6cdb7954b0, Feb 24 2018, 17:25:46) [MSC v.1912 32 bit (Intel)] == Windows-10-10.0.16299-SP0 little-endian == cwd:

[issue32940] IDLE: pyparse - simplify StringTranslatePseudoMapping

2018-02-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I forget about this defaultdict behavior: "this value is inserted in the dictionary for the key, and returned." Reason: when default_factory returns a mutable, d[key] must return the same possibly mutated object with each call. I agree

[issue32929] Change dataclasses hashing to use unsafe_hash boolean (default to False)

2018-02-24 Thread Guido van Rossum
Guido van Rossum added the comment: Sorry, I used imprecise language. What you propose is fine. On Feb 24, 2018 09:54, "Eric V. Smith" wrote: > > Eric V. Smith added the comment: > > Note that this class (from the test suite)

[issue30622] Fix NPN guard for OpenSSL 1.1

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: New changeset 01d9c23e470d708b922a1085347404000e985c0f by Christian Heimes (Miss Islington (bot)) in branch '3.7': [3.7] bpo-30622: Improve NPN support detection (GH-5859) (#5860)

[issue31355] Remove Travis CI macOS job: rely on buildbots

2018-02-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Last macOS job took 13 minutes and there was almost no wait. That looks ok. I'm not sure it's required to backport to 3.6 and 2.7 since those branches typically have less churn. -- ___ Python

[issue32912] Raise non-silent warning for invalid escape sequences

2018-02-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 5849 changes not only the Python parser, but codecs. It shouldn't. The Python parser and codecs will go different ways. The warning in the Python parser will finally be upgraded to SyntaxError (it is already replaced with

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg312739 ___ Python tracker ___

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg312733 ___ Python tracker ___

[issue32941] mmap should expose madvise()

2018-02-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: For information: - macOS manpage for madvise(): http://www.manpages.info/macosx/madvise.2.html - FreeBSD manpage for madvise(): https://www.freebsd.org/cgi/man.cgi?query=madvise=2 -- ___ Python

[issue32941] mmap should expose madvise()

2018-02-24 Thread Antoine Pitrou
New submission from Antoine Pitrou : On POSIX, mmap objects could expose a method wrapping the madvise() library call. I suggest the following API mmap_object.madvise(option[, start[, length]]) If omitted, *start* and *length* would span the whole memory area described by

[issue30622] Fix NPN guard for OpenSSL 1.1

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: New changeset 6cdb7954b0a578d899e4b78b868ea59eef08480a by Christian Heimes in branch 'master': bpo-30622: Improve NPN support detection (#5859) https://github.com/python/cpython/commit/6cdb7954b0a578d899e4b78b868ea59eef08480a --

[issue30622] Fix NPN guard for OpenSSL 1.1

2018-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +5635 ___ Python tracker ___

[issue32932] better error message when __all__ contains non-str objects

2018-02-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I was wondering why the error is not raised by the IMPORT_NAME opcode which predates IMPORT_FROM. It calls _handle_fromlist() from _bootstrap. But in this case the module doesn't have the __path__ attribute and the sanity check

[issue24334] SSLSocket extra level of indirection

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: Thanks for your review, Antoine! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.6 ___ Python tracker

[issue24334] SSLSocket extra level of indirection

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: New changeset 8fa8478ddeba0870da1152f0a2985c8a7eeb9fd1 by Christian Heimes (Miss Islington (bot)) in branch '3.7': [3.7] bpo-24334: Cleanup SSLSocket (GH-5252) (#5857)

[issue30622] Fix NPN guard for OpenSSL 1.1

2018-02-24 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5634 ___ Python tracker ___ ___

[issue31355] Remove Travis CI macOS job: rely on buildbots

2018-02-24 Thread Antoine Pitrou
Change by Antoine Pitrou : -- keywords: +patch pull_requests: +5633 stage: resolved -> patch review ___ Python tracker ___

[issue24334] SSLSocket extra level of indirection

2018-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +5632 ___ Python tracker ___

[issue24334] SSLSocket extra level of indirection

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: New changeset 141c5e8c2437a9fed95a04c81e400ef725592a17 by Christian Heimes in branch 'master': bpo-24334: Cleanup SSLSocket (#5252) https://github.com/python/cpython/commit/141c5e8c2437a9fed95a04c81e400ef725592a17 --

[issue32940] IDLE: pyparse - replace StringTranslatePseudoMapping with defaultdict

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Tal had written this on the original issue21765: Finally, since the defaultdict is kept around as long as IDLE is running, I decided to avoid having it grow continually and consume memory unnecessarily. So I wrote a simple Mapping

[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2018-02-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure... I cannot reproduce your problem on Linux, even with 50 processes and 1 iterations, on Python 3.6.4. Which exact version are you using? What happens if you replace the manager Queue with a non-manager Queue? --

[issue32931] Python 3.70b1 specifies non-existent compiler gcc++

2018-02-24 Thread Ned Deily
Ned Deily added the comment: Thanks for noticing! Fixed for 3.7.0b2. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker

[issue32931] Python 3.70b1 specifies non-existent compiler gcc++

2018-02-24 Thread Ned Deily
Ned Deily added the comment: New changeset d24c5a068c1831a8579a5915f44ae3b4344aba43 by Ned Deily (Miss Islington (bot)) in branch '3.7': [3.7] bpo-32931: fix macOS 10.9+ installer c++ compiler name (GH-5856)

[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2018-02-24 Thread EricG
EricG added the comment: I do plan to consume the messages on the queue, but only after all worker functions are complete...after pool.join() returns. Is this not ok? I can certainly spawn a thread on the main process which will consume the queue entries and insert them

[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2018-02-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: What happens if you add another process that calls get() on the queue? You should not try to put data on a queue if you don't ever plan to consume it, as the queue's background thread will eventually block until something gets consumed. For

[issue32931] Python 3.70b1 specifies non-existent compiler gcc++

2018-02-24 Thread Ned Deily
Ned Deily added the comment: New changeset acd7163c0a0674b2fb6cc0178d52cf90c953fbae by Ned Deily in branch 'master': bpo-32931: fix macOS 10.9+ installer c++ compiler name (#5855) https://github.com/python/cpython/commit/acd7163c0a0674b2fb6cc0178d52cf90c953fbae --

[issue32931] Python 3.70b1 specifies non-existent compiler gcc++

2018-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +5631 ___ Python tracker ___

[issue32886] new Boolean ABC in numbers module

2018-02-24 Thread R. David Murray
Change by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue32931] Python 3.70b1 specifies non-existent compiler gcc++

2018-02-24 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +5630 stage: -> patch review ___ Python tracker ___

[issue32884] Adding the ability for getpass to print asterisks when passowrd is typed

2018-02-24 Thread R. David Murray
R. David Murray added the comment: getpass is emulating the unix password prompt behavior. I'm not sure if the complication is worth it, especially since not echoing asterisks is, as you observe, fractionally more secure. So I guess I'm about -.5 on this feature.

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: For msg312474 regarding replace vs re. Running the 20,000 copy version of the translated text (only translating once gives the following timings: copies: 2 translate time: 5.591020822525024 copies: 2 translate time:

[issue32932] better error message when __all__ contains non-str objects

2018-02-24 Thread Brett Cannon
Brett Cannon added the comment: Fixing the message makes sense. I assume this is happening in ceval.c or import.c since https://github.com/python/cpython/blob/42c35d9c0c8175332f50fbe034a001fe52f057b9/Lib/importlib/_bootstrap.py#L1021 has the appropriate message? --

[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2018-02-24 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou -ned.deily, ronaldoussoren ___ Python tracker ___

[issue32924] Python 3.7 docs in docs.p.o points to GitHub's master branch

2018-02-24 Thread Ned Deily
Ned Deily added the comment: It would be great if the URL in the template were constructed from the value of SOURCE_URI in Doc/tools/extensions/pyspecific.py. I was unaware that there was this additional URL reference in the template. -- nosy: +ned.deily resolution:

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: I wish I could delete my last message (and duplicate posting of the one before. On the last one, I didn't move my timings. I feel like an idiot. Anyway, there is a difference. ``` start = time.time() for i in range(100): _tran =

[issue32940] IDLE: pyparse - replace StringTranslatePseudoMapping with defaultdict

2018-02-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- title: IDLE: pyparse - replace StringTranslatePseudoMappingTest with defaultdict -> IDLE: pyparse - replace StringTranslatePseudoMapping with defaultdict ___ Python tracker

[issue32930] [help][webbrowser always opens new tab. I want to open in the same tab]

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: I'm going to close this as third party since it's browser and not Python related. -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: I also timed this for a `_tran` optimization (instead of looping and doing the `ord`), but it didn't really make a difference. ``` _tran = defaultdict(lambda: 'x') _tran.update({40: 40,# ord('(') 91: 40,# ord('[')

[issue32929] Change dataclasses hashing to use unsafe_hash boolean (default to False)

2018-02-24 Thread Eric V. Smith
Eric V. Smith added the comment: Note that this class (from the test suite) will now raise an exception: @dataclass(unsafe_hash=True) class C: i: int def __eq__(self, other): return self.i == other.i That's because it

[issue32940] IDLE: pyparse - replace StringTranslatePseudoMappingTest with defaultdict

2018-02-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5629 stage: -> patch review ___ Python tracker ___

[issue31966] [EASY C][Windows] print('hello\n', end='', flush=True) raises OSError when ran with py -u

2018-02-24 Thread miss-islington
miss-islington added the comment: New changeset 980790eee0c804061a49b8ad7373e4669b48f2ec by Miss Islington (bot) in branch '3.6': bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754)

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: For msg312444 on StringTranslatePseudoMapping: I ran a comparison of the current class vs defaultdict. This was my test: ``` with open('/home/cheryl/cpython/Lib/idlelib/pyparse.py') as fd: code = fd.read() copies = 2 code *= copies

[issue31966] [EASY C][Windows] print('hello\n', end='', flush=True) raises OSError when ran with py -u

2018-02-24 Thread miss-islington
miss-islington added the comment: New changeset e49bf0f353a968cddc4d8e6ea668b9d2d116e2ac by Miss Islington (bot) in branch '3.7': bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754)

[issue32940] IDLE: pyparse - replace StringTranslatePseudoMappingTest with defaultdict

2018-02-24 Thread Cheryl Sabella
New submission from Cheryl Sabella : Based on timing test on msg312733, StringTranslatePseudoMappingTest and a defaultdict have about the same performance, so this replaces the custom class with the stdlib functionality. -- assignee: terry.reedy components: IDLE

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: For msg312444 on StringTranslatePseudoMapping: I ran a comparison of the current class vs defaultdict. This was my test: ``` with open('/home/cheryl/cpython/Lib/idlelib/pyparse.py') as fd: code = fd.read() copies = 2 code *= copies

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-24 Thread William Pickard
William Pickard added the comment: The powershell module that interacts with the API works if I don't supply "-All", supplying said option produces the same issue that is plagues me when _findvs.findall() is used. -- ___

[issue31966] [EASY C][Windows] print('hello\n', end='', flush=True) raises OSError when ran with py -u

2018-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +5628 ___ Python tracker ___

[issue31966] [EASY C][Windows] print('hello\n', end='', flush=True) raises OSError when ran with py -u

2018-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +5627 ___ Python tracker ___

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-24 Thread Steve Dower
Steve Dower added the comment: If you think it should be working, go ahead and use the Report a Problem tool in VS to let the team know about the PowerShell module. There might be a case that isn't handled properly in their code that they can fix (obviously they don't

[issue31966] [EASY C][Windows] print('hello\n', end='', flush=True) raises OSError when ran with py -u

2018-02-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 42c35d9c0c8175332f50fbe034a001fe52f057b9 by Serhiy Storchaka in branch 'master': bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754)

[issue32929] Change dataclasses hashing to use unsafe_hash boolean (default to False)

2018-02-24 Thread Guido van Rossum
Guido van Rossum added the comment: It is important to convey the idea that if you are thinking of using this you are probably doing something fishy. An alternative could be `_hash`, which at least indicates it is not for general use, like `sys._getframe()`. --

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-24 Thread William Pickard
William Pickard added the comment: Looks like something wierd about my computer as the powershell module that interacts with the API also has the issue with Windows reporting "File not found" for a 2nd instance (maybe Community edition of VS) -- resolution: ->

[issue32939] IDLE: self.use_context_ps1 defined in editor, but always False

2018-02-24 Thread Cheryl Sabella
New submission from Cheryl Sabella : In the EditorWindow in editor.py, there is an attribute called `self.context_use_ps1` that is only set to False. Changed to an instance variable in: https://github.com/python/cpython/commit/6af44986029c84c4c5df62a64c60a6ed978a3693

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: New issue: find_good_parse_start() call in editor.py has the wrong signature. There's actually a few things going on here. Here's the section in editor: ``` if not self.context_use_ps1: for context in

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: Don't worry, it happens automatically when somebody replies to a pending ticket w/o closing it explicitly. I need to backport the patch manually. -- resolution: fixed -> stage: resolved -> needs patch status: pending -> open

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: I also fixed an issue for Brandon's backport, https://bitbucket.org/brandon/backports.ssl_match_hostname/issues/12/update-to-implementation-from-37 -- ___ Python tracker

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread Alex Gaynor
Alex Gaynor added the comment: (Didn't mean to update status) -- status: open -> pending ___ Python tracker ___

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread Alex Gaynor
Alex Gaynor added the comment: Can confirm, no browsers do partial (or multiple) wildcards and the CABF rules don't allow public CAs to issue them. -- status: pending -> open ___ Python tracker

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: master and 3.7 are fixed. Should I backport the issue to 2.7 and 3.6, too? It changes behavior slightly because it drops support for partial wildcards. RFC 6125 consider it an optional feature. AFAIK browsers don't match them either.

[issue32146] multiprocessing freeze_support needed outside win32

2018-02-24 Thread bbayles
Change by bbayles : -- pull_requests: +5626 ___ Python tracker ___ ___ Python-bugs-list

[issue32930] [help][webbrowser always opens new tab. I want to open in the same tab]

2018-02-24 Thread TitanSnow
TitanSnow added the comment: Yes, I think so. Maybe, in a web application, to achieve this, the way is to use a GUI library then use its web view widget. -- ___ Python tracker

[issue32938] webbrowser: Add options for private mode

2018-02-24 Thread Cheryl Sabella
New submission from Cheryl Sabella : When looking at the command line option page for Mozilla (https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options), I noticed options for opening a private mode window (-private-window or -private-window URL). Chrome

[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2018-02-24 Thread Eric Gorr
New submission from Eric Gorr : I have the following code: import multiprocessing from multiprocessing import Pool, Manager import time import random def worker_function( index, messages ): print( "%d: Entered" % index ) time.sleep(

[issue32930] [help][webbrowser always opens new tab. I want to open in the same tab]

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: TitanSnow, You're right, sorry about the confusion. But, nevertheless, this does seem to be something that the browsers don't have available as an option. Here's the Mozilla command line option page:

[issue32912] Raise non-silent warning for invalid escape sequences

2018-02-24 Thread Emanuel Barry
Change by Emanuel Barry : -- keywords: +patch pull_requests: +5625 stage: needs patch -> patch review ___ Python tracker ___

[issue32932] better error message when __all__ contains non-str objects

2018-02-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added import experts since this issue can be not so trivial as looked at first glance. -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: New changeset 46632f4d3c1f3aef875d2ada750a298ab0510992 by Christian Heimes (Miss Islington (bot)) in branch '3.7': [3.7] bpo-32819: Simplify and improve ssl.match_hostname (GH-5620) (#5847)

[issue32930] [help][webbrowser always opens new tab. I want to open in the same tab]

2018-02-24 Thread TitanSnow
TitanSnow added the comment: Hi Cheryl, I think you may misunderstand. What it means is to open URL in the *same tab*, not *same window*, which is not described in documentation. Hi Tommy, It’s hard to say what is “the same tab”. Is it the current tab or the tab opened

[issue32888] Improve exception message in ast.literal_eval

2018-02-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: - ___ Python tracker ___

[issue32932] better error message when __all__ contains non-str objects

2018-02-24 Thread Xiang Zhang
Change by Xiang Zhang : -- keywords: +patch pull_requests: +5624 stage: needs patch -> patch review ___ Python tracker ___

[issue32930] [help][webbrowser always opens new tab. I want to open in the same tab]

2018-02-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Tommy, The documentation states "If new is 0, the url is opened in the same browser window if possible." It seems to be browser dependent, hence the 'if possible' caveat. What operating system and browser are you using? --

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +5623 ___ Python tracker ___

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread Christian Heimes
Christian Heimes added the comment: New changeset aef1283ba428e33397d87cee3c54a5110861552d by Christian Heimes in branch 'master': bpo-32819: Simplify and improve ssl.match_hostname (#5620) https://github.com/python/cpython/commit/aef1283ba428e33397d87cee3c54a5110861552d

  1   2   >