Andrew Svetlov added the comment:
See issue #3035 for details.
--
___
Python tracker
<http://bugs.python.org/issue14446>
___
___
Python-bugs-list mailin
Andrew Svetlov added the comment:
Attaching the patch to make depredations.
--
keywords: +patch
stage: -> patch review
Added file: http://bugs.python.org/file25082/issue5136.diff
___
Python tracker
<http://bugs.python.org/iss
Andrew Svetlov added the comment:
Also see #5136 for deprecated C Functions from _tkinter.c
That set have to go away in 3.4 as well as deprecations from tkinter/__init__.py
--
___
Python tracker
<http://bugs.python.org/issue14
Andrew Svetlov added the comment:
Pushed deprecation warnings into default branch.
#14446 updated to add those function to remove list for 3.4 release.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -&g
Andrew Svetlov added the comment:
Thanks to Guilherme Polo for idea and to Éric Araujo for review.
--
___
Python tracker
<http://bugs.python.org/issue5
Andrew Svetlov added the comment:
I reproduced the bug.
Roger Serwy, your patch looks working, but can you describe:
1. Why do you need `self.known_invalid` list?
2. Why do you always extend that list (`known_invalid` variable is
just shared alias for `self.known_invalid` member, not list
Andrew Svetlov added the comment:
Ok
--
___
Python tracker
<http://bugs.python.org/issue11437>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
assignee: -> asvetlov
___
Python tracker
<http://bugs.python.org/issue5680>
___
___
Python-bugs-list mailing list
Unsubscri
Andrew Svetlov added the comment:
You right. That was my concern.
--
___
Python tracker
<http://bugs.python.org/issue11437>
___
___
Python-bugs-list mailin
Andrew Svetlov added the comment:
I like Eric's proposition, e.g. raising error if (list, shell=True) or (str,
shell=False)
If nobody object I can try to make initial patch for that.
--
___
Python tracker
<http://bugs.python.org/i
Andrew Svetlov added the comment:
Terry, sorry.
That's definitely posix-specific bug. I'll make a patch assuming Windows works
well with killing IDLE.
To be polite I'll describe used signal names shortly.
SIGKILL, SIGTERM, SIGINT and SIGQUIT are used to stop process.
— SIGK
Andrew Svetlov added the comment:
Nick's library is awesome and I +1 to include it into stdlib if Nick is ready
to do.
But also I like to prevent obviously bad usage of popen.
We cannot and don't want to remove popen shell=True param, so let's add raising
exception for use
Andrew Svetlov added the comment:
After trying to make a patch I found what current test suite itself has calls
like (str, shell=False), (bytes, shell=True) and (['shell command'],
shell=True).
We can:
1. Implement Eric's suggestion with fixing/removing broken tests.
2. Add
Andrew Svetlov added the comment:
We can install signal handlers for everything what can stop process but I
prefer to pass IDLE pid to subintepreter and periodically check for prime
process existing.
--
___
Python tracker
<http://bugs.python.
New submission from Andrew Svetlov :
As Python 3.3 declare:
Windows 2000 and Windows platforms which set COMSPEC to command.com are no
longer supported due to maintenance burden.
We need to drop corresponding code from subprocess.
--
keywords: easy
messages: 157321
nosy: asvetlov
Andrew Svetlov added the comment:
BTW we need to drop win9x and win2000 support, see #14470
--
___
Python tracker
<http://bugs.python.org/issue7839>
___
___
Pytho
Andrew Svetlov added the comment:
I'm +1 for going though deprecation process for Popen args to make parameters
combination clean and obvious.
--
___
Python tracker
<http://bugs.python.org/i
Changes by Andrew Svetlov :
--
components: +Library (Lib), Windows
priority: normal -> critical
___
Python tracker
<http://bugs.python.org/issue14470>
___
_
Changes by Andrew Svetlov :
--
title: Remove use of w9xopen in subporcess module -> Remove using of w9xopen in
subporcess module
___
Python tracker
<http://bugs.python.org/issu
Changes by Andrew Svetlov :
--
assignee: -> asvetlov
___
Python tracker
<http://bugs.python.org/issue802310>
___
___
Python-bugs-list mailing list
Unsubscri
Andrew Svetlov added the comment:
I've pushed fix inspired by Guilherme's suggestion.
Fix has been applied to 3.3 only because:
1. It changes font name generation schema
2. It's definitelly minor issue as exists starting from 2003.
Thanks.
--
resolution: -> fixed
s
Andrew Svetlov added the comment:
Can anybody confirm this bug for OS X?
--
nosy: +asvetlov, ned.deily
type: performance -> behavior
versions: +Python 3.3 -Python 2.6
___
Python tracker
<http://bugs.python.org/iss
New submission from Andrew Svetlov :
Starting from 3.2 Python supports os.kill for Windows.
It process signal.CTRL_C_EVENT and signal.CTRL_BREAK_EVENT, and kills pid for
all other signals.
Posix allows to pass zero signal to check pid for existing.
It will be nice to keep that behavior for
Andrew Svetlov added the comment:
Antonie, you right.
--
___
Python tracker
<http://bugs.python.org/issue14484>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I still prefer to check in subprocess for parent proc existing.
--
___
Python tracker
<http://bugs.python.org/issue14
Andrew Svetlov added the comment:
There are no `kill` function in Windows API.
>From my perspective win32_kill was added to emulate posix sibling if possible.
>If not — better to give another Windows native name to that function.
Really don't see good solution. Maybe better wha
Andrew Svetlov added the comment:
The test from ilikepython is incorrect, but after changing to:
import tkinter
import tkinter.font
root = tkinter.Tk()
w = tkinter.Frame(root)
f = tkinter.font.Font(root, family='Arial', size=30)
label = tkinter.Label(w, text="Hello"
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue3405>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Is there actual?
--
nosy: +asvetlov
versions: +Python 3.3 -Python 3.2
___
Python tracker
<http://bugs.python.org/issue1
Andrew Svetlov added the comment:
I've updated the patch.
If nobody object I'll commit it soon.
--
nosy: +asvetlov
versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file25110/issue3033.diff
Andrew Svetlov added the comment:
Thank you, Ned.
--
___
Python tracker
<http://bugs.python.org/issue1584>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Brian, please don't forget to cleanup subprocess code when you will be ready to.
--
assignee: -> brian.curtin
___
Python tracker
<http://bugs.python.org
Andrew Svetlov added the comment:
I think we have to reject this issue.
Adding generic validation make sense, but adding just permanent check for
non-empty string is wrong.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue12
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue6181>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Tests passed, looks good. Code is also looks ok.
Documentation is out-of-date. Patch cannot be applied to struct.rst from
default branch.
Compilation generates warning messages on gcc 4.6.1:
/home/andrew/projects/py3k/Modules/_struct.c: In function
Andrew Svetlov added the comment:
I used half-float in GPU programming and from my perspective it was just
native. There are no half-float in C, right. But there are half-floats used in
NVIDIA libraries for example and I like to think used format is native and
platform-depended in general
Andrew Svetlov added the comment:
Antoine, agree with you after explanation.
--
___
Python tracker
<http://bugs.python.org/issue11734>
___
___
Python-bugs-list m
Andrew Svetlov added the comment:
Closing as wan't fix.
--
assignee: kbk -> asvetlov
resolution: -> wont fix
stage: test needed -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.pyt
Andrew Svetlov added the comment:
The patch looks good.
Can you describe manual steps to reproduce the issue?
--
assignee: -> asvetlov
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issu
Andrew Svetlov added the comment:
Closing as fixed
--
assignee: -> asvetlov
resolution: -> fixed
stage: patch review -> committed/rejected
___
Python tracker
<http://bugs.python.o
Andrew Svetlov added the comment:
Thanks to Guilherme Polo.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue3033>
___
___
Python-
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue6225>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue6167>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue9141>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed. Thanks.
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Closing as won't fix.
--
assignee: kbk -> asvetlov
nosy: +asvetlov
resolution: -> wont fix
stage: test needed -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.pyt
Andrew Svetlov added the comment:
Closing as not reproducible for 3.3.
The bug is too minor to worry about 2.7 and 3.2 even if it present (all works
for me by the way).
Please reopen if you will get described issue.
--
assignee: -> asvetlov
nosy: +asvetlov
resolution: ->
Andrew Svetlov added the comment:
What's about test which pass bytes to Popen?
Should it be deprecated and should Popen accept only unicode strings only — I
mean `str` type?
As I know the trend of py3k to get rid of bytes in filesystem
Andrew Svetlov added the comment:
Thanks to all.
Bruce Frederiksen, you are mentioned in Misc/ACK
Tal Einat, if you want to make a patch which will use `execfile` instead of
current approach — you are welcome. Please file new issue.
--
assignee: -> asvetlov
resolution: ->
Changes by Andrew Svetlov :
--
assignee: gpolo -> asvetlov
___
Python tracker
<http://bugs.python.org/issue7057>
___
___
Python-bugs-list mailing list
Unsubscri
Andrew Svetlov added the comment:
If fylesystem doesn't support unicode (only Windows directly does as I know)
str filename should to be converted by `sys.getfilesystemencoding()`. `os.exec`
family already does it as well as other fs functions — but they are supports
bytes also.
Changes by Andrew Regner :
--
nosy: +adregner
___
Python tracker
<http://bugs.python.org/issue14102>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Tkinter (as Tcl itself) has no support of non-BMP characters in any form.
It looks like support of UTF-16 without surrogates.
I like to implement codec for that which will process different error modes
(strict, replace, ignore etc) as well as others codecs
Changes by Andrew Svetlov :
--
resolution: -> rejected
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue12723>
___
___
Python-bugs-
Andrew Svetlov added the comment:
I guess IdleConf should to have flag like 'writable'.
If user environment points to invalid location (or there are no write access)
this flag should be set.
It flag can affect IDLE configuration dialog: user should be notified what him
changes w
Andrew Suffield added the comment:
I think I've tripped over a variation on this theme using pyqt and 2.7:
When working in a QThread, the PyGILState_Ensure call when transitioning
control from Qt to python will frequently allocate a new thread state - because
every time control retur
Andrew Svetlov added the comment:
The way is named 'codec'.
--
___
Python tracker
<http://bugs.python.org/issue14304>
___
___
Python-bugs-list mailing
New submission from Andrew Thompson :
I could not get Python3 to build on my OSX 10.6.8 box as per the instructions
on the website (or those in the README). It "configures" , but does not "make"
:
IOError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but
Changes by Andrew Thompson :
--
assignee: -> ronaldoussoren
components: +Macintosh
nosy: +ronaldoussoren
type: -> compile error
___
Python tracker
<http://bugs.python.org/i
Change by Andrew Svetlov :
--
pull_requests: +13301
___
Python tracker
<https://bugs.python.org/issue32972>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
https://github.com/python/cpython/pull/13386 is a new attempt to solve the
feature request
--
___
Python tracker
<https://bugs.python.org/issue32
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +13349
___
Python tracker
<https://bugs.python.org/issue29883>
___
___
Python-bugs-list mailin
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.7
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
The correct approach is using Protocol.pause_writing() /
Protocol.resume_writing() callbacks.
No trivial, though.
See `StreamWriter.drain()` for example of implementation.
--
___
Python tracker
<ht
Andrew Svetlov added the comment:
I'm sorry but I cannot tell why you are using `pause_writing` incorrectly
without looking on the code.
--
___
Python tracker
<https://bugs.python.org/is
Andrew Svetlov added the comment:
No. It doesn't work this way.
pause_writing is a protocol callback called from transport when the internal
buffer is full.
In reaction to this callback the producer should stop calling transport.write()
and resume writing after getting `resume_wr
Andrew Svetlov added the comment:
No. pause_writing/resume_writing are protocol callbacks called by transport.
User code should respond to these callbacks by stopping sending data to
transport (transport.write()).
The logic is a little complicated but it is ok for very low-level asyncio API
Andrew Svetlov added the comment:
Please re-read my previous comment.
If you use asyncio incorrectly -- yes, you can run out of memory.
The proper usage of pause_readind()/resume_reading() resolves the issue.
--
___
Python tracker
<ht
Andrew Svetlov added the comment:
Thank you very much for raising the question.
@patch(...) creates _patch class instance.
For decoration _patch.__call__ is used.
def __call__(self, func):
if isinstance(func, type):
return self.decorate_class(func)
return
Andrew Svetlov added the comment:
Great!
--
___
Python tracker
<https://bugs.python.org/issue34616>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Please keep in mind: not only asyncio can be used to execute async/await code.
For example, trio has completely different implementation but utilizes async
functions as well.
Probably we need to customize it, maybe by inheriting AsyncioDocTestRunner from
New submission from Andrew Svetlov :
After merging https://github.com/python/cpython/pull/9296 asyncio test suite
prints a lot of warnings like
Exception ignored in:
Traceback (most recent call last):
File "/home/andrew/projects/cpython/Lib/warnings.py", li
Change by Andrew Svetlov :
--
title: Fix asyncio mock wranings -> Fix asyncio mock warnings
___
Python tracker
<https://bugs.python.org/issue37015>
___
___
Py
Andrew Svetlov added the comment:
Agree with Nathaniel.
There is no need to rush now.
--
___
Python tracker
<https://bugs.python.org/issue37006>
___
___
Pytho
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
versions: +Python 3.7
___
Python tracker
<https://bugs.python.org/issue37008>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
xtreak thanks for investigation.
I have no time to work on it now, sorry.
Maybe the next week.
Anyway, the problem can be fixed even in python beta stage if we don't do it
earlier.
--
___
Python tracker
&
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue36802>
___
___
Python-bugs-list
New submission from Andrew Svetlov :
Currently asyncio uses `loop.call_exception_handler()` for logging *fatal*
exceptions from underlying sockets before calling protocol.connection_lost().
There is a list of exceptions that are not logged: BrokenPipeError,
ConnectionResetError
Andrew Svetlov added the comment:
Update.
Currently, exceptions from the ignore list are still logged in debug mode. The
proposal doesn't change this behavior.
--
___
Python tracker
<https://bugs.python.org/is
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +13460
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue37035>
___
___
Py
Andrew Svetlov added the comment:
Thanks for the report.
If the problem is in asyncio.wait_for() function the real network code can be
stripped for the leakage example and replaced with `await asyncio.sleep()`.
Would you try to boil down the snippet by converting it into a code that I can
Andrew Svetlov added the comment:
Nice, thanks!
--
___
Python tracker
<https://bugs.python.org/issue37042>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Pull Request is welcome!
--
___
Python tracker
<https://bugs.python.org/issue36686>
___
___
Python-bugs-list mailing list
Unsub
Andrew Svetlov added the comment:
Fixed by issue37035
--
resolution: -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder: -> Don't log OSError exceptions in asyncio transports
___
Pytho
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
pull_requests: +13501
pull_request: https://github.com/python/cpython/pull/13594
___
Python tracker
<https://bugs.python.org/issue37
Andrew Svetlov added the comment:
New changeset a79b6c578fcd2ea8be29440fdd8a998e5527200f by Andrew Svetlov in
branch '3.7':
[3.7] bpo-37035: Don't log OSError (GH-13548) (#13594)
https://github.com/python/cpython/commit/a79b6c578fcd2ea8be29440fd
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Fixed by #36889
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
superseder: -> Merge StreamWriter and StreamReader into just asyncio.Stream
___
Python tra
Andrew Svetlov added the comment:
Fixed by #36889
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
superseder: -> Merge StreamWriter and StreamReader into just asyncio.Stream
___
Python tracker
<https://
Andrew Svetlov added the comment:
The suggestion is using streams as a high-level API.
I see no real proposals in this issue.
select()/read()/write() is not suitable interface, sorry.
Closing, feel free to create a new issue if you come up with a concrete
proposal
New submission from Andrew Svetlov :
Done by #36889
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
superseder: -> Merge StreamWriter and StreamReader into just asyncio.Stream
___
Python tracker
<https://
Andrew Svetlov added the comment:
FlowControlMixing is a private API class.
The class is not intended for the usage outside of asyncio.
If you found it useful for you please feel free to copy-paste the class from
asyncio sources into your project.
The reason is: we want to keep freedom for
Andrew Svetlov added the comment:
#36889 deprecates using FlowXontrolMixin outside of asyncio
--
___
Python tracker
<https://bugs.python.org/issue34993>
___
___
Andrew Svetlov added the comment:
Brett please elaborate.
Do you want to incorporate async_lru library into CPython Core?
--
___
Python tracker
<https://bugs.python.org/issue35
1201 - 1300 of 3160 matches
Mail list logo