On Nov 18, 9:58 am, Bryan Richardson btri...@gmail.com wrote:
Hello All,
First off I must say that Twisted is a very nice event driven I/O
package indeed. Thanks to all the developers who have contributed to
it, as it's made my life much easier.
Now for my question...
I have a custom
On Nov 18, 1:31 pm, John Nagle na...@animats.com wrote:
On 11/18/2010 4:24 AM, BartC wrote:
John Nagle na...@animats.com wrote in message
news:4ce37e01$0$1666$742ec...@news.sonic.net...
On 11/16/2010 10:24 PM, swapnil wrote:
AFAIK, the merging plan was approved by Guido early
On Nov 15, 10:42 am, de...@web.de (Diez B. Roggisch) wrote:
And circumvene a great deal of the dynamic features in python
(which you don't need for this usecase, but still are there)
Great as the features might be, when you don't need them, it's clearly
a bad thing to have them drag you down.
On Nov 14, 11:08 am, Artur Siekielski artur.siekiel...@gmail.com
wrote:
Hi.
I'm using CPython 2.7 and Linux. In order to make parallel
computations on a large list of objects I want to use multiple
processes (by using multiprocessing module). In the first step I fill
the list with objects and
On Nov 10, 9:23 pm, Tim Roberts t...@probo.com wrote:
Mag Gam magaw...@gmail.com wrote:
I am measuring the round trip time using tcpdump. The C version is
giving me around 80 microseconds (average) and the python is giving me
close to 300 microseconds (average).
If you need the performance
On Nov 9, 5:20 am, Mag Gam magaw...@gmail.com wrote:
Hello,
When measuring round trip time for the UDP echo client/server the C
version is much faster. I was wondering if there is anything I can do
to speed up.
My current code for client looks like this
sock=socket(AF_INET,SOCK_DGRAM)
New submission from Jean-Paul Calderone inva...@example.invalid:
Consider this transcript:
cProfile.run(import time; time.sleep(1))
4 function calls in 1.012 CPU seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
1
On Nov 1, 6:43 pm, exar...@twistedmatrix.com wrote:
Hello all,
I'm happy to announce the release of pyOpenSSL 0.11. The primary change
from the last release is that Python 3.2 is now supported. Python 2.4
through Python 2.7 are still supported as well. This release also fixes
a handful of
On Oct 29, 10:08 am, Adam Tauno Williams awill...@whitemice.org
wrote:
signal handler to do something smart in the case of a -15 [for which
there isn't really a thread equivalent - can you sent a SystemV style
signal to an individual thread in a process? I don't think so.]
Yes.
New submission from Jean-Paul Calderone inva...@example.invalid:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(('', 0))
s.sendto(u'hellé', s.getsockname())
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: sendto() takes exactly 3 arguments (2 given
Jean-Paul Calderone inva...@example.invalid added the comment:
If the warnings are emitted as usual with the warnings module, you can use -W
to control this. -X isn't necessary.
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http
On Oct 1, 10:35 am, Antoine Pitrou solip...@pitrou.net wrote:
On Thu, 30 Sep 2010 07:01:09 -0700 (PDT)
Jean-Paul Calderone exar...@twistedmatrix.com wrote:
But signal dispositions are inherited by child processes. So you run
ping from your short Python program, and it inherits SIGPIPE
On Sep 30, 9:08 am, David wizza...@gmail.com wrote:
On Wed, Sep 29, 2010 at 6:49 PM, John Nagle na...@animats.com wrote:
Python's signal handling for multithread and multiprocess programs
leaves something to be desired.
Thanks for the confirmation (that I'm not missing something obvious).
On Sep 29, 4:08 pm, Jim Mellander jmellan...@lbl.gov wrote:
On Wed, Sep 29, 2010 at 11:05 AM, Gary Herron gher...@digipen.edu wrote:
On 09/29/2010 09:50 AM, Jim Mellander wrote:
Hi:
I'm a newbie to python, although not to programming. Briefly, I am
using a binding to an external
Jean-Paul Calderone inva...@example.invalid added the comment:
fwiw http://mail.python.org/pipermail/python-list/2010-September/1256545.html
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9994
Jean-Paul Calderone inva...@example.invalid added the comment:
You mistakenly used is for these comparisons, rather than ==. The strftime
involvement is a red herring. The real problem is the use of an /identity/
comparison rather than an /equality/ comparison.
--
nosy: +exarkun
Jean-Paul Calderone inva...@example.invalid added the comment:
It could, but why introduce this redundancy with `os.name`?
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9966
Jean-Paul Calderone inva...@example.invalid added the comment:
You can't rely on id() to return distinct values across different processes.
It guarantees uniqueness *within a single process* (at any particular moment).
In other words, you're misusing id() here. This is not a Python bug
Jean-Paul Calderone inva...@example.invalid added the comment:
Unfortunately, select doesn't necessarily update the timeout variable with
the remaining time, so we can't rely on this. This would mean having the
select enclosed within gettimeofday and friends, which seems a bit overkill
Jean-Paul Calderone inva...@example.invalid added the comment:
How about nss? As a bonus, this would also avoid making more work for Fedora
(http://fedoraproject.org/wiki/FedoraCryptoConsolidation).
--
___
Python tracker rep...@bugs.python.org
http
Jean-Paul Calderone inva...@example.invalid added the comment:
What it will bring: APIs which aren't absolutely insane; full SSL support; RSA,
DSA, ECDSA, Diffie-Hellman, EC Diffie-Hellman, AES, Triple DES, DES, RC2, RC4,
SHA-1, SHA-256, SHA-384, SHA-512, MD2, MD5, HMAC: Common cryptographic
Jean-Paul Calderone inva...@example.invalid added the comment:
I should note that I can't touch anything to do with Elliptic Curve crypto.
I don't know if I can comment on the reasons for that.
Hopefully anything ECC related can be done separately. There's certainly no
ECC APIs in Python
New submission from Jean-Paul Calderone inva...@example.invalid:
The output of setup.py is polluted with this log message:
Importing new compiler from distutils.msvc9compiler
on Windows. For example, using pyOpenSSL's setup.py, running setup.py
--version produces this output:
Importing
New submission from Jean-Paul Calderone inva...@example.invalid:
Here's a transcript which demonstrates the blocking behavior:
import socket
import time
import ssl
s = ssl.wrap_socket(socket.socket())
s.connect(('localhost', 8443))
s.send('GET /async.rpy HTTP/1.1\r\n\r\n')
27
Changes by Jean-Paul Calderone inva...@example.invalid:
--
title: PySSL_SSLRead loops until data is available, even in non-blocking mode
- PySSL_SSLread loops until data is available, even in non-blocking mode
___
Python tracker rep
Jean-Paul Calderone inva...@example.invalid added the comment:
Hm. I must have been testing with old versions, since I can't reproduce this
now. Sorry for the noise.
--
resolution: out of date - duplicate
status: pending - closed
___
Python
Jean-Paul Calderone inva...@example.invalid added the comment:
This seems to have been caused by an ill-placed distutils.log.set_verbosity(3)
call. With that removed, this output isn't generated by default. So perhaps
this is invalid, feel free to close it as so if you agree
Jean-Paul Calderone inva...@example.invalid added the comment:
I'll be looking at it shortly. Py3.2 is still aways from release so there is
no hurry.
I would consider reviewing and possibly apply this change, but I don't want to
invade anyone's territory.
--
nosy: +exarkun
Changes by Jean-Paul Calderone inva...@example.invalid:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8685
___
___
Python-bugs
Jean-Paul Calderone inva...@example.invalid added the comment:
exar...@boson:~/Projects/python-signalfd/trunk$ PYTHONPATH=
~/Projects/python/branches/py3k/python setup.py build_ext -i
running build_ext
building 'signalfd._signalfd' extension
creating build
creating build/temp.linux-i686-3.2
Changes by Jean-Paul Calderone inva...@example.invalid:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9053
On Aug 18, 9:20 pm, Margie Roginski margierogin...@gmail.com wrote:
Hi,
I am using unittest in a fairly basic way, where I have a single file
that simply defines a class that inherits from unittest.TestCase and
then within that class I have a bunch of methods that start with
test. Within
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
This is a security feature and should not be broken !
Can you explain this?
I don't think I agree, since an attacker can always serialize whatever they
feel like. It's the person doing the deserialization that has
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
By adding default support for unpickling code objects, you can trick
the unpickling code into executing serialized code:
This doesn't sound correct to me.
You can *already* trick unpickling code into executing serialized code
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
For example:
exar...@boson:~$ python
Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15)
[GCC 4.4.1] on linux2
Type help, copyright, credits or license for more information.
class x(object):
... def __reduce__(self
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
I also like Antoine's idea of pickling the function/method name instead of
the whole code object.
I like it too. That's why I suggested it in the first comment on the ticket
(read the linked code). I guess Alexander likes
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Note, however that since unbound methods have been removed in 3.x, it is not
trivial to find a fully qualified name of a method anymore.
This is a rather sad loss of functionality
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Yes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2124
___
___
Python-bugs
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Calling linecache.checkcache for every inspect.getsource call sounds like a
fairly bad idea to me.
linecache.checkcache does a stat() of every single cached file.
--
nosy: +exarkun
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
linecache.checkcache does a stat() of every single cached file.
Ah, sorry. I didn't read carefully enough. I see that the patch passes in the
filename and checkcache restricts the work it does in that case.
Something else
New submission from Jean-Paul Calderone exar...@twistedmatrix.com:
pickle doesn't support methods:
class x:
... def y(self):
... pass
...
import pickle
pickle.dumps(x.y)
Traceback (most recent call last):
File stdin, line 1, in module
File /home/exarkun/Projects/python
On Jul 10, 2:42 pm, Gelonida gelon...@gmail.com wrote:
Hi,
I'd like to debug a small wsgi module.
I run it either on an apache web server
or locally via wsgiref.simple_server.make_server
and following code snippet:
from wsgiref.simple_server import make_server
httpd =
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Some unit tests which demonstrate the present non-working behavior and the
correctness of the fix would help a lot.
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
I can't think of any way that you might be able to implement the behavior being
requested here.
Instead, if you don't want to leave files lying around, use TemporaryFile
instead of NamedTemporaryFile.
Perhaps the documentation
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
You should include all relevant issue materials here, in the Python issue
tracker. This ticket will be useless as soon as pastie.org decides to forget
about your paste.
--
nosy: +exarkun
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Thanks for bringing this up.
I think you have more work to do to successfully make the case that L.insert(0,
x) is difficult enough to merit the addition of a new list method. There are
already at least two in-place insert
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
The argument that there are already two ways to do it, so why add a third?,
is not bad, but if applied to appending, it would ban the append() method...
except that it's already there.
Not quite. First let's consider
New submission from Jean-Paul Calderone exar...@twistedmatrix.com:
With a checkout of the py3k branch, building an extension module using
distutils fails:
error: Python.h: No such file or directory
This is clearly because the wrong -I option is being supplied:
gcc -pthread -g -O2
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
It's not terribly productive to block a fix for this specific issue in the WSGI
specification on the big pile of contentious unrelated issues.
It would make sense to issue a new WSGI specification with a correction for
only
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
See the commit message for r82075 and the discussion on issue8972 and issue7839.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1300
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
It will return the former.
To clarify, it's true that there appears to be a problem with Popen(['echo',
'foo|bar'], shell=True). That is being tracked in issue7839.
What's invalid is the report that list2cmdline() should
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
It might be nice to see the version that avoids the dup() and has the duplicate
code instead (interesting trade-off ;). Just for the sake of comparison
against the forget() proposal
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
These sound more like features for the unittest runner (one of which is
implemented already). Also, please don't propagate :: as a namespace
separator in Python. That's what . is for.
--
nosy: +exarkun
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
I reverted r60115 from trunk (2.7) in r82075 and from py3k in r82076.
--
nosy: +exarkun
resolution: fixed - invalid
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
I've reverted the issue1300 revision from 2.6, 2.7, 3.1, and 3.2. I hope
7839 is resolved soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8972
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
That remark is not relevant, because the actual problem is different.
Maybe you can expand the test case to demonstrate the actual problem? The
tests in the latest patch are for list2cmdline directly. But you can't observe
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Thanks for reporting this issue. Can you attach a patch which adds a unit test
covering this behavior and fixing the quoting rules? It would be very helpful
in resolving this ticket. If implementing the whole thing is too much
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Thanks.
I'm not sure this is a correct change. And in fact, I would say that the
current quoting of | is also incorrect.
and | (and ^ and perhaps several others) have special meaning to cmd.exe.
list2cmdline is documented
Changes by Jean-Paul Calderone exar...@twistedmatrix.com:
--
components: +Library (Lib)
stage: unit test needed -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8972
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
http://www.autohotkey.net/~deleyd/parameters/parameters.htm#WINCRULES is a
helpful reference, by the way.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8972
New submission from Jean-Paul Calderone exar...@twistedmatrix.com:
Packages loaded from zip files have a __path__ sort of like any other package.
The zipimport tests don't verify that this attribute has the correct value,
though.
--
components: Tests
messages: 107327
nosy: exarkun
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
About the doc patch: I like the word Resolves more than Translate.
Resolves implies possible network activity to me. Translate sounds like
it's just a change in representation. Of course, things like `AI_NUMERICHOST
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
If the user issues the 'save' command a commit is done. When they quit the
application, I'd like to be able to prompt them with a 'save or discard' if
and only if they have made changes since the last save.
Isn't
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Backported to release26-maint in r81488.
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1628205
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Sorry I don't like this as much. I believe following the RFC for TLS SNI
should be implicit and not something the programmer need to put effort into
achieving. I acknowledge this approach does go against some explicit
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Nope, I checked before making the suggestion. There's an SSL_CTX_ version of
this API (in addition to the SSL_ version).
Sorry, I just checked again, and it seems you're right. Perhaps I saw
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Here's another possible approach:
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
ctx.set_tlsext_host_name(foo.bar)
skt = ctx.wrap_socket(socket.socket())
skt.connect(bar.baz)
This makes it obvious what the SNI hostname is and what
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Have you looked at the number of TIME_WAIT sockets you have on the system when
your benchmark gets to the 16000 request mark?
This looks exactly like a regular TCP limitation to me. You'll find the limit
on any platform
Changes by Jean-Paul Calderone exar...@twistedmatrix.com:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3051
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
In addition to skipping the tests, would it also make sense to document these
known limitations of Python threading on OpenBSD somewhere that end users might
see it?
--
___
Python
New submission from Jean-Paul Calderone exar...@twistedmatrix.com:
The item How do I prepare a new branch for merging? is unclear about which
branch needs to be prepared. It could be the source branch or the destination
branch. In #python-dev, I learned that it's probably the destination
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Should be resolved in, oh, let's see, r81007, r81011, r81016, and r81018.
Thanks to everyone who helped out.
--
resolution: - fixed
status: open - closed
versions: +Python 3.1
Changes by Jean-Paul Calderone exar...@twistedmatrix.com:
--
keywords: +needs review
status: open - languishing
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2574
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
I agree that this should be landed (for 2.6 and 2.7). I think I can do it. I
made some changes to the tests, though. It would be nice for someone to look
those over and make sure the change still looks good.
I checked
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Major buildbot failures caused by this change, eg:
ERROR: test_file (test.test_urllib2net.OtherNetworkTests)
--
Traceback (most recent call last):
File
/home
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
I think this is ready for a first review. See
http://codereview.appspot.com/1132041. If everyone agrees this is
inappropriate for 2.7, then I'll port the changes to 3.x. I don't expect there
to be much difference in the 3.x
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
You mean that socket.create_connection(), httplib (issue 3972) and ftplib
(issue 8594) should have used a different API to implement their
source_address option?
I'm not sure what you mean. The problem here is that you
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
One of the tests in test_socket is checking that an attempt to connect to a
port with no server running gives socket.error. For that, we need a port
that's guaranteed to have no server present.
A good way to do
Changes by Jean-Paul Calderone exar...@twistedmatrix.com:
--
stage: unit test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5727
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
I'm not sure if I agree that find_unused_port() should be removed though; it
does serve a purpose in very rare corner cases.
It can serve a purpose in any number of cases. My point is that it's *always*
unreliable, though
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Considering that it's extremely difficult to implement this correctly and in a
cross-platform way, I think it makes sense as a stdlib addition (though I'd add
it as a method of a `path` type rather than to the shell utilities
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
One open question regarding interaction with threading. sigprocmask's behavior
in a multithreaded program is unspecified. pthread_sigmask should be used
instead. I could either expose both of these and let the caller choose
Changes by Jean-Paul Calderone exar...@twistedmatrix.com:
--
nosy: +gps
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8407
___
___
Python-bugs
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
find_unused_port is the wrong approach altogether. Uses of it should be
replaced by bind_port and then find_unused_port should be removed.
--
___
Python tracker rep...@bugs.python.org
Changes by Jean-Paul Calderone exar...@twistedmatrix.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue665761
___
___
Python
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
http://www.openssl.org/news/secadv_20100324.txt
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3555
New Windows builds of any versions of CPython which are still receiving
security updates should be released
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
For reference:
http://pyopenssl.sourceforge.net/pyOpenSSL.html/openssl-context.html
http://www.heikkitoivonen.net/m2crypto/api/M2Crypto.SSL.Context%27.Context-class.html
and `man -k SSL_CTX_`
--
nosy: +exarkun
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
What is the mnemonic corresponding to errno 35 under OS X?
EAGAIN
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8493
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
But as I said, it's not reliable.
I don't see any evidence in support of this statement. Did you notice that the
FreeBSD thread you referenced is:
* 6 years old
* about UDP
It's not obvious to me that it's actually
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
None of that has much relevance when the socket is in *non-blocking* mode.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8493
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
If there's something else that would be useful and I can provide it, I'd be
glad to.
A minimal example which reproduces the behavior. :)
--
___
Python tracker rep...@bugs.python.org
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
But if someone can get me access to an FTP server on the other end of a slow
link, I'd be glad to do what I can half-wink.
It's easy to get a slow FTP server. Twisted's FTP support lets you do all
kinds of customization
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
getpeername() sometimes failing soon after a socket is created is a
semi-well-known Windows socket... feature. For whatever that's worth.
--
___
Python tracker rep...@bugs.python.org
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
It'd be nice to have a unit test that passes a small enough value to listen()
to trigger the check. Since there's no way to reliably determine what the
system backlog really is, there's probably no reason to actually try
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Well, at the risk of stating the obvious, perhaps the dup() thing should be
eliminated. The justification for it seems less than clear, and apparently it
causes some problems.
That might be a direction to consider in the long
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Furthermore, python's socket documentation makes it clear:
Why does CPython go out of its way to make it impossible to pass 0 to the
platform listen() API? The part of the specification you quoted makes it very
clear that 0
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
SMTP (RFC 2821) doesn't support non-ASCII envelope addresses. A better
behavior here would be for connection.login to raise a ValueError or a
TypeError whenever a non-str is passed in.
RFC 5336, though, adds the UTF8SMTP
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
The one big difference I can see is that set_wakeup_fd() doesn't transmit the
signal number, but this could be fixed if desired (instead of sending '\0',
send a byte containing the signal number).
There's a lot more
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Will the modified test fail on platforms that don't define HAVE_SIGACTION?
Only if they also have siginterrupt, which seems unlikely (as neologix
explained). The implemented behavior on such platforms is unmodified from
New submission from Jean-Paul Calderone exar...@divmod.com:
There are two tests for the way inspect.classify_class_attrs handles various
sorts of attributes. The tests are identical, except one uses a classic class
and one a new-style class. The tests sources have actually begun to diverge
101 - 200 of 1065 matches
Mail list logo