New submission from Andrew Svetlov:
Currently Popen.communicate accept str is universal_newlines==True and bytes if
universal_newlines==False.
I like to accept both str and bytes if universal_newlines is False and raise
explicit exception for bytes if universal_newlines is True.
Looks like
Changes by Andrew Svetlov :
--
components: +Library (Lib)
___
Python tracker
<http://bugs.python.org/issue15649>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Close the issue. Thanks, Chris.
It was the real regression, 3.2 works fine.
See also #15649 for accepting str if not universal_newlines.
--
___
Python tracker
<http://bugs.python.org/issue15
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15204>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I think current behavior is correct.
Every doctest is docstring from tested module, but not every docstring is a
valid doctest.
--
___
Python tracker
<http://bugs.python.org/issue14
Andrew Svetlov added the comment:
Add Alexander Belopolsky to nosy list as maintainer of datetime module.
--
nosy: +belopolsky
___
Python tracker
<http://bugs.python.org/issue15
Andrew Svetlov added the comment:
Good work.
--
___
Python tracker
<http://bugs.python.org/issue15543>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Yes, it is processed correctly.
--
___
Python tracker
<http://bugs.python.org/issue15543>
___
___
Python-bugs-list mailin
Andrew Svetlov added the comment:
Antoine, can you explain why subprocess support for universal_newlines is
broken?
As I can see tests for universal_newlines passed and these looks correct.
In general I like your idea to get rid of os.write, but maybe that patch should
be landed in 3.4?
If
Andrew Svetlov added the comment:
Reopen the issue because Windows tests is failed.
Commits for this issue breaks Windows buildbot for 3.2 and 3.3.
Looks like problem is: Windows os.linesep different than Unix.
I don't know what format expected by protocol.
--
nosy: +asvetlov
s
Andrew Svetlov added the comment:
I've pushed test for piping stdin, stdout and and stderr: 4af2c0687970
What other test we should to add?
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Оор. I see. Pushing to communicate input with "\r" (see attached patch)
produces the error.
Will work on fixing.
Thanks.
--
keywords: +patch
Added file: http://bugs.python.org/file26837/issue12623_failing
Andrew Svetlov added the comment:
I like to set status for the issue to "Release blocker" if Georg Brandl agree
with that.
--
nosy: +georg.brandl
priority: normal -> release blocker
___
Python tracker
<http://bugs.pytho
Andrew Svetlov added the comment:
The main question: can be fix applied to 3.3 or it can wait for 3.4?
3.2 has the same problem BTW.
--
___
Python tracker
<http://bugs.python.org/issue12
Andrew Svetlov added the comment:
The real test should to put '\n' and subprocess should get '\r\n', right?
Looking the code this test will fail on Windows.
I cannot check it just now but looks like this is the problem.
--
___
P
Andrew Svetlov added the comment:
Thank you, Petri.
--
___
Python tracker
<http://bugs.python.org/issue11062>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue6696>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15627>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15640>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15641>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15642>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15645>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15650>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15651>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15653>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15652>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15654>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15655>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15657>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15662>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15665>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15666>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15667>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15669>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15670>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15671>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15672>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15673>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15674>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15675>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I think we can change PyCFunction_Call to accept METH_KEYWORDS as alias for
METH_VARARGS | METH_KEYWORDS.
It cannot make incompatibility with existing code base.
--
___
Python tracker
<http://bugs.python.
Andrew Svetlov added the comment:
Looks good for me, but please use assertEqual instead assertEquals.
--
___
Python tracker
<http://bugs.python.org/issue15
Andrew Svetlov added the comment:
Fixed. Thank you.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue12643>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15731>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15721>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Ok, I'm +0 for that.
--
___
Python tracker
<http://bugs.python.org/issue14649>
___
___
Python-bugs-list mailing list
Unsubsc
Andrew Svetlov added the comment:
Is it finished or not?
Also looks like patch applied to 3.3 while issue marked for 2.7 and 3.2 also.
--
___
Python tracker
<http://bugs.python.org/issue12
Andrew Svetlov added the comment:
I'm ok with current status.
Thanks for clarification.
--
___
Python tracker
<http://bugs.python.org/issue12643>
___
___
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue6422>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue7741>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Does it mean implicit implying --upgrade option if venv dir is '.'?
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.o
Andrew Svetlov added the comment:
Changing exception type is not backward compatible and should be documented at
least if that change is really required.
Personally I slightly prefer to leave SystemError untouched
--
nosy: +asvetlov
___
Python
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15751>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I don't like current --clear behavior, it's really useless because now venv
just deletes everything from virtual environment.
You lose not only virtual env but files from your project also.
virtualenv cleans only /Lib directory, that's much b
Andrew Svetlov added the comment:
Well, I see. Agree with your patch then, it is correct.
--
___
Python tracker
<http://bugs.python.org/issue15776>
___
___
Pytho
Andrew Svetlov added the comment:
It is bug in shutil.rmtree, right?
--
___
Python tracker
<http://bugs.python.org/issue15776>
___
___
Python-bugs-list mailin
Andrew Svetlov added the comment:
Good point.
I will prepare the patch to fix this.
--
___
Python tracker
<http://bugs.python.org/issue15776>
___
___
Python-bug
Andrew Svetlov added the comment:
I like to leave fixes to 3.4.
Any change can produce side-effects, which can be nightmare for upcoming
release candidate.
Sure, Georg will share my opinion.
Though absence '\n' -> '\r\n' for input if OS is Windows and
universal_ne
Changes by Andrew Svetlov :
--
priority: release blocker -> critical
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue15776>
___
___
Changes by Andrew Svetlov :
--
title: Строки из IDLE поступают в неверной кодировке. -> IDLE console uses
incorrect encoding.
___
Python tracker
<http://bugs.python.org/issu
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue14803>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15798>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
The problem is: threading.Lock raises ThreadingError (which is subclass of
RuntimeError for 3.3 but not for 3.2), but threading.Condition raises
RuntimeError for the same reason.
RLock behavior is even worse: it raises ThreadingError if C accelerator is
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue13992>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
stage: committed/rejected ->
___
Python tracker
<http://bugs.python.org/issue15819>
___
___
Python-bugs-list mailing list
Un
Changes by Andrew Svetlov :
--
Removed message: http://bugs.python.org/msg169518
___
Python tracker
<http://bugs.python.org/issue15829>
___
___
Python-bugs-list m
Andrew Svetlov added the comment:
ValueError can be referenced by :exc:`ValueError`.
For ThreadError you can add section for describing this exception type like:
.. exception:: ThreadError
Raised when lock object cannot be acquired or released
Andrew Svetlov added the comment:
Thanks.
--
nosy: +asvetlov
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Sounds good.
--
___
Python tracker
<http://bugs.python.org/issue15829>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue14502>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15831>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Yes, it looks like Sphinx problem.
About having tho signatures for single function/method.
Does Sphinx support it for *.. function::*?
Pointing to anchor for first signature with adding second one somewhere in
paragraph text doesn't look
Andrew Svetlov added the comment:
No, methods for *curses* are also corrupted.
--
___
Python tracker
<http://bugs.python.org/issue15831>
___
___
Python-bugs-list m
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15840>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
BTW see #15839: super now raises RuntimeError.
After that I revoke my objection for exception type changing.
--
___
Python tracker
<http://bugs.python.org/issue15
Andrew Svetlov added the comment:
Maybe better to check cwd in _call_popen_and_assert for child process (like
test_cwd does) instead of just checking for successful child execution?
--
___
Python tracker
<http://bugs.python.org/issue15
Andrew Svetlov added the comment:
Update patch.
--
Added file: http://bugs.python.org/file27112/issue-15533-4-default.patch
___
Python tracker
<http://bugs.python.org/issue15
Andrew Svetlov added the comment:
I believe it's trick for Tru64 platform.
I've asked to support of this in python-dev.
--
___
Python tracker
<http://bugs.python.o
Andrew Svetlov added the comment:
Hash randomization is security patch.
It is applied to 2.6.8, 2.7.3, 3.2.3 and 3.3.
Python doc should not enumerate all affected releases.
For example, if you read docs for 2.6 branch it shows you 2.6.8 version only
and that's ok.
--
nosy: +asv
Andrew Svetlov added the comment:
Well, I can try to make patch.
Please note: versionadded tag accepts only single version argument, you have to
use couple of tags which looks weird.
--
___
Python tracker
<http://bugs.python.org/issue15
Andrew Svetlov added the comment:
I'll take a look next week if nobody else do it before.
--
___
Python tracker
<http://bugs.python.org/issue14900>
___
___
Andrew Svetlov added the comment:
Well, the patch is welcome.
--
___
Python tracker
<http://bugs.python.org/issue15863>
___
___
Python-bugs-list mailing list
Unsub
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15871>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue15956>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue13896>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
No it shoudn't.
It works exactly as described:
Return a copy of string *str* with all occurrences of substring *old* replaced
by *new*. If the optional argument *maxreplace* is given, the first
*maxreplace* occurrences are replaced.
*str* is updated strin
Andrew Svetlov added the comment:
If you want just to change parameter name in the docs — I'm ok with that.
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Fixed in c34a177d1f38
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Chris, please commit your patch. It's fine for me.
--
___
Python tracker
<http://bugs.python.org/issue15533>
___
___
Pytho
Changes by Andrew Svetlov :
--
assignee: -> asvetlov
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python
Andrew Svetlov added the comment:
Thanks to Michael Driscoll.
BTW you have forgotten to remove C functions from module definition in your
patch.
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python track
Andrew Svetlov added the comment:
Fixed. Thanks to Roger Serwy.
--
nosy: +asvetlov
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
The patches looks good for me, but I like to double check before commit.
Let's wait for a week for other reviewers.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Fixed. Thanks to py.user
--
nosy: +asvetlov
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16140>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16116>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16123>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Is it affected for 3.3 and 3.4 also?
--
nosy: +asvetlov
versions: +Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue16
Andrew Svetlov added the comment:
Please write what exact text you want to see in documentation.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16
1901 - 2000 of 2519 matches
Mail list logo