Alex Gaynor added the comment:
The attached patch (drafted by myself, and David Reid) backports all of the SSL
module (and tests!!!) to Python 2.7. All tests pass on my machine (OS X 10.9),
I haven't tested against other platforms.
I /suspect/ the best way to review this patch will be by
Alecz added the comment:
If this request was rejected shouldn't the Resolution be something such as
Rejected, Not a Bug, or Wont fix?
At the first glance, I believe it is very misleading to see this as fixed.
I even installed the latest version and was surprised to see that the fix did
not
STINNER Victor added the comment:
Sorry, why restrict it to sockets on Windows?
If someone wants to pass e.g. a pipe, why prevent it?
Pipes cannot be configured in non-blocking mode on Windows. It sounds dangerous
to call a blocking syscall in a signal handler.
In fact, it works to write
Changes by Ian Cordasco graffatcolmin...@gmail.com:
--
nosy: +icordasc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21308
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13533
___
___
Python-bugs-list mailing
Antoine Pitrou added the comment:
In fact, it works to write the signal number into a pipe on Windows, but I'm
worried about the blocking behaviour.
It wasn't different before, so I'm not sure why we should start to worry about
it?
--
___
Python
New submission from Lita Cho:
I updated my source code, and it looks like turtledemo doesn't launch anymore.
I get the following error:
Traceback (most recent call last):
File /Users/litacho/Development/cpython/Lib/runpy.py, line 170, in
_run_module_as_main
__main__, mod_spec)
File
Terry J. Reedy added the comment:
Posted today on python-ideas with the mistaken title os.path.argparse -
optional startdir argument by Wolfgang Maier (wolma). (He corrected in a
second post, but too late.) Juancarlo Añez pointed to pathlib.Path.resolve as
a better alternative. Path joins
Lita Cho added the comment:
Looks like this method was not doing anything. I removed it and the demo is
working just fine. Here is a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file36076/tk_menubar_fix.patch
___
Python tracker
New submission from Terry J. Reedy:
1. The pattern argument for .(r)glob must be relative. I think the docstrings
and doc should say so. /pattern/relative pattern/
For rglob: '''This is like calling glob() with “**” added in front of the given
pattern:'''
2. Currently glob() links to the
R. David Murray added the comment:
Do non-relative patterns even make sense? I was surprised to get a
NotImplementedError instead of a ValueError.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22062
Nick Coghlan added the comment:
Changing this isn't really feasible with the current design of the
initialisation code - we call Py_FatalError in various places because we don't
have the infrastructure set up to do anything else.
PEP 432 should help (and the basic design there still seems
Lita Cho added the comment:
Here is an updated version of the patch now that Terry submitted the changes
from issue21597.
--
Added file: http://bugs.python.org/file36077/window_pane_font_size_v3.patch
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
In fact, it works to write the signal number into a pipe on Windows, but I'm
worried about the blocking behaviour.
It wasn't different before, so I'm not sure why we should start to worry
about it?
Does you have an idea if set_wakeup_fd() is used on
David Wilson added the comment:
This new patch abandons the buffer interface and specializes for Bytes per the
comments on this issue.
Anyone care to glance at least at the general structure?
Tests could probably use a little more work.
Microbenchmark seems fine, at least for construction.
Roundup Robot added the comment:
New changeset 5ce01ee2a8f4 by Victor Stinner in branch 'default':
Issue #22018: Fix test_set_wakeup_fd_result(), use assertEqual() not
http://hg.python.org/cpython/rev/5ce01ee2a8f4
--
___
Python tracker
New submission from STINNER Victor:
The sock_xxx() methods of asyncio.BaseEventLoop don't make the socket
non-blocking, and the documentation doesn't require that sockets are already
set to non-blocking mode.
It looks like a bug, at least in the documentation.
If these methods should make
Demian Brecht added the comment:
Attached a new patch with with a simple test.
--
Added file: http://bugs.python.org/file36079/issue22041_1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22041
STINNER Victor added the comment:
Does you have an idea if set_wakeup_fd() is used on Windows? It's not
possible to use it with select.select() because on Windows this function only
accepts sockets. I don't know if it's possible to watch a pipe using IOCP. Is
set_wakeup_fd() used by
wjssz added the comment:
Feel free to modify this patch.
--
Added file: http://bugs.python.org/file36080/nonbmp_except_check.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21084
___
Lita Cho added the comment:
Here is a new patch where it checks to see if turtledemo exists first before
loading it onto the bindings.
--
Added file: http://bugs.python.org/file36081/turtle_demo_v2.patch
___
Python tracker rep...@bugs.python.org
Guido van Rossum added the comment:
PEP 3156 is clear: The socket argument has to be a non-blocking socket. So
it's a documentation issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22063
wjssz added the comment:
nonbmp_except_check_v2.patch changes character numbers to 0-based, same as IDLE.
Quote from www.tkdocs.com :
for historical conventions related to how programmers normally refer to lines
and characters, line numbers are 1-based, and character numbers are 0-based.
paul j3 added the comment:
Note that
'-t 1 2 3'.split()
becomes
['-t', '1', '2', '3']
Your 'type' function sees those 3 strings individually. Try printing 'string'
the first thing in your function to see what we mean.
--
nosy: +paul.j3
paul j3 added the comment:
That's an artifact of how the group usage is formatted (which isn't very
robust). It's not designed to handle nested groups.
Mutually exclusive groups aren't meant to nest inside other mutually exclusive
groups. While it possible, it doesn't help you.
Serhiy Storchaka added the comment:
Indeed, unlike to other removed methods which raised an exception, removing
this doing nothing method can break existing code. We should restore it and add
deprecation warning.
Of course the use of obsolete method should be removed from turtledemo.
101 - 126 of 126 matches
Mail list logo