Cheryl Sabella added the comment:
Hello everyone,
I was interested in similar functionality for timeit and found this discussion.
I know it's too late for 3.7, but I was wondering if it would be worth putting
this on python-ideas or python-dev to try to get some consensus for a PEP
Change by Cheryl Sabella :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue32045>
___
___
Cheryl Sabella added the comment:
Based on Steve's last comment on this issue, should this be closed as 'Out of
Date'?
--
nosy: +csabella
___
Python tracker
<https://bugs.pyt
Cheryl Sabella added the comment:
Serhiy,
Did you want to revive this for 3.8?
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/issue29
Cheryl Sabella added the comment:
I believe Erik opened #20082 for the BufferedWriter bug, so I think this issue
can be closed as Resolved?
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/issue18
New submission from Cheryl Sabella :
On the lexical analysis doc page, in f-strings example, the following example
isn't quite right:
>>> f"{today:%b %d, %Y}" # using date format specifier
'January 27, 2017'
Submitting a patch shortly to use %B instead
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5290
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32735>
___
___
Py
Change by Cheryl Sabella :
--
keywords: +easy
stage: -> needs patch
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue27428>
___
___
Change by Cheryl Sabella :
--
keywords: +easy
___
Python tracker
<https://bugs.python.org/issue32720>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Cheryl Sabella :
--
keywords: +easy
stage: -> needs patch
type: -> enhancement
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/i
Cheryl Sabella added the comment:
It looks like this documentation patch was applied to master. Does it need to
be backported to 3.6 and 2.7 for the issue to be closed? Thanks!
--
nosy: +csabella
___
Python tracker
<https://bugs.python.
Change by Cheryl Sabella :
--
keywords: +easy
type: -> enhancement
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue30516>
___
___
Py
Change by Cheryl Sabella :
--
pull_requests: +5337
___
Python tracker
<https://bugs.python.org/issue16024>
___
___
Python-bugs-list mailing list
Unsubscribe:
Cheryl Sabella added the comment:
Larry,
I've made a pull request for your patch. It seemed like most of the original
text was still in place, so I thought you might still want these changes. You
had also made changes to the What's New, but I didn't include those changes.
Cheryl Sabella added the comment:
Does this just need to be cherry-picked to 2.7 to be able to close it?
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/issue30
Cheryl Sabella added the comment:
Hello,
I believe this could be closed as resolved? Do you think it should be added to
the What's New? page for 3.7?
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/is
Cheryl Sabella added the comment:
I wonder if this would make sense as a parameter to dataclass now.
--
nosy: +csabella
versions: +Python 3.8 -Python 3.5
___
Python tracker
<https://bugs.python.org/issue20
New submission from Cheryl Sabella :
The layout of the general tab changed with #27099, but the docstrings weren't
updated with the new widgets.
--
assignee: terry.reedy
components: IDLE
messages: 311606
nosy: csabella, terry.reedy
priority: normal
severity: normal
status: open
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5356
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32765>
___
___
Py
Cheryl Sabella added the comment:
This is still an issue. Since it's more than updating the release version, I
think someone more knowledgeable than me should fix it. I wouldn't want to
miss something that should be included.
--
versions: +
Cheryl Sabella added the comment:
That's interesting. I've always thought of Control+A to be 'select all'.
https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts
Do you think a new keybinding theme should be added for bash/emacs? I don't
know how well emacs wo
Change by Cheryl Sabella :
--
nosy: +pmoody
___
Python tracker
<https://bugs.python.org/issue30528>
___
___
Python-bugs-list mailing list
Unsubscribe:
Cheryl Sabella added the comment:
Hi Terry,
Could you put this one on your radar for review? Thanks!
--
___
Python tracker
<https://bugs.python.org/issue31
Change by Cheryl Sabella :
--
assignee: docs@python
components: Documentation
keywords: easy
nosy: csabella, docs@python
priority: normal
severity: normal
status: open
title: Add 'annotations' to the glossary
type: enhancement
versions:
Change by Cheryl Sabella :
--
keywords: +patch, patch
pull_requests: +5366, 5367
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/iss
Change by Cheryl Sabella :
--
dependencies: +IDLE: Add docstrings and tests for editor.py reload functions
___
Python tracker
<https://bugs.python.org/issue5
Cheryl Sabella added the comment:
I created a pull request for this ticket. I did not include any of the other
issues/tickets for using the command line information on restart or any of the
issues with running certain code.
I also added template code to be used in a new editor window. It
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5366
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/iss
Change by Cheryl Sabella :
--
keywords: +easy
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue31215>
___
___
Python-bugs-list mailin
Cheryl Sabella added the comment:
You know, I'm not sure if I had ever seen that example before. When you click
Counter at the top of the page, it goes right to the class definition, which is
past the example.
Having said that, I really like the example. Until now, I didn't re
Change by Cheryl Sabella :
--
stage: -> needs patch
___
Python tracker
<https://bugs.python.org/issue32769>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Cheryl Sabella :
--
pull_requests: +5420
___
Python tracker
<https://bugs.python.org/issue11015>
___
___
Python-bugs-list mailing list
Unsubscribe:
Cheryl Sabella added the comment:
I have created a pull request adding documentation for all of test.support,
including script_helper.py. I hope this will be helpful.
--
nosy: +csabella
versions: +Python 3.8
___
Python tracker
<ht
Change by Cheryl Sabella :
--
keywords: +easy
stage: -> needs patch
type: behavior -> enhancement
versions: +Python 3.8 -Python 2.7, Python 3.1, Python 3.2
___
Python tracker
<https://bugs.python.org/
Cheryl Sabella added the comment:
Thanks Nick for merging. Should I open a new PR to address Serhiy's review or
fix them on the original PR?
--
___
Python tracker
<https://bugs.python.org/is
New submission from Cheryl Sabella :
Add docstrings and tests for codecontext.py.
--
assignee: terry.reedy
components: IDLE
messages: 312046
nosy: csabella, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Add docstrings and tests for codecontext
type: enhancement
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5438
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32831>
___
___
Py
Cheryl Sabella added the comment:
Maybe a solution for this would be to change the name of the 'Format' menu to
something like 'Source'? Interestingly, the Format menu is available on
outwin, even though that is output-only, so I guess 'Source' would only make
Cheryl Sabella added the comment:
I've been able to run the IDLE test suite on Linux.
As far as this issue, there's also a readline in test_textview that you may
want to add the encoding to, even though it's only reading __file__.
--
___
New submission from Cheryl Sabella :
In tkinter, after_cancel has a call to after info:
data = self.tk.call('after', 'info', id)
Since this is a supported command, there should be a function to access it
directly.
https://www.tcl.tk/man/tcl8.6/TclCmd/after.htm
--
Cheryl Sabella added the comment:
I was working on the tests for issue32831. One of the methods was `__del__`
which made sure timer events were canceled with `after_cancel`. In the test,
to assert that the after events no longer existed after calling `__del__` and
after reading the Tcl
Cheryl Sabella added the comment:
Thanks, Nick.
When I first came across this issue, I thought that dataclasses would take care
of what you wrote below, but after looking at the original discussion on
python-dev, I thought the problem was ordering None within a comparison with
None being a
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5466
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32839>
___
___
Py
Cheryl Sabella added the comment:
I've made a pull request. I understand that you may not want to add this
functionality, but perhaps the docstring will answer your questions. I took it
from the Tcl docs page.
--
___
Python tracker
&
Cheryl Sabella added the comment:
Chandan or Berker,
Any interest in making a Github pull request for this patch?
--
nosy: +csabella
versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue21
Cheryl Sabella added the comment:
Jon/Berker,
Are you interested in making a Github pull request for this? Thanks!
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/issue18
Cheryl Sabella added the comment:
Since there hasn't been activity on this for nearly 2 years, should it be
closed as third party? Stefan seemed to conclude that it was a WindRiver
issue. Thanks!
--
nosy: +csabella
___
Python tracker
&
New submission from Cheryl Sabella :
Serhiy had made the following comments on the pull request for issue11015, but
that PR was merged before applying his requested changes. This issue is to
address his concerns.
TESTFN_NONASCII - How different from TESTFN_UNICODE?
PGO - value? True/False
Cheryl Sabella added the comment:
>>> It is internal, it was not exposed to Tkinter users before, and the API for
>>> restoring the original Python callable is private.
I thought `bind(sequence)` also returned these internal Tcl function names?
For example, if I
New submission from Cheryl Sabella :
This was discovered while working on issue32839. An old comment added for
issue763637 resulted in further research and it was determined that the comment:
! data = self.tk.call('after', 'info', id)
! # In Tk 8.
Cheryl Sabella added the comment:
I created issue32857 for the after_cancel issue. Thanks!
--
___
Python tracker
<https://bugs.python.org/issue32839>
___
___
Cheryl Sabella added the comment:
I can open a PR for this, but thought it might be best to discuss it first as
far as what should happen with None.
1. Raise an error that it's an incorrect call.
2. Ignore it and just return.
3. Loop through all the events and after_cancel each one.
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5490
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
New submission from Cheryl Sabella :
Add unit tests for pyparse.py in IDLE.
--
assignee: terry.reedy
components: IDLE
messages: 312352
nosy: csabella, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Add tests for pyparse
type: enhancement
versions: Python 3.7
Cheryl Sabella added the comment:
I also moved existing comments in pyparse.py to be docstrings.
Adding the tests revealed a bug in the initialization of
self.lastopenbracketpos, but I didn't make any changes to fix it. With the
bug, the tests weren't repeatable, so I modified th
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5533
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32874>
___
___
Py
Cheryl Sabella added the comment:
I had also noticed that the `after` commands didn't have tests. Did you want
me to add tests in a separate issue before this one is merged or did you want
me to add tests under this PR?
Thanks!
--
___
P
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5553
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32843>
___
___
Py
Change by Cheryl Sabella :
--
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32843>
___
___
Python-bugs-list mailing list
Unsubscrib
Cheryl Sabella added the comment:
I've made the changes requested. I wasn't sure about:
TESTFN_NONASCII - How different from TESTFN_UNICODE?
Should I move these out of test.support?:
missing_compiler_executable(cmd_names=[]) - It is used only in distutils tests
and sh
Cheryl Sabella added the comment:
Thanks for pointing out #21765 - very interesting reading. :-)
Would the new str.isascii() be helpful or would it be too early to use
something only available in 3.7? It would seem that and combinations of `if
isascii() and isidentifier()` might be
Cheryl Sabella added the comment:
Does this need to be backported to 3.7 and 3.6? Or can it be closed as
resolved?
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/issue32
Cheryl Sabella added the comment:
I started taking a look at this and discovered a few things. There are four
methods in the C module `_lsprof` that are within the Profiler class -
`enable`, `disable`, `getstats`, and `clear` and which are all available
through cProfile.Profile. These
Cheryl Sabella added the comment:
Christian,
Would you have any feedback on this? Thanks!
--
nosy: +christian.heimes, csabella
___
Python tracker
<https://bugs.python.org/issue32
Cheryl Sabella added the comment:
Without any additional information, should this be closed as 'Works for Me'?
--
nosy: +csabella
___
Python tracker
<https://bugs.python.o
Cheryl Sabella added the comment:
There was a lot of work put into this patch, but I don't think it's been
committed yet. Are any of the original authors interested in converting this
to a Github pull request on the master branch? Thanks!
--
nosy:
Cheryl Sabella added the comment:
Pull request:
https://github.com/python/peps/pull/577
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/issue23
Change by Cheryl Sabella :
--
resolution: -> works for me
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Cheryl Sabella added the comment:
I've added the tests for `after` and `after_idle`. I used `update` and
`update_idletasks` to make sure they processed. Even scheduling an after event
for 0 ms didn't guarantee it would process, but I wasn't sure if there was a
better way
Cheryl Sabella added the comment:
Terry,
In order to not duplicate effort, are you going to be working on these or is it
ok if I look at them? Should all the changes happen in one PR or do you want
to break them down?
Thanks!
--
___
Python
Cheryl Sabella added the comment:
Mariatta,
Do you think this one needs to be backported? You had originally added the
labels on the pull request, then removed them. I wasn't sure if that was
needed before being able to close this.
Thanks!
--
nosy: +Mar
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
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.
Cheryl Sabella added the comment:
I'll give it a shot. :-)
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/issue32901>
___
___
Python-bugs-l
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
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: ->
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
Change by Cheryl Sabella :
--
keywords: +easy
versions: +Python 3.7, Python 3.8 -Python 3.5
___
Python tracker
<https://bugs.python.org/issue26018>
___
___
Pytho
Change by Cheryl Sabella :
--
stage: needs patch -> patch review
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue30935>
___
___
Pyth
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
Cheryl Sabella added the comment:
Did PEP553 make this issue obsolete?
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/issue9635>
___
___
Pytho
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5602
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/issu
Cheryl Sabella added the comment:
Yes, I agree. I'll start working on this one first.
--
___
Python tracker
<https://bugs.python.org/issue32916>
___
___
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5608
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Cheryl Sabella :
--
pull_requests: +5616
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue17232>
___
___
Python-
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
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?
--
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-
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
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
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
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
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
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
Change by Cheryl Sabella :
--
keywords: +patch
pull_requests: +5629
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32940>
___
___
Py
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(&
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
Change by Cheryl Sabella :
--
title: IDLE: pyparse - replace StringTranslatePseudoMappingTest with
defaultdict -> IDLE: pyparse - replace StringTranslatePseudoMapping with
defaultdict
___
Python tracker
<https://bugs.python.org/issu
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
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
1001 - 1100 of 1350 matches
Mail list logo