Terry J. Reedy added the comment:
This looks like it should be an easy for for someone who understands tcl.call
syntax. When we add ttk to Idle, I do not expect to use element_create, but
maybe someone will want to to create a custom theme.
--
nosy: +markroseman -gpolo
versions:
Gustavo J. A. M. Carneiro added the comment:
I don't think the order for multiple concurrent getters matters that much.
With analogy with the threading case, if multiple threads are blocked get()ing
an item from the same queue, I would not presume to expect anything about the
ordering which
Roundup Robot added the comment:
New changeset f5069e6e4229 by Robert Collins in branch '3.4':
Issue #4395: Better testing and documentation of binary operators.
https://hg.python.org/cpython/rev/f5069e6e4229
New changeset b9a0165a3de8 by Robert Collins in branch '3.5':
Issue #4395: Better
Terry J. Reedy added the comment:
Andrew, is this still a problem with current Unity? Or with updated version of
tk 8.5, or any version of 8.6?
Should we downgrade this from 'critical'? After 3 years, it seems not to be
;-).
--
nosy: +terry.reedy
Guido van Rossum added the comment:
Honestly, I've lost track of the queue design. Maybe the push-back on
cancellation is just wrong? After all, if a coroutine has received an item,
it's out of the queue, even if it gets cancelled before it can do anything
with the item.
On Thu, Aug 6, 2015 at
Guido van Rossum added the comment:
Honestly, I've lost track of the queue design. Maybe the push-back on
cancellation is just wrong? After all, if a coroutine has received an item,
it's out of the queue, even if it gets cancelled before it can do anything with
the item.
--
Yury Selivanov added the comment:
Honestly, I've lost track of the queue design. Maybe the push-back on
cancellation is just wrong? After all, if a coroutine has received an item,
it's out of the queue, even if it gets cancelled before it can do anything
with the item.
I think the
Terry J. Reedy added the comment:
Serhiy, have your patches on other issues make this one obsolete, or partially
so?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4343
___
Eric Snow added the comment:
That's good to know. Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24667
___
___
Python-bugs-list mailing
Terry J. Reedy added the comment:
Mark, do you have any opinion of this? It apparently impinges on what themes
we use or can offer as an option.
--
nosy: +markroseman
versions: +Python 3.6 -Python 3.5
___
Python tracker rep...@bugs.python.org
Jörg Müller added the comment:
This bug still exists. I am having a similar use case as ghazel. I have to use
absolute paths for the setup.py to work, but the problem is that those paths
then end up in the egg-info/SOURCES.txt file which is something that package
maintainers of linux
New submission from Joseph Weston:
Several fields in the Python 3.x documentation for the PyTypeObject API
have incorrectly documented types. This was probably due to a wholesale
shift of documentation from Python 2.x.
--
assignee: docs@python
components: Documentation
files:
Berker Peksag added the comment:
Thanks for the patch, Aaron(also thanks to Demian for reviews). I've fixed the
merge conflict and added more tests.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker
New submission from Jon Ribbens:
If you are installing Python 2.7.10 and a previous version of 2.7 was already
installed, the installation processs can fail when compileall.py finds
badly-written third-party modules in the site-packages or dist-packages
directories.
The installation process
Roundup Robot added the comment:
New changeset 3d7adf5b3fb3 by Berker Peksag in branch '3.4':
Issue #23004: mock_open() now reads binary data correctly when the type of
read_data is bytes.
https://hg.python.org/cpython/rev/3d7adf5b3fb3
New changeset 526a186de32d by Berker Peksag in branch
Yury Selivanov added the comment:
A better design is to make it so the future that get() is waiting for doesn't
actually receive the item, it is only used to wake up the get() coroutine.
I would be something like:
1. get(): in case the queue is empty, create a Future, add it to _getters,
Robert Collins added the comment:
Post merge review:
looks like
data_as_list = read_data.splitlines(True)
would be a little cleaner.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23004
Changes by Cameron Simpson c...@zip.com.au:
--
nosy: +cameron
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19702
___
___
Python-bugs-list mailing
New submission from Mark Roseman:
Undo/Redo in Edit menu should be disabled when there is nothing to Undo or Redo
--
components: IDLE
messages: 248168
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: Disable Undo/Redo menu items when
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1528593
___
___
Python-bugs-list
New submission from Mark Roseman:
Right now when you're running a program you can still select the 'debugger'
item in the menu... you just get an error dialog you can only toggle the
debugger when idle (with a title don't debug now).
While I got a kick out of the title and using the word idle
New submission from Mark Roseman:
If I have just an edit window open with my program, there's no way to run the
program with the debugger visible. Should be a way to do so without going
through the extra steps of opening up a shell window first
--
components: IDLE
messages: 248175
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
versions: +Python 3.6 -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22598
___
Serhiy Storchaka added the comment:
I take this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22598
___
___
Python-bugs-list mailing list
New submission from Mark Roseman:
It's fairly easy to get IDLE to revert back to an empty menubar, i.e. just a
Python menu.
For example, open a shell, debugger, and editor window. Click on debugger
window, then editor window, then close editor window. Focus goes back to
debugger, but doesn't
Changes by Jesús Cea Avión j...@jcea.es:
--
assignee: jcea -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22598
___
___
Python-bugs-list mailing
Jesús Cea Avión added the comment:
ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22598
___
___
Python-bugs-list mailing list
Unsubscribe:
Jesús Cea Avión added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5305
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Mark Roseman:
Most of the dialogs in IDLE on OS X do respond to 'Return' key as equivalent to
hitting OK, and Escape to hitting Cancel.
Guidelines also suggest that the Enter key (on numeric keypad) should work like
'Return', and Cmd-. (period) should work like Cancel.
New submission from Mark Roseman:
No reason for it to be modal. Especially on OS X (where it really isn't...)
--
components: IDLE
messages: 248167
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: About IDLE dialog shouldn't be modal
New submission from Mark Roseman:
Rather than including the window width/height in the config dialog, just
remember the last window size and use that next time
--
components: IDLE
messages: 248176
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17642
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
stage: - test needed
versions: -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24799
___
New submission from Mark Roseman:
In an editor window, with no selection, most of the items in the format menu
(indent, tabify, etc.) aren't applicable, so the corresponding menu items
should be disabled.
--
components: IDLE
messages: 248171
nosy: kbk, markroseman, roger.serwy,
Terry J. Reedy added the comment:
Notepad++ always asks, even when the edit buffer is not dirty. Actual use case:
edit file with tkinter import and run in 3.4. Works. Open file in 2.7,
changet tkinter to Tkinter, and run it. If I click on the 3.4 wndow, I do not
want it silently changed.
New submission from Mark Roseman:
If there are going to be highlighting themes in IDLE, and the ability to
customize them, why not the background color of the window? Light on dark is
easier for some people to read - adding one that did that would be a good
candidate for another built-in
Robert Collins added the comment:
Thanks for the patch; applied to 3.4 and up.
--
nosy: +rbcollins
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4395
Martin Panter added the comment:
My patch was committed for Python 3.4+. The priority of the comparator methods
is now documented at the end of
https://docs.python.org/dev/reference/datamodel.html#richcmpfuncs. Perhaps
all that is left to do here is to apply similar changes to the Python 2
Martin Panter added the comment:
Assuming Issue 23756 is resolved and various standard library functions are
meant to work with any C-contiguous buffer, then it makes sense to me for
memoryview.cast(B) to work for any C-contiguous buffer. I also got the
impression that David, Yuriy, and
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24810
___
___
Python-bugs-list
Steven D'Aprano added the comment:
Sounds patronizing.
Whether used for beginners to programming or experts, IDLE (or any other
application) should start with sensible defaults. As much as possible, it
should usefully start without requiring extra configuration. But beyond that,
actively
Gustavo J. A. M. Carneiro added the comment:
Sure, just give me a couple of days.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23812
___
___
eryksun added the comment:
This is a 3rd party issue with the pyreadline module, which already has an open
ticket for this problem:
https://github.com/pyreadline/pyreadline/issues/30
--
nosy: +eryksun
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
title: Bottom Scroll Bar in IDLE - Idle Editor: Bottom Scroll Bar
versions: +Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1207613
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - third party
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24811
___
Tiago Wright added the comment:
I've run the Sniffer against the same data set, but varied the size of the
sample given to the code. It seems that feeding it more data actually seems
to make the results less accurate. Table attached.
On Thu, Aug 6, 2015 at 12:29 PM R. David Murray
New submission from zsero:
Python 3.3+ works really well when using codepage 65001 under Windows/ConEmu.
Simply starting it with `chcp 65001` allows both printing and inputting of
unicode characters.
However, if any such character is ever entered into the history, the history
functionality
Terry J. Reedy added the comment:
A follow-on issue would be to have an option to prompt to save (as with editor
windows) or autosave when closing the shell. A default path might be
.idlerc/shellsave.txt.
--
versions: +Python 3.6
___
Python
Terry J. Reedy added the comment:
In general, users and instructors are demanding more options, not less.
'extensions' could be renamed 'plug-ins'. The current system could use some
rethinking, since the choice between a feature being 'built-in' versus a
'built-in extension' is at least
eryksun added the comment:
A functional memoryview for ctypes objects would avoid having to use
workarounds, such as the following:
d = ctypes.c_double()
b = (ctypes.c_char * ctypes.sizeof(d)).from_buffer(d)
b[:] = b'abcdefgh'
d.value
8.540883223036124e+194
or using
New submission from Brecht Machiels:
These both raise an exception:
class Null(type(None)): pass
class Null(object, type(None)): pass
The following does not:
class Object(object): pass
class Null(Object, type(None)): pass
This should also raise a TypeError.
Also, the result
Changes by Armin Rigo ar...@users.sourceforge.net:
--
nosy: -arigo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24806
___
___
Python-bugs-list
Brecht Machiels added the comment:
Ok. I was afraid a fix for this might affect class Integer(Object, int). Good
to hear it shouldn't.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24806
Armin Rigo added the comment:
To be clearer, this bug report is, more precisely, about subclassing built-in
classes that are not meant to be subclassable. This includes type(None) and
bool.
--
___
Python tracker rep...@bugs.python.org
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24802
___
___
Python-bugs-list
Armin Rigo added the comment:
@brechtm No, the example you give is wrong. It is correct that this refuses to
work (and unrelated to this bug):
class Integer(object, int): pass
for reasons explained in the docs.
--
___
Python tracker
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24803
___
___
Python-bugs-list
Tiago Wright added the comment:
It seems the HTML file did not come through correctly. Trying a text
version, please view this in a monospace font:
| Sniffer
|
Human | , | ; | \t | \ | space|Except | : | ) |
c | e |
R. David Murray added the comment:
Yes, much better :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24787
___
___
Python-bugs-list mailing
Will Booth added the comment:
Allow users to translate protocol numbers from IPv4/IPv6 headers to a friendly
human readable string.
Just filling a gap in the API. There might be a PyPI package out there similar
to socket. However, it's complementary function,'getprotobyname', already exist
Martin Panter added the comment:
Here is a patch that allows any “C-contiguous” memoryview() to be cast to a
byte view. Apart from the test that was explicitly checking that this wasn’t
supported, the rest of the test suite still passes. I basically removed the
check that was generating the
Roundup Robot added the comment:
New changeset 024d4f4011c9 by Yury Selivanov in branch '3.4':
Issue #23812: Fix getter-cancellation with many pending getters code path
https://hg.python.org/cpython/rev/024d4f4011c9
New changeset 2752fe734bfb by Yury Selivanov in branch '3.5':
Merge 3.4 (issue
Tiago Wright added the comment:
I apologize, it seems the text table got line wrapped. This time as a TXT
attachment.
-Tiago
On Thu, Aug 6, 2015 at 12:22 PM Tiago Wright rep...@bugs.python.org wrote:
Tiago Wright added the comment:
--
Added file:
Yury Selivanov added the comment:
Guido, Victor,
I've just pushed a commit to fix a misspelled method call in queues.py (related
to the previous commit in this issue).
Along with fixing the bug and writing a unittest for it, I discovered an issue
with the current queues design.
Here's an
Stefan Krah added the comment:
The question is whether we want this behavior.
--
assignee: - skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15944
___
Fabian added the comment:
Okay I think I've run the test suite on 3.6 although it only works with
https://gerrit.wikimedia.org/r/#/c/229683/ now as inspect.getargspec has been
removed (when I initially posted this, it was just deprecated).
Well writing this I just thought I could've tested
R. David Murray added the comment:
Your best bet is to attach an ascii text file as an uploaded file.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24787
___
Stefan Krah added the comment:
Yuriy: cast() does not do this. What's requested is that e.g. a
single float is represented as a bytes object instead of a float.
Thus, you'd be able to do:
m[0] = b'\x00\x00\x00\x01'
This has other implications, for example, two NaNs would compare
equal.
Ethan Henderson added the comment:
I managed to resolve the issue following these steps:
1. Installing Python 3.4.3 on another computer (not even the same architecture)
2. Copying the Python34 folder from that other computer to the computer I broke
3. Running the uninstaller for Python 3.4.3
4.
New submission from Will Booth:
Add an old method from netdb to python for a best-effort, centerized look up.
For the function to work, /etc/protocols would also need to be present. If the
protocol doesn't exist OSError is raised.
Patch attached.
--
components: Extension Modules
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24802
___
___
Guido van Rossum added the comment:
My worry is that the context manager will make people believe it's a good
pattern to create an event loop just to make one call. If tests violate
this pattern, add a context manager helper function to test_utils.py.
On Thu, Aug 6, 2015 at 2:57 AM, Martin
Armin Rigo added the comment:
FWIW ``bool(Null())`` gives correctly the result False in CPython 3.5.
The problem in my opinion is that !Py_TPFLAGS_BASETYPE is checked only on the
best base instead of on all bases. It lets this kind of nonsense pass through.
In CPython 2.7 (but not 3.5) the
Brecht Machiels added the comment:
Similar inconsistent behavior for:
class Object(object): pass
class Integer(Object, int): pass
versus
class Integer(object, int): pass
However, I'm successfully using the first version, which saves some boilerplate
code for emulating ints.
Brecht Machiels added the comment:
This is a real-world example where this type of inheritance is used:
https://github.com/brechtm/rinohtype/blob/8bd961243c1059aa7cb738493e4687f7a5930d5b/rinoh/backend/pdf/cos.py#L121
I don't think there is any inherent reason not to subclass from (indirectly)
Changes by Berker Peksag berker.pek...@gmail.com:
--
assignee: - berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23004
___
___
Changes by Will Booth m3rz3r...@gmail.com:
--
versions: +Python 3.5 -Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24809
___
___
New submission from Mark Roseman:
To facilitate using IDLE to learn Python, and perhaps as a first experience
with programming altogether, and taking advantage of the fact that IDLE comes
with Python out of the box, I propose the following:
1. A new learning mode be introduced to Python. We
Roundup Robot added the comment:
New changeset 08e03dfb7dab by Robert Collins in branch '2.7':
Issue #24531: Document that encoding lines cannot follow non-comment lines.
https://hg.python.org/cpython/rev/08e03dfb7dab
New changeset ab75b7ff4dfe by Robert Collins in branch '3.4':
Issue #24531:
Robert Collins added the comment:
Thanks, applied across the board; I had to tweak it a little on 2.7.
--
nosy: +rbcollins
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24225
___
___
Python-bugs-list
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13504
___
___
Python-bugs-list
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17942
___
___
Python-bugs-list
Mark Roseman added the comment:
Just as a point of information and possible future reference, there is a
'tklib' (collection of Tk-related modules written in Tcl) module called 'ctext'
which does syntax highlighting as well as implements the line numbering thing
(also using a text widget
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
___
Python-bugs-list
Changes by Yury Selivanov yseliva...@gmail.com:
--
versions: -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24810
___
___
Yury Selivanov added the comment:
What are the use cases?
If it's (Rarely used.) (as docstring indicates), then, perhaps, a package on
PyPI is a better solution.
--
nosy: +haypo, yselivanov
versions: +Python 3.6 -Python 3.5
___
Python tracker
Tiago Wright added the comment:
Table attached.
-Tiago
On Wed, Aug 5, 2015 at 8:14 PM Skip Montanaro rep...@bugs.python.org
wrote:
Skip Montanaro added the comment:
Tiago, sorry, but your last post with results is completely
unintelligible. Can you toss the table in a file and attach it
Changes by Yury Selivanov yseliva...@gmail.com:
--
nosy: +benjamin.peterson, yselivanov
versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24806
89 matches
Mail list logo