[issue31869] commentary on ssl.PROTOCOL_TLS

2018-03-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: This was changed for 3.7 and 3.6 in PR1355, but there's no corresponding bpo number for that. Should the relevant changes be backported to 2.7? -- nosy: +csabella ___ Python tracker <https://bugs.py

[issue15088] PyGen_NeedsFinalizing is public, but undocumented

2018-03-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: What should be done for the PyGen_NeedsFinalizing API? Does it need to be documented or should it be removed since it's no longer used in the code base? Thanks! -- nosy: +csabella versions: +Python 3.7, Python 3.8 -Python 3.2, Pytho

[issue23388] datetime.strftime('%s') does not take timezone into account

2018-03-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> add cross-platform support for %s strftime-format code ___ Python tracker <https://bugs.python

[issue27212] Doc for itertools, 'islice()' implementation have unwanted behavior for recipe 'consume()'

2018-03-22 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5942 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue27212> ___ ___ Py

[issue27212] Doc for itertools, 'islice()' implementation have unwanted behavior for recipe 'consume()'

2018-03-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks, Raymond. I'll take a look. -- ___ Python tracker <https://bugs.python.org/issue27212> ___ ___ Python-bugs-list m

[issue32234] Add context management to mailbox.Mailbox

2018-03-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: It looks like Barry was ready to merge this PR in December. Is there anything else that needs to be done for it? Thanks! -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue32

[issue28247] Add an option to zipapp to produce a Windows executable

2018-03-21 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue27212] Doc for itertools, 'islice()' implementation have unwanted behavior for recipe 'consume()'

2018-03-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Nofar, Are you still interested in working on this issue? Thanks! -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue27

[issue28247] Add an option to zipapp to produce a Windows executable

2018-03-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Paul, Thanks for your response. I've made the pull request from your patch, so it would great if you could review it. Thanks! -- ___ Python tracker <https://bugs.python.org/is

[issue28247] Add an option to zipapp to produce a Windows executable

2018-03-20 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +5915 ___ Python tracker <https://bugs.python.org/issue28247> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28247] Add an option to zipapp to produce a Windows executable

2018-03-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Paul, Were you interested in moving forward with this doc change? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue28

[issue25433] whitespace in strip()/lstrip()/rstrip()

2018-03-19 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue25433> ___ ___ Python-bug

[issue25410] Clean up and fix OrderedDict

2018-03-16 Thread Cheryl Sabella
Cheryl Sabella added the comment: Is this issue still relevant? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue25410> ___ ___ Python-bug

[issue21611] int() docstring - unclear what number is

2018-03-16 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Documentation for int constructor mentions __int__ but not __trunc__ ___ Python tracker <https://bugs.python

[issue25735] math.factorial doc should mention integer return type

2018-03-15 Thread Cheryl Sabella
Cheryl Sabella added the comment: Sounds good. Thanks, Mark. @mine0901, would you like to open a Github pull request for your patch? Thanks! -- ___ Python tracker <https://bugs.python.org/issue25

[issue25735] math.factorial doc should mention integer return type

2018-03-15 Thread Cheryl Sabella
Cheryl Sabella added the comment: Should the documentation patch for this be converted to a PR or does this need to change to a bug issue to address Mark's concerns? Thanks! -- nosy: +csabella stage: -> needs patch versions: +Python 3.7, Python 3.8 -Py

[issue21611] int() docstring - unclear what number is

2018-03-15 Thread Cheryl Sabella
Cheryl Sabella added the comment: Is this superseded by issue 26701? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue21611> ___ ___ Python-bug

[issue27657] urlparse fails if the path is numeric

2018-03-15 Thread Cheryl Sabella
Change by Cheryl Sabella : -- stage: -> patch review versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issu

[issue28677] difficult to parse sentence structure in "When an instance attribute is referenced that isn't a data attribute"

2018-03-15 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy stage: -> needs patch versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issu

[issue27984] singledispatch register should typecheck its argument

2018-03-15 Thread Cheryl Sabella
Cheryl Sabella added the comment: Łukasz, Sorry about that. Since Xiang is a core developer, I thought he would be in the position to make the decision about moving forward with the patch. I apologize for causing unnecessary work. -- ___ Python

[issue26450] make html fails on OSX

2018-03-14 Thread Cheryl Sabella
Cheryl Sabella added the comment: With the new instructions for building the docs via `make venv` and then `make html`, I believe this issue can be closed. -- nosy: +csabella resolution: not a bug -> out of date stage: -> resolved status: open -&g

[issue28612] str.translate needs a mapping example

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: IDLE just added similar functionality to pyparse (issue 32940) using: class ParseMap(dict): def __missing__(self, key): return 120 # ord('x') # Map all ascii to 120 to avoid __missing__ call, then replace some.

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

2018-03-13 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issue27

[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Tomas, Would you be willing to make a Github pull request with your patch? Thanks. -- nosy: +csabella stage: commit review -> needs patch versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker <

[issue32987] tokenize.py parses unicode identifiers incorrectly

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe this may be a duplicate of issue 12486. -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue32

[issue27984] singledispatch register should typecheck its argument

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: @xiang.zhang, would you be able to make a PR for your patch? Thanks! -- nosy: +csabella stage: -> patch review versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.pyth

[issue23599] single and double quotes stripped upon paste with MacPorts libedit

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Ned, Do you think this issue still needs follow up? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue23

[issue20917] Idle: Enhance font change notification system

2018-03-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- dependencies: +IDLE: Add docstrings and tests for codecontext versions: +Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue20

[issue29719] "Date" of what's new is confusing

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe this can be closed as 'fixed'? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue29719> ___ __

[issue24518] json.dumps should accept key function for ``sort_keys``

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: As there was interest in this patch, @catherinedevlin would you be able to make a Github pull request for it? Thanks! -- nosy: +csabella stage: -> needs patch versions: +Python 3.8 -Python 3.6 ___ Python trac

[issue32085] [Security] A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages!

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: Since issue 32185 has been patched, should this one be revisited to see if that solution helped fixed this one? -- nosy: +christian.heimes, csabella ___ Python tracker <https://bugs.python.org/issue32

[issue21018] [patch] added missing documentation about escaping characters for configparser

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: @Arun.Persaud, would you be interested in converting your patch to a Github pull request? -- nosy: +csabella versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue21

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: Too bad we couldn't do: iskeyword = frozenset(kwlist).__contains__ iskeyword.__doc__ = 'Test whether a string is a reserved identifier.' But I'm sure there are reasons for this: AttributeError: attribute '__doc__' of 'bui

[issue18802] ipaddress documentation errors

2018-03-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've made a PR for Berker's patch. -- ___ Python tracker <https://bugs.python.org/issue18802> ___ ___ Python-bugs-l

[issue18802] ipaddress documentation errors

2018-03-11 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +5844 ___ Python tracker <https://bugs.python.org/issue18802> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33051] IDLE: Create new tab for editor options in configdialog

2018-03-11 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5843 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33051> ___ ___ Py

[issue33051] IDLE: Create new tab for editor options in configdialog

2018-03-11 Thread Cheryl Sabella
New submission from Cheryl Sabella : Split out editor options from general tab in Config Dialog. -- assignee: terry.reedy components: IDLE messages: 313618 nosy: csabella, terry.reedy priority: normal severity: normal status: open title: IDLE: Create new tab for editor options in

[issue4173] PDF documentation: long verbatim lines are cut off at right hand side

2018-03-06 Thread Cheryl Sabella
Cheryl Sabella added the comment: I just tested the PDF on the current version of the docs and this is no longer an issue. The original example given wraps correctly on the PDF output. -- nosy: +csabella resolution: -> works for me stage: -> resolved status: open -&g

[issue33013] Underscore in str.format with x option

2018-03-06 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks guys. I really thought I tried '{0:_x}'.format(123456789), but I guess I hadn't. Good to know that using format(123456879, '_x) is better. -- ___ Python tracker <https://bug

[issue20150] API change in string formatting with :s option should be documented in What's New.

2018-03-06 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe this has been added to the 3.4 What's New already: object.__format__() no longer accepts non-empty format strings, it now raises a TypeError instead. Using a non-empty string has been deprecated since Python 3.2. This change has been ma

[issue33013] Underscore in str.format with x option

2018-03-06 Thread Cheryl Sabella
New submission from Cheryl Sabella : >From the doc >(https://docs.python.org/3/library/string.html#format-specification-mini-language): > The '_' option signals the use of an underscore for a thousands separator for > floating point presentation types and for intege

[issue32984] IDLE: set and unset __file__ for startup files

2018-03-05 Thread Cheryl Sabella
Cheryl Sabella added the comment: The change works on Linux with the patch (and gave a NameError without the patch). I left a note on the PR for a possible SyntaxError. I didn't have authority to push the blurb markup change to your branch, so I copied it into a comment. If you click

[issue32989] IDLE: Fix pyparse.find_good_parse_start and its bad editor call

2018-03-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: > In the meanwhile, to get some idea of how well find_good_parse_start finds > good parse starts, I restarted IDLE in a console with the print still added, > loaded editor.py, and hit RETURN followed by UNDO, in various places. The > first non-z

[issue25197] Allow documentation switcher to change url to /3/ and /dev/

2018-03-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: With the current dropdown for the documentation switcher (it has dev, prerelease, and stable options) and the addition of the language switcher, I believe this issue may be out of date. Can it be closed? Thanks! -- nosy: +csabella

[issue30147] Change in re.escape output is not documented in whatsnew

2018-03-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5744 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue14266] pyunit script as shorthand for python -m unittest

2018-03-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: Is there still interest in this? Should it be converted to a PR for 3.8? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue14

[issue30974] Update os.samefile docstring to match documentation

2018-03-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy stage: -> needs patch versions: +Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.org/issu

[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2018-03-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: @akuchling Would you be able to make a PR for this patch? Thanks. -- nosy: +csabella versions: +Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue28

[issue32839] Add after_info as a function to tkinter

2018-03-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: A few questions about returning the Python function name (specifically, how to derive it). This doesn't address the open issue with what to do about a Tcl command not tied to a Python function. 1. Serhiy wrote "and the API for restoring the origi

[issue32839] Add after_info as a function to tkinter

2018-03-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- dependencies: +tkinter after_cancel does not behave correctly when called with id=None ___ Python tracker <https://bugs.python.org/issue32

[issue28955] Not matched behavior of numeric comparison with the documentation

2018-03-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy stage: -> needs patch type: behavior -> enhancement versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/i

[issue32989] IDLE: Incorrect signature in call from editor to pyparse.find_good_parse_start

2018-03-03 Thread Cheryl Sabella
Cheryl Sabella added the comment: I didn't incorporate all the suggestions into the first PR for this so that it could focus on the parameter change and the tests. `newline_and_indent_event` does a lot, so I want to make sure the tests look good. I was also going to add tests for the

[issue32989] IDLE: Incorrect signature in call from editor to pyparse.find_good_parse_start

2018-03-03 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5734 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32989] IDLE: Incorrect signature in call from editor to pyparse.find_good_parse_start

2018-03-02 Thread Cheryl Sabella
New submission from Cheryl Sabella : >From msg312726 on issue32880. The call to find_good_parse_start: bod = y.find_good_parse_start(self.context_use_ps1, self._build_char_in_string_func(startatindex)) sends 3 parameters. And in pyparse.find_good_parse_st

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-03-02 Thread Cheryl Sabella
Change by Cheryl Sabella : -- dependencies: +IDLE: Incorrect signature in call from editor to pyparse.find_good_parse_start ___ Python tracker <https://bugs.python.org/issue32

[issue10507] Check well-formedness of reST markup within "make patchcheck"

2018-03-01 Thread Cheryl Sabella
Cheryl Sabella added the comment: Since `blurb` says to write a simple ReST paragraph and that is code reviewed with the PR, is this issue still needed? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue10

[issue18855] Inconsistent README filenames

2018-03-01 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue18855> ___ ___ Python-bugs-list mailing list Unsub

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2018-02-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: It looks like this patch was close to being approved. Ron, would you be able to open a Github pull request for your patch? Thanks! -- nosy: +csabella versions: +Python 3.8 -Python 3.4 ___ Python tracker <ht

[issue29237] Create enum for pstats sorting options

2018-02-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: Can this one be closed since it was an enhancement and doesn't need to be backported? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/is

[issue5840] "Thread State and the Global Interpreter Lock" section of the docs doesn't cover TLS APIs

2018-02-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe this issue is superseded by PEP539 and issue25658? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue5

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2018-02-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy type: -> enhancement versions: +Python 3.7, Python 3.8 -Python 3.2, Python 3.3 ___ Python tracker <https://bugs.python.org/issu

[issue25059] Mistake in input-output tutorial regarding print() seperator

2018-02-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +5669 ___ Python tracker <https://bugs.python.org/issue25059> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: Looking at the creation of the instances of pyparse.PyParse() and hyperparser.HyperParser(), I was a little surprised that they (the instances) are local variables to the methods and aren't instance variables. Since they are called fairly often, wouldn

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2018-02-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: >From the examples in msg220401, issue28385 changed it to print the object type >in the message. >>> format([], 'd') Traceback (most recent call last): File "", line 1, in TypeError: unsupported format string passed t

[issue25059] Mistake in input-output tutorial regarding print() seperator

2018-02-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5652 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue25059> ___ ___ Py

[issue25059] Mistake in input-output tutorial regarding print() seperator

2018-02-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: Created a PR based on the discussion and not the original patch. -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue25

[issue32940] IDLE: pyparse - simplify StringTranslatePseudoMapping

2018-02-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: A similar regular expression version was mentioned on issue21765 and I had run some tests on it yesterday to verify. On my system, it ran at a factor of 10x slower, so if the translate finished in 0.003, the regex took 0.03. This was consistent for me

[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 <https://bugs.python.org/issue32

[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 <https://bugs.python.org/issue4260> ___ ___ Python-bug

[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 <https://bugs.python.org/issue32940> ___ ___ Python-

[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 class, which wraps a

[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: 5.5614333152771 copies: 2

[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 = defaultdict(l

[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 <https://bugs.python.org/issu

[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 <https://bugs

[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(&

[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 <https://bugs.python.org/issue32940> ___ ___ Py

[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 for i i

[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 messages: 312734 nosy

[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 for i i

[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 Removed from pyshell in

[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 self.num_con

[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 also has an

[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: https://developer.mozilla.org/en-

[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? --

[issue17232] Improve -O docs

2018-02-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've made a PR and tried to integrate the changes from PEP 488. -- ___ Python tracker <https://bugs.python.org/is

[issue17232] Improve -O docs

2018-02-23 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +5616 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue17232> ___ ___ Python-

[issue32916] IDLE: change 'str' to 'code' in idlelib.pyparse.PyParse and users

2018-02-23 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5608 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32916] IDLE: change 'str' to 'code' in idlelib.pyparse.PyParse and users

2018-02-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: Yes, I agree. I'll start working on this one first. -- ___ Python tracker <https://bugs.python.org/issue32916> ___ ___

[issue32918] IDLE: make smart indent after comment line consistent

2018-02-22 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5602 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2018-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: Did PEP553 make this issue obsolete? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue9635> ___ ___ Pytho

[issue25170] 3.4.4, 3.4.5, 3.5.0, 3.5.1, 3.5.2 documentation archives missing

2018-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: It appears that all the docs from the issue title (and the subsequent releases) exist on https://www.python.org/ftp/python/doc/ now, except that the 3.5.0 ones are for alpha releases instead of the final. Larry mentioned that in msg271236. Not sure if

[issue30935] document the new behavior of get_event_loop() in Python 3.6

2018-02-22 Thread Cheryl Sabella
Change by Cheryl Sabella : -- stage: needs patch -> patch review type: -> enhancement ___ Python tracker <https://bugs.python.org/issue30935> ___ ___ Pyth

[issue26018] documentation of ZipFile file name encoding

2018-02-22 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue26018> ___ ___ Pytho

[issue19412] Add docs for test.support.requires_docstrings decorator

2018-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: I added `HAVE_DOCSTRINGS`,`MISSING_C_DOCSTRINGS`, `requires_docstring` to the test.support documentation under issue11015. Additional changes to those three have been made under issue32843, so I am closing this issue in favor of issue32843. Please comment

[issue18356] help(numpy) causes segfault on exit

2018-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: It appears that the suggested change from SO was implemented under issue23374 and issue23792. I cannot recreate this on Ubuntu 16.04, so closing as resolved. -- assignee: docs@python -> nosy: +csabella resolution: -> fixed stage: ->

[issue17232] Improve -O docs

2018-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: Should I make a pull request for Terry's last patch? -- nosy: +csabella ___ Python tracker <https://bugs.python.org/is

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: I'll give it a shot. :-) -- nosy: +csabella ___ Python tracker <https://bugs.python.org/issue32901> ___ ___ Python-bugs-l

[issue25427] Remove the pyvenv script in Python 3.8

2018-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: Ping since we're now on 3.8. :-) -- nosy: +csabella stage: -> needs patch type: -> enhancement versions: +Python 3.8 ___ Python tracker <https://bugs.python.

[issue26792] docstrings of runpy.run_{module,path} are rather sparse

2018-02-22 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy stage: -> needs patch type: -> enhancement versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/i

<    4   5   6   7   8   9   10   11   12   13   >