Terry J. Reedy added the comment:
I believe one of Saimadhav's original patches used a symbol. I suggested color
highlighting instead, and it seems to work better. In any case, debating such
details is part of an issue.
--
resolution: - duplicate
stage: - resolved
status: open -
John Ehresman added the comment:
I just ran into this again when I installed 2.7.10 -- evidently I had patched
my local installation and forgot about it. This is very important to anyone
who tries to use the Visual Studio C debugger to debug extension modules.
--
nosy: +jpe
Changes by Mark Roseman m...@markroseman.com:
--
nosy: +markroseman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9262
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset adb510322c8f by Eric Snow in branch '3.5':
Issue #24667: Resize odict in all cases that the underlying dict resizes.
https://hg.python.org/cpython/rev/adb510322c8f
New changeset 47287c998bb0 by Eric Snow in branch 'default':
Merge from 3.5 (issue
Eric Snow added the comment:
I've pushed the fix for RC1. Thanks again Fabian for bringing it to our
attention.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
Then either simpledialog should changed, or Idle should subclass or rewrite it
to work as it should.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24812
Terry J. Reedy added the comment:
And if the older version is still present, as 2.7 will be for years, copy back
to .idlerc. To me, having two copies of the directory, one in the 'wrong'
place, is worse than one copy in the wrong place.
--
___
Martin Panter added the comment:
Yeah you are probably right. This way keeps things simple.
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24774
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +steve.dower
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4214
___
___
Terry J. Reedy added the comment:
I just noticed https://pypi.python.org/pypi/idle-lif/1.0 Python IDLE Language
Pack. Have not looked at it.
If someone decides to work on this, I have ideas on how i18n could be done with
minimal impact on the code, partly based on
New submission from umedoblock:
round(1.65, 1) return 1.6 with decimal.
I feel bug adobe result.
not bug ?
import decimal
d1 = decimal.Decimal(1.65)
d2 = decimal.Decimal(10 ** -2) * 5
d1
Decimal('1.65')
d2
Decimal('0.05000104083408559')
d1 + d2
Zachary Ware added the comment:
The rounding mode of the default context is ROUND_HALF_EVEN[1]:
import decimal
decimal.getcontext()
Context(prec=28, rounding=ROUND_HALF_EVEN, Emin=-99, Emax=99,
capitals=1, clamp=0, flags=[], traps=[InvalidOperation, DivisionByZero,
Overflow])
For
Changes by Steve Dower steve.do...@microsoft.com:
--
assignee: tarek - steve.dower
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4214
Roundup Robot added the comment:
New changeset 418095f0d711 by Steve Dower in branch '2.7':
Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py
https://hg.python.org/cpython/rev/418095f0d711
New changeset 7c322c296a3b by Steve Dower in branch '3.4':
Issue #4214: Remove
umedoblock added the comment:
I don't agree with not a bug.
s1, v1, ndigits1 = 1.65, 1.65, 1
s2, v2, ndigits2 = 2.675, 2.675, 2
decimal.Decimal(v1)
Decimal('1.649911182158029987476766109466552734375')
round(v1, ndigits1)
1.6
round(decimal.Decimal(s1), ndigits1)
Decimal('1.6')
Terry J. Reedy added the comment:
I want to make this the cover issue for the general topic. We should make an
overall list here. A patch can cover whatever subset of items that someone
wants to tackle. Specific issues should only be opened when there is a
specific patch, or if there are
Mark Roseman added the comment:
I read #7949 as saying the text widget picks up the background color from the
system-wide GTk theme.
This one is saying that the background color of the text widget should be
changeable as part of an IDLE highlighting theme.
--
Changes by Stefan Krah ste...@bytereef.org:
--
title: memoryviews and ctypes - memoryview: allow all casts to bytes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15944
___
Stefan Krah added the comment:
Ok, shall we sneak this past Larry for 3.5?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15944
___
___
Antoine Pitrou added the comment:
Why not :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15944
___
___
Python-bugs-list mailing list
Laura Creighton added the comment:
I tried to run some tests from the python3.4 test suite and got:
python3 -m test -ugui test_tk test_ttk_guionly test_idle
/usr/bin/python3: Error while finding spec for 'test.__main__' (class
'ImportError': bad magic number in 'test': b'\x03\xf3\r\n'); 'test'
Antoine Pitrou added the comment:
Le 07/08/2015 14:57, Stefan Krah a écrit :
If people are content with writing m[124:128] = b'abcd' and accept
that tolist() etc. won't represent the original structure of the
object, then let's do it.
As long as the casting has to be explicit, this sounds
Serhiy Storchaka added the comment:
Interesting, this doesn't work with non-UTF-8 locale.
$ touch astral피.py
$ LC_ALL=en_US.iso88591 ./python -m idlelib.idle -e astral피.py
Traceback (most recent call last):
File /home/serhiy/py/cpython/Lib/runpy.py, line 170, in _run_module_as_main
Steve Dower added the comment:
Made a couple more changes (including a fix for vcruntime140.dll embedding)
after testing numpy's build, but that worked fine with the final fixes.
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Mark Roseman added the comment:
Have attached macpopup.patch which removes the incorrect Tk behaviour and makes
it so that right click on Mac will bring up the context menu as appropriate.
--
keywords: +patch
Added file: http://bugs.python.org/file40148/macpopup.patch
Tiago Wright added the comment:
Attached is a .py file with 32 test cases for the Sniff class, 18 that
fail, 14 that pass.
My hope is that these samples can be used to improve the delimiter
detection code.
-Tiago
--
Added file: http://bugs.python.org/file40149/testround8.py
Changes by Terry J. Reedy tjre...@udel.edu:
--
title: IDLE start maximized - IDLE: revise window size, placement startup
options
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23937
___
Mark Roseman added the comment:
I'm attaching mainwin3.patch, which is a subset of the previous patches,
modified to not use ttk. It gets rid of the highlightthickness, the sunken
line/column effect, and adds a thin separator below the text widget.
--
Added file:
Mark Roseman added the comment:
note that many of these are using 'simpledialog' which has that limitation
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24812
___
jan parowka added the comment:
fiddling with the entry bar the right way and adding exactly 'AppDate\' to
the existing path
You can type in '%APPDATA%' in the path bar, run dialog, or even start menu,
and it will take you to the current user's Application Data folder. It works
from XP
Roundup Robot added the comment:
New changeset 8e966eba2b5e by Steve Dower in branch '3.5':
Issue #24798: _msvccompiler.py doesn't properly support manifests
https://hg.python.org/cpython/rev/8e966eba2b5e
New changeset f61a083b843f by Steve Dower in branch 'default':
Issue #24798:
New submission from Serhiy Storchaka:
Search in strings is highly optimized for common case. However for some input
data the search in non-ascii string becomes unexpectedly slow. Compare:
$ ./python -m timeit -s 's = АБВГД*10**4' -- 'є in s'
10 loops, best of 3: 11.7 usec per loop
$
New submission from Serhiy Storchaka:
Accelerator key (Alt+O) for the Options menu works in IDLE Shell window, but
doesn't work in IDLE Editor windows due to conflict with the accelerator key
for the Format menu.
--
components: IDLE
messages: 248180
nosy: kbk, roger.serwy,
Changes by Tomi Kyöstilä tomi.kyost...@gmail.com:
--
nosy: +tomikyos
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15443
___
___
Python-bugs-list
Guido van Rossum added the comment:
So this looks like it will miss 3.5.0rc1. How confident are we that the new
patch won't introduce new bugs? This late in the release process that would
be awkward.
On Fri, Aug 7, 2015 at 12:47 AM, Gustavo J. A. M. Carneiro
rep...@bugs.python.org wrote:
Antoine Pitrou added the comment:
The proposal sounds reasonable to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15944
___
___
New submission from Serhiy Storchaka:
Pydoc fails with the codecs module in 3.5+. All works in 3.4.
$ ./python -m pydoc codecs
Traceback (most recent call last):
File /home/serhiy/py/cpython-3.5/Lib/runpy.py, line 170, in
_run_module_as_main
__main__, mod_spec)
File
Pierre Quentel added the comment:
I don't really see why there is a Content-Length in the headers of a
multipart form data. The specification at
http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2 doesn't
mention it, and it is absent in the example that looks like the one tested
by
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue678264
___
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9917
___
___
New submission from Tom Pohl:
From the ctypes.create_string_buffer docs:
If a bytes object is specified as first argument, the buffer is made one
item larger than its length so that the last element in the array is a NUL
termination character. An integer can be passed as second argument which
Berker Peksag added the comment:
data_as_list = read_data.splitlines(True)
is not actually the equivalent of
data_as_list = [l + sep for l in read_data.split(sep)]
It will change the behavior of the _iterate_read_data helper. See the comment
at
Yury Selivanov added the comment:
This is related to Arguments Clinic and Larry's implementation of signature
parsing for built-in functions.
This particular bug is caused by 'codecs.encode' 'codecs.decode' functions
with the AC signatures defined as follows:
_codecs.encode
obj:
New submission from Mark Roseman:
Right now breakpoints can only be set/cleared by using a context menu on a line
in the editor. I discovered this entirely by reading through the bug database,
as right-click doesn't work on OS X (#24801).
Some other tools use an indicator (e.g. stop sign) in
Peter Landry added the comment:
Yeah, I think that makes the most sense to me as well. I tried to make a
minimum-impact patch, but this feels cleaner.
If we remove the Content-Length header, the `limit` kwarg might occur at an odd
place in the part itself, but that feels unavoidable if
R. David Murray added the comment:
splitlines(keepends=True) is not ever equivalent to splitting by just '\n'. I
don't know the details here, but switching to that would certainly be a
behavior change. (Especially if the code path also applies to non-binary
data!):
Yury Selivanov added the comment:
Yep, GH works. Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23812
___
___
Python-bugs-list mailing
Yury Selivanov added the comment:
Alex, sure, go ahead. Although I think python-ideas would be a better choice.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24383
___
Chris Brennan added the comment:
This bug appears (for me) when I use longer install paths, both in the GUI
installer and doing a silent install via msiexec. The paths I've used so far
are these:
E:\langs\Python\x32\27
E:\langs\Python\x32\34
E:\langs\Python\x64\27
E:\langs\Python\x64\34
New submission from Mark Roseman:
This builds on things like the tabbed editor suggestion, but essentially I'm
talking about a scenario where you'd have your one (editor) window open working
on your program, you click 'run...' or 'debug...' from the menu, and a shell
and debugger area open up
Ivan Levkivskyi added the comment:
Here is a new patch for the first part of classes at the end of docs.
I also did some minor changes (in particular added more info on generics and
removed the section about ellipsis for default arguments, we could return it if
we decide to write something
Peter Landry added the comment:
A new patch that simply removes Content-Length from part headers when present.
--
Added file: http://bugs.python.org/file40145/cgi_multipart.patch
___
Python tracker rep...@bugs.python.org
Alex Grönholm added the comment:
Where do we stand with this then? Should I start a thread on python-dev to get
the ball rolling?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24383
___
Yury Selivanov added the comment:
Guido, I agree, let's not push the updated implementation in 3.5.0.
Gustavo, could you please generate the patch with hg diff, so that code
review here works? And I think we need a new issue to track the new patch.
--
nosy: +larry
priority: deferred
Changes by Yury Selivanov yseliva...@gmail.com:
--
nosy: -larry
priority: release blocker - deferred blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23812
___
Gustavo J. A. M. Carneiro added the comment:
I am not using hg anymore, since asyncio migrated to git.
Here's a github PR, does that help?
https://github.com/python/asyncio/pull/260
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
Two negative factors.
1. Users may edit the user config files 'by hand'. They occasionally must edit
them to fix problems. Burying them in a *hidden* directory (invisible in
Explorer) will make editing much harder, *especially for beginners*. Even as a
Mark Roseman added the comment:
While the thing about asking for a favourite colour before switching to
advanced mode was a joke, I do sincerely believe that extensive progressive
disclosure techniques should be used to keep much of IDLE's features and
options hidden out of the box.
If the
Alex Grönholm added the comment:
I've already made my case on python-ideas, so let's talk it over there.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24383
___
Guido van Rossum added the comment:
You could also withdraw. The more I think about it the more I dislike it. I
just don't think we should do *anything* that encourages confusion between
threads and tasks. They are fundamentally different concepts and should remain
so.
--
Mark Roseman added the comment:
If you have your mouse set up to have two buttons, right-clicking in the editor
window doesn't bring up the context menu it's supposed to.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24801
Terry J. Reedy added the comment:
I am broadening this to include re-evaluation of everything under Help. There
are other issues for search on config.
--
title: About IDLE dialog shouldn't be modal - Idle Help dialogs shouldn't be
modal
___
Python
eryksun added the comment:
Not every buffer is null-terminated. That's just the assumption used if the
size isn't specified. The documentation can possibly be reworded to make this
clearer, but the function itself shouldn't be changed.
--
assignee: - docs@python
components:
Terry J. Reedy added the comment:
From your description, I an not sure what it is that does not work.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24801
___
Tom Pohl added the comment:
I agree: not every buffer is null-terminated.
But the function name suggests that it creates a _string_ buffer which will
most likely be used as an input to a C function. There, it can easily trigger a
buffer overflow without a null termination which can be
Mark Roseman added the comment:
I believe the ttk::themes call is older, part of when it was still Tile. There
are a bunch of those kind of API's that were kept around (for compatibility I
presume) when the official API (style theme names) was created and documented.
As explained on the
Raymond Hettinger added the comment:
In general, users and instructors are demanding more
options, not less.
This is correct. I teach Python classes using IDLE. It does NOT need to be
dumbed down (people has notepad for that). The API can be made more usable
but I am against this
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - IDLE: revise window size, placement startup options
___
Python tracker rep...@bugs.python.org
Tom Pohl added the comment:
If one needs to set a general buffer (i.e. not a null-terminated string buffer)
one could always use:
string = (ctypes.c_char*4)()
string.raw = b'abcd'
--
___
Python tracker rep...@bugs.python.org
Mark Roseman added the comment:
oh agree, definitely don't want a symbol on every line. i was already thinking
implementation where you'd probably have an object matching the background for
hit detection! :-)
but yes, visually nothing there but empty space when there isn't a breakpoint,
and
Terry J. Reedy added the comment:
Agreed. I believe Al's menu revision suggested moving Debugger to Run.
Debugger has to hook into Shell because it has to see packets moving between
Shell and the execution process. Opening the debugger window currently requires
that Shell already be open.
Terry J. Reedy added the comment:
This looks like mostly a duplicate of #7949. Can you differentiate?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24820
___
Terry J. Reedy added the comment:
Stackviewer should also be disabled when not applicable, which I believe
included while debugger is running (unless it is modified, or including in
debugger).
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
#24801 needs to be fixed so we can depend on right clicking. I think SET and
CLEAR should be replace by TOGGLE (#22083). The patch for #17535 already
includes marking breakpoints in the margin. I am opposed to a putting a symbol
on every line. Too noisy and
Stefan Krah added the comment:
If people are content with writing m[124:128] = b'abcd' and accept
that tolist() etc. won't represent the original structure of the
object, then let's do it.
On the bright side, it is less work. -- I'll review the patch.
--
Gustavo J. A. M. Carneiro added the comment:
I was wrong, there still needs to be some cleanup in cancellation, even with
the new approach. But it does solve the out-of-order problem.
I don't know if it should be applied to rc1. I wish I had more time to test.
Up to you guys.
--
sanad added the comment:
Hey Terry, after testing the committed patch on my Linux Mint, I have found the
following behaviour:
1. The issue of IDLE not starting when Recent File list has name outside BMP
has been fixed.
2. The File Name is correctly formatted and displayed in the file editor
77 matches
Mail list logo