Tal Einat added the comment:
> If you write to stdout by small chunks, it adds a large overhead to every
> write() call.
While I agree that there is great room for optimization in Squeezer's
interception of write(), it doesn't appear to have a noticeable effect in such
ca
Tal Einat added the comment:
> The squeezed text is impairing IDLE's usability for teaching purposes.
I sincerely hoped it would achieve the opposite! I'm happy to do any work
necessary to improve its usability in this context.
The auto-squeezing can be "disabled"
Tal Einat added the comment:
Is this supposed to work at all? Does multiprocessing support sharing resources
between processes forked outside of its own abstractions?
Reading the docs[1], calling os.fork() directly doesn't seem to be the way that
the multiprocessing module is supposed
Tal Einat added the comment:
Michael, please read more about comparisons[1] and the None object[2].
[1] https://docs.python.org/3/library/stdtypes.html#comparisons
[2] https://docs.python.org/3/library/stdtypes.html#the-null-object
--
___
Python
Tal Einat added the comment:
Terry, does Shift-Command-s trigger "Save" or "Save As" for you? If "Save As",
then surely this is something that can be worked out?
--
___
Python tracker
<h
Tal Einat added the comment:
Indeed Command-M has been in use for a while.
+1 for Shift-Command-o. I don't see it used in the default key config
(Lib/idlelib/config-keys.def).
We already use Shift-Command-s for "Save As...", so this would be a consistent
use of a Shift-C
Tal Einat added the comment:
I agree with Ned's analysis. The shortcut for macOS should be changed, or
simply removed if there's no good candidate for a shortcut.
Terry, what do you suggest?
--
___
Python tracker
<https://bu
Change by Tal Einat :
--
Removed message: https://bugs.python.org/msg329154
___
Python tracker
<https://bugs.python.org/issue34897>
___
___
Python-bugs-list m
Tal Einat added the comment:
`not cmd` will but true if cmd is None, so it is completely equivalent to `cmd
is None or not cmd`. This is a purely stylistic change which doesn't alter the
logic.
To get a clear understanding of what's going on, I recommend reading the short
&q
Tal Einat added the comment:
`not cmd` will be true if cmd is None, so it is completely equivalent to `cmd
is None or not cmd`. This is a purely stylistic change which doesn't alter the
logic.
To get a clear understanding of what's going on, I recommend reading the short
&q
Tal Einat added the comment:
> I think for starters we should document the behavior of strptime when no
> year, month or day are specified. As part of that documentation, we can add a
> footnote about Feb 29th.
This sounds good to me.
We could also improve the exception rais
Change by Tal Einat :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue34864>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Tal Einat :
--
versions: +Python 2.7, Python 3.6, Python 3.8
___
Python tracker
<https://bugs.python.org/issue34864>
___
___
Python-bugs-list mailin
Tal Einat added the comment:
I agree that mentioning that IDLE won't work 100% with that setting on is a
good idea. I also agree that at this point it's not worth the effort to do
anything more than that.
--
___
Python track
Tal Einat added the comment:
This is a great, easy, doc-only issue for a new contributor to handle.
--
keywords: +easy
nosy: +taleinat
versions: +Python 3.6, Python 3.7, Python 3.8 -Python 3.2, Python 3.3
___
Python tracker
<ht
New submission from Tal Einat :
On macOS, Command-M simultaneously minimizes the window and opens the "Open
Module..." dialog. This happens with a very confusing sequence of visual
effects (see attached animated gif).
This doesn't happen when activating either of the menu i
Tal Einat added the comment:
The search and replace dialogs are also broken by "Prefer tabs when opening
documents" being active: they as separate tabs rather than a dialog window.
--
___
Python tracker
<https://bugs.python.o
Tal Einat added the comment:
There is also a middle ground: Keep .write() as it is *and* have .dump()
preserve the order in which the parameters were supplied in the constructor.
They could both use a common *internal* method with a flag to select the
desired ordering
Tal Einat added the comment:
Shivank, indeed it seems you're now in the right direction.
A bit of clarification:
* The test shouldn't test _clone_node() directly, since that is an internal
function. Rather, the test code should be as near as possible to what a user
of the mini
Tal Einat added the comment:
Shivank, I recommend taking a look at some of the existing tests for this
module, found in Lib/test/test_minidom.py. See how they are built and how
various functionality is tested. This should give you a good idea of what a
test for this bug would look like
Tal Einat added the comment:
Looking at the code in Lib/xml/dom/minidom.py, this exact typo is also found in
DocumentType.cloneNode(). That should be tested and fixed too.
--
___
Python tracker
<https://bugs.python.org/issue35
Tal Einat added the comment:
Shivank, there is currently technically no "error to solve", since we have no
test that causes this erroneous behavior and catches it. We've only found what
appears to be a bug by looking at the code, but we need to *verify* that it is
indeed a
Tal Einat added the comment:
Thanks for reporting the issue and making the PRs, Andrés!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Tal Einat added the comment:
New changeset a6dc531063efe3a8d47ff4639729060c72a3688c by Tal Einat (Andrés
Delfino) in branch 'master':
bpo-34789: make xml.sax.make_parser accept iterables of all types (GH-9576)
https://github.com/python/cpython/commit/a6dc531063efe3a8d47ff463972906
Tal Einat added the comment:
I'm not sure that the resolution currently suggested, changing
compiler.set_executables(), is the right way to go.
This change to distutils is a break of backwards compatibility. Though it is a
minor change, it could still break existing code.
F
Tal Einat added the comment:
New changeset 1487b651caa62647f8f8c9e8432e475e3566130c by Tal Einat (Andrés
Delfino) in branch '3.7':
[3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence
(GH-9542)
https://github.com/python/cpyt
Change by Tal Einat :
--
versions: -Python 2.7
___
Python tracker
<https://bugs.python.org/issue33899>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
Shivank, your last comment is unclear. Are you asking a question or just
reporting some progress?
--
___
Python tracker
<https://bugs.python.org/issue35
Tal Einat added the comment:
Thanks for the clarification, Raymond.
I've spent a few minutes searching for uses of dump(), and have only come up
with uses for debugging or printing helpful info in command line tools. So, it
seems that changing this as suggested wouldn't break muc
Tal Einat added the comment:
The test code should fail with the current, unfixed code, due to the bug
described here. You will need to:
1. figure out which conditions will trigger the wrong behavior
2. set up a scenario where you can detect whether the behavior is correct
3. code this as a
Tal Einat added the comment:
This doesn't strike me as a bug, or even clearly being a potential improvement.
If this about round-trip parsing/serializing not preserving order, that would
be significant. As it is, if this is only intended as a debugging tool, why
change it?
Is th
Change by Tal Einat :
--
nosy: +taleinat
___
Python tracker
<https://bugs.python.org/issue34187>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
Thanks for helping with the fallout from this, Gregory.
--
___
Python tracker
<https://bugs.python.org/issue33899>
___
___
Pytho
Change by Tal Einat :
--
pull_requests: +9409
___
Python tracker
<https://bugs.python.org/issue33899>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Tal Einat :
--
pull_requests: +9408
___
Python tracker
<https://bugs.python.org/issue33899>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
See PR GH-10073 adding mention in "What's New".
--
___
Python tracker
<https://bugs.python.org/issue33899>
___
___
Change by Tal Einat :
--
pull_requests: +9407
___
Python tracker
<https://bugs.python.org/issue33899>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
See PR GH-10072 for reverting in 2.7.
--
___
Python tracker
<https://bugs.python.org/issue33899>
___
___
Python-bugs-list mailin
Change by Tal Einat :
--
pull_requests: +9406
___
Python tracker
<https://bugs.python.org/issue33899>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Tal Einat :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Tal Einat added the comment:
Thanks for the PR, Alexey!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.6
___
Python tracker
<https://bugs.python.or
Tal Einat added the comment:
Ned, should this also be added to the 2.7 What's New? Or perhaps reverted on
the 2.7 branch?
--
___
Python tracker
<https://bugs.python.org/is
Tal Einat added the comment:
New changeset 3b0047d8e982b10b34ab05fd207b7d513cc1188a by Tal Einat (Alexey
Izbyshev) in branch 'master':
bpo-34482: test datetime classes' handling of non-UTF-8-encodable strings
(GH-8878)
https://github.com/python
Tal Einat added the comment:
New changeset 2447773573e74819e163f8963ab107bc5db123e5 by Tal Einat in branch
'master':
bpo-29843: raise AttributeError if given negative _length_ (GH-10029)
https://github.com/python/cpython/commit/2447773573e74819e163f8963ab107
Tal Einat added the comment:
Thanks for all of your work on this Oren!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Tal Einat added the comment:
I'm sorry to have caused this mess, it was bad judgement on my part.
Adding mention in What's is a good idea, Ned, I'll do that.
--
___
Python tracker
<https://bugs.pyt
Tal Einat added the comment:
This was backported since it was considered a bug, but you are right that it
broke backwards compatibility, and perhaps shouldn't have been backported.
Still, with 3.6.6 and 3.7.1 now released, that ship has sailed.
We could perhaps revert this on the 2.7 b
Change by Tal Einat :
--
pull_requests: +9368
___
Python tracker
<https://bugs.python.org/issue29843>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
Should this be back-ported to 3.7 and 3.6? 2.7?
--
nosy: +taleinat
___
Python tracker
<https://bugs.python.org/issue29843>
___
___
Change by Tal Einat :
--
pull_requests: +9367
___
Python tracker
<https://bugs.python.org/issue29743>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
Just tested on a 13" Retina MacBook Pro (2560x1600), everything looks fine.
--
nosy: +taleinat
___
Python tracker
<https://bugs.python.org/is
Tal Einat added the comment:
I agree with Gus, such new wording would be great. Gus, would you like to make
a PR?
I'd split the comparison into a second paragraph, and avoid the word "better",
instead using something like "but datetime.strptime() also retains both
micro
Tal Einat added the comment:
As a side-effect, test_ssl hanging is causing builds configured with
--enable-optimizations to hang.
(Tested with both 3.6.6 and 3.7.0 on Ubuntu 18.04 in WSL on Win 10 Pro 64-bit)
--
nosy: +taleinat
___
Python tracker
Tal Einat added the comment:
Thanks for giving it a try, Cheryl, I'm glad you like it!
--
___
Python tracker
<https://bugs.python.org/issue34976>
___
___
Tal Einat added the comment:
Proposing removal of SAX2DOM doesn't seem unreasonable to me. However,
considering it hasn't been removed so far, we'll need good reason to do so
since that would break backwards compatibility.
Jonathan, if the solution to this is simple, I sa
Tal Einat added the comment:
See additional research and discussion in the comments of PR GH-9715.
Simply changing this to return a string rather than bytes would break backwards
compatibility.
I certainly agree that this should have returned a string in the first place,
especially since
Tal Einat added the comment:
Ping? Do we want to get this in for 3.7.1 and 3.6.7?
--
nosy: +taleinat
___
Python tracker
<https://bugs.python.org/issue33
Tal Einat added the comment:
See PR GH-9855 for a working implementation based on my old "SearchBar"
extension.
--
___
Python tracker
<https://bugs.python.o
Change by Tal Einat :
--
keywords: +patch
pull_requests: +9224
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue34976>
___
_
New submission from Tal Einat :
Search dialogs are clunky and arguably outdated. Most modern editors, IDEs and
browsers use a search bar instead.
I created a search bar for IDLE as an extension years ago, it can be found on
PyPI as "SearchBar". I hadn't updated it in rece
Tal Einat added the comment:
This was fixed in PR GH-8039.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Tal Einat :
--
pull_requests: +9198
___
Python tracker
<https://bugs.python.org/issue34203>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
New changeset 4505f65ae7807f2420ed14d4f060e7cd5c4039d3 by Tal Einat (Gus
Goulart) in branch 'master':
bpo-34203: FAQ now recommends python 3.x over 2.x (GH-9796)
https://github.com/python/cpython/commit/4505f65ae7807f2420ed14d4f060e7
Tal Einat added the comment:
At least with Python 3.7.0, the equivalence is not complete:
datetime.strptime() is better, since it retains both microseconds and timezone
data. See examples below.
>>> from datetime import datetime, timezone
>>> import time
>>
Change by Tal Einat :
--
pull_requests: +9185
___
Python tracker
<https://bugs.python.org/issue21880>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
See PR9802.
--
___
Python tracker
<https://bugs.python.org/issue21880>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
Update: I've nearly got an updated version ready and working based on the
current master branch. I hope to have a PR up by tomorrow.
--
___
Python tracker
<https://bugs.python.org/is
Tal Einat added the comment:
> Having said that, I am refactoring the tests right now since the test file is
> ~3000 lines and adding SafeTarFile tests for every TarFile test is cluttering
> it.
This must be done without adding much test code and with minimal changes to the
exist
Tal Einat added the comment:
I'll get this up on a git branch so that we can continue hacking on it.
--
___
Python tracker
<https://bugs.python.org/is
Tal Einat added the comment:
Can someone clarify whether Modules/overlapped.c should be converted to use AC?
--
___
Python tracker
<https://bugs.python.org/issue20
Tal Einat added the comment:
It's unfortunate that this has gone dormant for so long. Is anyone interested
in picking this up? I'd be happy to provide guidance and feedback.
--
nosy: +taleinat
___
Python tracker
<https://bu
Tal Einat added the comment:
Confirmed on macOS High Sierra 10.13.6, with "Prefer tabs when opening
documents" set to "Always".
See attached screenshot with the macOS tabs; indeed the bottom bar is missing.
--
Added file: https://bugs.python.org/fil
Tal Einat added the comment:
Vlad, you previously mentioned that with Tcl/Tk 8.6.8 you also didn't see this
issue. Have you tried building Tcl/Tk 8.6.8 yourself? When I did so everything
worked fine.
--
___
Python tracker
&
Tal Einat added the comment:
I couldn't reproduce this issue with any of the 3.7.1rc1 and 3.6.7rc1
installers from python.org on my macOS.
This certainly seems like an issue with Tcl/Tk versions before 8.6.8.
It is unfortunate that ActiveState have still not released ActiveTcl 8.6.8
Tal Einat added the comment:
I agree Martin, I hadn't noticed that the docs don't otherwise mention the
default behavior WRT timeout.
I've added a description as per your suggestion to the PR.
--
___
Python tracker
<https
Tal Einat added the comment:
Thanks, Mark!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Tal Einat :
--
versions: +Python 2.7, Python 3.5
___
Python tracker
<https://bugs.python.org/issue34512>
___
___
Python-bugs-list mailing list
Unsub
Tal Einat added the comment:
New changeset f55c64c632af438d0daa043acdd95a5e74f31441 by Tal Einat in branch
'master':
bpo-31425: fix versionadded in docs and add attribution in NEWS (GH-9595)
https://github.com/python/cpython/commit/f55c64c632af438d0daa043acdd95a
Change by Tal Einat :
--
pull_requests: +8993
___
Python tracker
<https://bugs.python.org/issue31425>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Tal Einat :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.8 -Python 3.7
___
Python tracker
<https://bugs.python.or
Tal Einat added the comment:
New changeset bb8165172ac2ef8c7092e8e82928cc7f5f310ab3 by Tal Einat (Bjorn
Andersson) in branch 'master':
bpo-31425: Expose AF_QIPCRTR in socket module (GH-3706)
https://github.com/python/cpython/commit/bb8165172ac2ef8c7092e8e82928cc7f5f310ab3
-
Tal Einat added the comment:
shashank, you're making good progress on this!
The tests should also put SafeTarFile through all of the tests for TarFile,
considering that it is being described as a drop-in replacement. You should
look through the existing tests for other modules whi
Tal Einat added the comment:
ISTM that this issue can finally be closed!
Followup on some remaining minor points brought up here, such as colors and
squeezing of multiple output lines printed separately, could be done in
separate issues or discussed on idle-dev
Change by Tal Einat :
--
keywords: +patch
pull_requests: +8965
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34736>
___
___
Python-
Tal Einat added the comment:
New changeset 604e7b9931f9e7881a2941816e538f5f15930db8 by Tal Einat in branch
'master':
bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)
https://github.com/python/cpython/commit/604e7b9931f9e7881a2941816e538f
Tal Einat added the comment:
This seems like it would need a "What's New" entry.
How does this work with IDLE re. new features being backported?
--
___
Python tracker
<https://bugs.pytho
Tal Einat added the comment:
Working on getting this in now. Just in time, it seems.
--
___
Python tracker
<https://bugs.python.org/issue1529353>
___
___
Pytho
Tal Einat added the comment:
Thanks for the review, discussion and approval, Cheryl and Terry!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Tal Einat :
--
pull_requests: +8908
___
Python tracker
<https://bugs.python.org/issue27117>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
> I think what I _really_ want as a user is for b64decode to reject strings
> containing...
Do you mean you'd like to have this behavior by default? One can already use
validate=True to have invalid characters cause an exception. I too find it
sur
Change by Tal Einat :
--
title: Importing the certain modules while debugging raises an exception ->
Importing certain modules while debugging raises an exception
___
Python tracker
<https://bugs.python.org/issu
Change by Tal Einat :
--
title: Idle Unitest -> Importing the certain modules while debugging raises an
exception
___
Python tracker
<https://bugs.python.org/issu
Change by Tal Einat :
--
keywords: +patch
pull_requests: +8906
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34369>
___
___
Python-
Tal Einat added the comment:
The PR is ready for another review.
ISTM it should be good to go, after have addressing all of the significant
issues brought up in the discussion here.
--
___
Python tracker
<https://bugs.python.org/issue1529
Change by Tal Einat :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Tal Einat :
--
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue34609>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Tal Einat :
--
nosy: +ned.deily
___
Python tracker
<https://bugs.python.org/issue34736>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tal Einat added the comment:
Perhaps something such as "number of base64 data characters cannot be 1 more
than a multiple of 4"?
--
___
Python tracker
<https://bugs.python.o
Tal Einat added the comment:
I welcome suggestions for improvement!
We could either find a better error message covering all cases, or emit a more
specific message when non-base64 characters have been skipped.
Unfortunately, skipping non-base64 characters is a basic assumption of
Tal Einat added the comment:
I am not a lawyer, but to the best of my understanding, using such tarballs
would be fine. Since Jakub's repo only provides code to generate archive files
but doesn't include actual archive files, and the generation code is licensed
via the MIT licen
701 - 800 of 1452 matches
Mail list logo