New submission from Alex Budovski:
This is a known issue, from the comment, but it is causing AVs for my embedded
application when background threads are created, for example, by the _socket
builtin module.
/* Undo the effect of Py_Initialize().
Beware: if multiple interpreter and/or
Changes by Alex Budovski abudov...@gmail.com:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24770
___
___
Python-bugs-list
STINNER Victor added the comment:
There are other implementations of asyncio than the one in CPython.
Pulsar and Tornado define their own Task class. The greenio project
also has a special task object. aioeventlet and aiogevent may also
benefit from a way to register new awaitable things.
I'm
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24762
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +larry
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24771
___
Steve Dower added the comment:
What are the expected benefits from changing? Just a higher resolution? I'm not
sure that's worth anything if it's inaccurate.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19007
Yury Selivanov added the comment:
There are other implementations of asyncio than the one in CPython.
Pulsar and Tornado define their own Task class. The greenio project
I'm not sure if it's possible (or even makes any sense) to integrate
tasks from other frameworks into asyncio.
greenio
Mark Lawrence added the comment:
The original was never reapplied and wouldn't now apply so I've attached an
updated version.
--
components: -Distutils2
nosy: +BreamoreBoy, David.Edelsohn, dstufft
versions: +Python 3.4, Python 3.5, Python 3.6 -3rd party, Python 3.2, Python 3.3
Added
Stefan Behnel added the comment:
Funny. I just thought about this yesterday and came up with pretty much the
same idea. +1 for the patch.
I don't think there are more classes to support here. Quite the contrary,
other tools should try to integrate via concurrent.futures.Future instead.
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24772
___
___
Serhiy Storchaka added the comment:
IMHO Tcl and Tk should be in title case (as Python or Django) or at least all
in upper case (as APL or SDL).
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24759
Serhiy Storchaka added the comment:
I don't see any mentions of ttk in IDLE source code except added check. Is ttk
really required for IDLE?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24759
Terry J. Reedy added the comment:
Re-opened for tweak.
This patch, to exit gracefully if ttk is not available, is the first step
before using ttk in Idle. Mark, a long-time tk/ttk expert and site/book
author, has volunteered to help upgrade Idle with ttk. Please see ttk in idle
on Idle-Sig
New submission from 許邱翔:
In http.server.test, it still say This runs an HTTP server on port 8000 (or
the first command line argument)., but it won't read command line argument any
more.
since this commit (https://hg.python.org/cpython/rev/935a656359ae)
--
components: Library (Lib)
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24773
___
___
Python-bugs-list
Adam Bartoš added the comment:
It seems that both tcl86t.dll and tk86t.dll can be found, but their dependency
VCRUNTIME140.dll cannot. For some reason, Dependency Walker cannot locate also
python35.dll and ieshims.dll (but it tries to find all three libraries in
Python 3.5\DLLs and at least
Alexander Belopolsky added the comment:
Something went wrong in my hg clone and Rietveld did not like my patch. I
moved my development branch to github:
https://github.com/abalkin/cpython/tree/ltdf
Please feel free to leave your comments there.
--
Eric S added the comment:
Code was intended as example, not request for help to correct, but rushed so
example was flawed, but still, I tested and you both are right. Must've had
other error in code to cause the xml to dict to have every element map to under
every node. Debugger also showed
Roundup Robot added the comment:
New changeset 82198ae039cd by Terry Jan Reedy in branch '3.4':
Issue 24745: Add ACKS entry.
https://hg.python.org/cpython/rev/82198ae039cd
New changeset bf14b74d6fc0 by Terry Jan Reedy in branch '3.5':
Issue 24745: Add ACKS entry.
Roundup Robot added the comment:
New changeset c981d9819384 by Zachary Ware in branch '3.4':
Issue #23182: PEP8-ify the annotation grammar tests. Patch by Ian Lee.
https://hg.python.org/cpython/rev/c981d9819384
New changeset f35bdb6dd242 by Zachary Ware in branch '3.5':
Issue #23182: Merge
Changes by Ned Deily n...@acm.org:
--
nosy: +brett.cannon, eric.snow, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24769
___
___
Roundup Robot added the comment:
New changeset e38470b49d3c by Zachary Ware in branch '2.7':
Issue #23652: Make the select module compile against LSB headers.
https://hg.python.org/cpython/rev/e38470b49d3c
New changeset c18a18b65a49 by Zachary Ware in branch '3.4':
Issue #23652: Make the select
Changes by Brett Cannon br...@python.org:
--
priority: normal - deferred blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24769
___
___
Zachary Ware added the comment:
Thanks for the patch!
--
nosy: +zach.ware
versions: +Python 3.4, Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23182
___
Serhiy Storchaka added the comment:
Ttk widgets are partially compatible with Tk widgets, so in many cases it is
possible to make partial upgrade without major rewriting. Some changes perhaps
need major rewriting (using styles, changing layout), and I think this is what
the PEP does not
Zachary Ware added the comment:
Thanks for the patch!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23652
___
___
Python-bugs-list mailing list
New submission from Ankoor Patil:
I have just started exploring python in rhino and I think I hit a bug, can you
please confirm this or point out where am I going wrong.
Thanks.
--
components: Cross-Build
files: Capture.PNG
messages: 247855
nosy: Ankoor Patil
priority: normal
Serhiy Storchaka added the comment:
I would use optional import to support Tcl/Tk older than 8.5 in Python 3.4 and
2.7.
try:
from tkinter.ttk import Scrollbar
except ImportError:
pass
--
nosy: +serhiy.storchaka
___
Python tracker
New submission from Alexander Belopolsky:
Adds a boolean member to the instances of ``datetime.time``
and ``datetime.datetime`` classes that can be used to differentiate
between two moments in time for which local times are the same.
See Datetime-SIG Local time disambiguation proposal
Yury Selivanov added the comment:
I agree with Stefan and Yury. As for the tests, Yury seemed to have those in
his patches -- I'll take a look and see if they're directly applicable.
Good idea, the tests are in a fine shape.
For Python 3.5 and earlier, there is a workaround to awaiting for
Roundup Robot added the comment:
New changeset edf9bfe36ad0 by Terry Jan Reedy in branch '2.7':
Issue #21192: acks for 2.7
https://hg.python.org/cpython/rev/edf9bfe36ad0
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21192
Serhiy Storchaka added the comment:
Yes, but setting the highlightthickness option can be optional too.
self.scrollbarView = Scrollbar(frameText, orient=VERTICAL,
takefocus=FALSE)
try:
self.scrollbarView['highlightthickness'] = 0
except
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24766
___
___
Serhiy Storchaka added the comment:
The idea looks interesting and the code looks correct. But the patch decreases
readability and I'm not sure, that the benefit is worth it. Timings looks good
at first glance, but frozenset hash is cached and is calculated only once per
instance. I afraid
Roundup Robot added the comment:
New changeset cf707dd190a9 by Raymond Hettinger in branch 'default':
Issue #24762: Speed-up frozenset_hash() and greatly beef-up the comments.
https://hg.python.org/cpython/rev/cf707dd190a9
--
nosy: +python-dev
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24762
___
New submission from Raymond Hettinger:
A recurring issue with students using IDLE is the user interface for the fonts
and tabs preference settings.
* The default setting of 4 space tabs is a good default, but the giant slider
cries out to be moved (usually when people are intending to
Martin Panter added the comment:
I don’t think this is a duplicate. The patch here wraps the non-blocking
“alternate interface”
https://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC41:
rl_callback_read_char() etc. The patch in Issue 1175004 wraps other APIs,
including
Martin Panter added the comment:
rl_forced_update_display() wrappers already proposed in Issue 23067
--
dependencies: +Export readline forced_update_display
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1175004
Martin Panter added the comment:
There are actually a few other patches open adding wrappers for
rl_forced_update_display():
* Issue 1175004: From 2005, other APIs as well
* Issue 24727: Includes documentation
As well as the documentation, I think it would be good to add a test case for
new
Terry J. Reedy added the comment:
That does not work. ttk widgets are not drop-in replacements for their
predecessors. The problem is illustrated by these lines from the TextViewer
patch
-self.scrollbarView = Scrollbar(frameText, orient=VERTICAL,
-
New submission from Seán Kelleher:
I have a Go server that listens to a port, runs a Python client to connect to
the port as a subcommand, and reads from the client. However, the client (as
follows) will occasionally run to completion without connecting to the port,
but without raising an
Raymond Hettinger added the comment:
The last version of the patch works well for me and has a nice, elegant look.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24750
Terry J. Reedy added the comment:
Review published with the changes I made, tested, and committed.
I am not convinced that writing all 3 font attributes is needed, which is good
since existing user files do not have all 3. But safer for future. Part of my
preference to avoid user file when
Martin Panter added the comment:
Simon: See Issue 24266 about recovering after interrupting the search mode.
Also, I think Issue 1744456 wraps a different part of the Readline API
(rl_callback_ for non-blocking interface) to the patch here (rl_add_defun for
adding a custom “key binding” or
Terry J. Reedy added the comment:
Mark: Serhiy is asking that we not make the change to maintenance releases, 2.7
and 3.4, without further discussion and agreement. He is correct to do so. I
reread PEP 434 and it specifically says The PEP would apply to ..., but not
necessarily to possible
Terry J. Reedy added the comment:
Re-reading PEP 434, I was mistaken to apply this patch to 2.7 and 3.4 without
further discussion. The PEP says The PEP would apply to minor ..., but not
necessarily to possible major re-writes such as switching to themed widgets ...
.
Nick, should I post
eryksun added the comment:
64-bit 3.5.0b4 works for me in Windows 7. Try loading _tkinter.pyd in
[Dependency Walker][1]. Or try loading the dependent DLLs directly via ctypes:
import os
import _ctypes
dlls_path = os.path.dirname(_ctypes.__file__)
for d in ('tcl86t.dll',
Steve Dower added the comment:
Correct. I'll fix this on Monday or Tuesday this week.
--
assignee: - steve.dower
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24771
___
Steve Dower added the comment:
Until then, if you find and install the VC distributable for VS 2015 then
you'll have the files you need. On my phone now so I don't have the link handy
--
___
Python tracker rep...@bugs.python.org
Changes by Martin Panter vadmium...@gmail.com:
--
title: readline problem - maximum recursion installing readline package
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16346
___
Martin Panter added the comment:
Suggest you integrate your rl_forced_update_display() wrapper and documentation
with the existing patches in Issue 23067.
Regarding the reading_line() flag, your use case seems a bit racy to me. Can’t
the other thread start reading a line after reading_line()
Alex Grönholm added the comment:
I agree with Stefan and Yury. As for the tests, Yury seemed to have those in
his patches -- I'll take a look and see if they're directly applicable.
For Python 3.5 and earlier, there is a workaround to awaiting for concurrent
Futures, but it requires the use
eryksun added the comment:
Not finding python35.dll is normal since there's no activation context from
python.exe. The vcruntime140 library is statically linked to avoid having to
distribute vcruntime140.dll. See issue 24476. This needs to be changed in the
TCL/Tk project files as well.
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
Added file: http://bugs.python.org/file40096/ltdf-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24773
___
Martin Panter added the comment:
Patch looks okay to me, although another option could be to move the argument
parsing back into the test() function, where it was originally.
BTW I don’t think the 3.3 branch is open to fixes like this any more.
--
nosy: +vadmium
stage: - patch review
Terry J. Reedy added the comment:
On Idle-sig, in 'ttk appearance' Mark posted before and after screenshots of
Preferences Font tab for Windows, Linux, and Mac
http://www.tkdocs.com/images/idle_cfgfont_ttk.png
Glyph, who I never knew read Idle-sig, calls the after shots great (I think he
has a
Mark Roseman added the comment:
Serhiy, I appreciate what you're saying, but special casing to handle both ttk
and non-ttk cases seems not feasible given the amount of resources available to
enhance/maintain IDLE. Additionally, part of the rationale for making these
changes is to simplify the
Roundup Robot added the comment:
New changeset 55e5f7766d2c by Terry Jan Reedy in branch '2.7':
Issue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
https://hg.python.org/cpython/rev/55e5f7766d2c
New changeset 5c992189414f by Terry Jan Reedy in branch '3.4':
Issue
Mark Roseman added the comment:
Got it re: 2.7/3.4. So the only stumbling block left to 8.5/ttk in 3.5 would be
the current Mac build that is ok with Tcl/Tk 8.4...?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24759
Terry J. Reedy added the comment:
I agree that this tab needs an overhall.
Existing issues would be part of this:
17642 Font resizing hot keys (not sure about this)
14440 Use multiple alphabets in example (definitely)
Other ideas that I remember:
* Enlarge dialog box as needed (it already
Pierre Quentel added the comment:
Yes, I will be able to review the patch next week
2015-07-31 18:13 GMT+02:00 STINNER Victor rep...@bugs.python.org:
STINNER Victor added the comment:
@Pierre Quentel: Hi! Are you still working on CGI? Can you please review
this patch? Thanks.
--
Ivan Levkivskyi added the comment:
I am sorry but I still don't get how things are organized here, so pinging this
up. What is the next step? Should I wait for another review?
--
___
Python tracker rep...@bugs.python.org
Martin Panter added the comment:
I think you are right that it would be typically used as a decorator. Patch v2
changes it to be defined as a decorator.
Not sure what the second part of your comment is referring to. The existing
text about lack of __await__() maybe? You still have to have
New submission from Adam Bartoš:
I found out that I cannot import tkinter in Python 3.5.0b4 on 64-bit Windows
Vista. Trying to import _tkinter results in ImportError: DLL load failed. On
the other hand I have no problem importing _ctypes whose .pyd file is at the
same location as
New submission from karl:
Adding the following to basic.css:
```css
dl {
margin-bottom: 15px;
word-wrap: break-word;
}
```
will solve the issue.
See https://github.com/webcompat/web-bugs/issues/1479
--
assignee: docs@python
components: Documentation
messages: 247803
nosy:
STINNER Victor added the comment:
I'm not sure that it's a good idea to start adding special cases in Task
class which is already very complex.
Instead we may add a way to register custom awaitable objects?
--
___
Python tracker
Martin Panter added the comment:
For the record, a while ago I think I made a patch implementing my
HTTPConnection.detach() proposal. I can probably dig it up if anyone is
interested.
However I gave up on fixing this bug in “urllib.request”. As far as I
understand it, the framework does not
Alex Grönholm added the comment:
I think concurrent.futures.Future warrants adding support for in Task. It
predates asyncio and is generic enough. Can you elaborate on what other types
you would want to support as awaitables in Task?
--
___
Python
69 matches
Mail list logo