Ned Deily added the comment:
Python.org installers do not install anything to /usr/bin; they do, by default,
install symbolic links in /usr/local/bin. Python 3 installers set the symlink
/usr/local/bin/python3 to the most recently installed version. The Python
Launcher app has several open
R. David Murray added the comment:
Victor: in the production code discussed in the original posting, there *are*
line numbers, and they are meaningful; they just aren't monotonically
increasing.
I believe the request here is to simply remove the assert. (If we did that,
we'd have to also
R. David Murray added the comment:
The patch looks correct to me, but we also need tests.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21386
___
R. David Murray added the comment:
I'd prefer to get rid of it, otherwise we might get requests to add all the
other os.path functions to the shutil namespace, and I don't think having that
kind of more than one way to do it serves anyone. I suppose we'll have to
deprecate it first if we do
R. David Murray added the comment:
'below' doesn't make sense at all if you view it via pydoc. There is only one
unsafe function left, mktemp. Here is an alternate patch that takes advantage
of that fact.
--
nosy: +r.david.murray
Added file:
R. David Murray added the comment:
Milan: using 'localhost' is incorrect, since the string 'localhost' will not
always resolve to the local host IP, while passing None to getaddrinfo will.
It is significant that the example fails. We need a test for this case (the
imap tests have been
Kristian Benoit added the comment:
I added code to skip the bom if present when encoding is either None or
utf-8. The problem I have with Victor's solution is that users don't know
these files are not plain UTF-8. Most text editor says it's utf-8 encoded, how
can a user figure out there 3
Andrew Harrington added the comment:
I see not messing with /usr/bin. Your note about Python Launcher would be
a nice addition to the Mac installer notes. I would encourage that before
closing this.
On Sat, May 17, 2014 at 1:57 AM, Ned Deily rep...@bugs.python.org wrote:
Ned Deily added
R. David Murray added the comment:
OK, I've finally had time to review this, sorry for the delay.
The impalib mechanism is tailored to how imap works (that's the whole thing
about continuation response. smtplib auth works a bit differently, and your
adaptation looks OK to me. The
Changes by Kristian Benoit kristian.ben...@gmail.com:
Added file: http://bugs.python.org/file35270/json.v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21509
___
New submission from Claudiu.Popa:
Hello. While working on issue8579, I noticed that there is no way to detach a
key from the registry, loaded with LoadKey function. The attached patch exposes
RegUnLoadKeyW as winreg.UnloadKey. Also, this patch adds a new script in the
test folder,
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +steve.dower, tim.golden, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21518
___
Claudiu.Popa added the comment:
It needs administrator elevation for running the test. I'll update the patch to
skip the test if the user doesn't have elevation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21518
Thomas Heller added the comment:
When you say os.path.isdir(...) works fine, you mean it's returning False?
As shown in the original report
(http://bugs.python.org/issue21516#msg218664)
os.path.isdir() returns True; which is correct since c:\Users\admin is a
directory on my machine.
Steffen Ullrich added the comment:
Data transport in SSL is not done with plain TCP, but with encoded frames
inside TCP. To get decoded data one has to first receive the full frame, even
if one is only interested in the first bytes. Example:
- server does an SSL_write with 200 bytes. This
Antoine Pitrou added the comment:
So to make use of select with SSL the application would have to check first
with pending, if there are already buffered data,
What's the point of checking? Just call SSL_read() and catch the
SSL_ERROR_WANT_{READ,WRITE} to determine that no data is available;
Bas Wijnen added the comment:
After trying to use this, I think ssl.pending is a valuable function that
should be supported and documented.
My use case is a half-synchronous system, where I want most calls to block but
asynchronous events are possible as well. Switching the socket between
Roundup Robot added the comment:
New changeset 3024ad49f00e by Brian Quinlan in branch 'default':
Issue #21362: concurrent.futures does not validate that max_workers is proper
http://hg.python.org/cpython/rev/3024ad49f00e
--
nosy: +python-dev
___
Brian Quinlan added the comment:
Committed, thanks for the fix!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21362
___
Roundup Robot added the comment:
New changeset 44dac2e7fcb8 by Benjamin Peterson in branch '2.7':
support pep 3118 format strings for ctypes objects with nontrivial shapes
(closes #10744)
http://hg.python.org/cpython/rev/44dac2e7fcb8
New changeset 22938bf57161 by Benjamin Peterson in branch
Roundup Robot added the comment:
New changeset 060cfd049d14 by Stefan Krah in branch 'default':
Issue #20186: memoryobject.c: add function signatures.
http://hg.python.org/cpython/rev/060cfd049d14
--
nosy: +python-dev
___
Python tracker
Stefan Krah added the comment:
memoryobject.c is converted with a minimal patch (I would like to keep
100% code coverage for the file).
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20186
Steffen Ullrich added the comment:
What's the point of checking? Just call SSL_read() and catch the
SSL_ERROR_WANT_{READ,WRITE} to determine that no data is available; as a
bonus it also tells you whether you have to select() for read or for write.
A common scenario with non-blocking
Antoine Pitrou added the comment:
I was trying to point out that for SSL enabled sockets this approach
will no longer work and might cause odd stalling of connections,
because select will not show the socket as readable although data are
there for read.
You are right, this is worth
Mark Lawrence added the comment:
I propose the following. help('') returns help on strings in the same way that
help([]) and help({}) returns help on lists and dicts respectively, further
help(''.method) returns help on the string method or an attribute error, so
this appears to me
Roundup Robot added the comment:
New changeset b820b1b282b2 by Antoine Pitrou in branch '3.4':
Issue #21430: additions to the description of non-blocking SSL sockets
http://hg.python.org/cpython/rev/b820b1b282b2
New changeset 077e64b23592 by Antoine Pitrou in branch 'default':
Issue #21430:
Terry J. Reedy added the comment:
Summary of this post: compile currently checks user input with assert; this is
a bug that should be changed.
I re-read astlinenotest.py and realized that FunctionDef is included in '*' and
not some omitted import. (The latter is common for code posted on
Changes by Benjamin Peterson benja...@python.org:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7776
___
___
Donald Stufft added the comment:
@larry
Is there anything else I need to do?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7776
___
___
Berker Peksag added the comment:
Here is a patch to deprecate the shutil.abspath function.
--
nosy: +berker.peksag
Added file: http://bugs.python.org/file35272/issue21391.diff
___
Python tracker rep...@bugs.python.org
Berker Peksag added the comment:
Attaching a new version of issue2052_html5.diff. Changes:
- Switch from px to em in CSS
- Cleanup markup a bit (e.g. delete redundant colgroup tags)
--
Added file: http://bugs.python.org/file35273/issue2052_html5_v2.diff
Berker Peksag added the comment:
Berker: do you consider your diff ready to go in, or is it an early
diff (like a work-in-progress)?
I tested my patch with test_expectedFailure.py again. The patch is not really
fixes the problem described in msg215240. So, I consider it a WIP patch for
now.
Senthil Kumaran added the comment:
@dstufft - should you commit it in 3.4 branch (since the change is already in
3.5) and then wait for larry's approval or rejection?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7776
Larry Hastings added the comment:
Okay, this has my blessing to be merged for 3.4.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7776
___
___
Changes by Larry Hastings la...@hastings.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7776
___
___
Python-bugs-list
Larry Hastings added the comment:
(If the past few weeks have taught us *anything*, it's that we can't look to
OpenSSL to learn best practices.)
--
nosy: +larry
stage: - resolved
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
Considering that I'm tagging 3.4.1 within an hour or two, and we don't have a
patch yet, I'd say that this is too late to go into 3.4.1. But I'm happy to
consider it for a future 3.4.x revision.
--
___
Python
Alexey Gorshkov added the comment:
Issue #21430: additions to the description of non-blocking SSL sockets
I do not see any mention of .pending() in Your commit.
Is this some personal hate to subject?
Are You going to document this method or not? Documenting it on line of text.
If You are not
Berker Peksag added the comment:
I've added missing self._formatMessage() functions to assertRegex and
assertNotRegex asserts.
--
keywords: +patch
nosy: +berker.peksag
stage: needs patch - patch review
versions: -Python 3.3
Added file: http://bugs.python.org/file35274/issue20362.diff
New submission from Saimadhav Heblikar:
Steps to reproduce the bug:
1. IDLE options configure idle keys
2. Try to replace a keybinding for an action with that of another action which
has more than one keybinding.
For eg : Default binding of copy=Control-Key-c Control-Key-C.
So, try to
40 matches
Mail list logo