New submission from Austin Bingham:
When passed a weakref.proxy to a legitimate sequence, reversed() throws a
TypeError complaining that its argument isn't a sequence. Perhaps this is the
expected behavior, but it's surprising to at least me and the few others I've
spoken with about
with the server. Currently, there is only an
emacs lisp client.
This release includes numerous bug fixes and some new functionality.
The traad project page is on github at:
https://github.com/abingham/traad
traad is under active development, and any feedback is very welcome. Enjoy!
Austin Bingham
with the server. Currently, there is only an
emacs lisp client.
The traad project page is on github at:
https://github.com/abingham/traad
traad is under active development, and any feedback is very welcome. Enjoy!
Austin Bingham
--
http://mail.python.org/mailman/listinfo/python-announce-list
Changes by Austin Bingham austin.bing...@gmail.com:
--
nosy: +abingham
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13807
___
___
Python-bugs
I'm pleased to announce the release of parameterized-testcase 0.2. You
can get it here:
http://code.google.com/p/parameterized-testcase/downloads/list
This is primarily a documentation release, with only minor changes to the API.
What is parameterized-testcase?
I'm happy to announce the release of ackward-0.4.
http://code.google.com/p/ackward/
Ackward is a C++ API for parts of the Python standard library. This
release focuses primarily on logging, and it includes a number of
API improvements, bug fixes, and a great deal of improvement to the
Austin Bingham austin.bing...@gmail.com added the comment:
Yes, in some sense that's what I'm thinking of. But one problem with
this straightforward approach is that it doesn't scale well. If I've
got many TestCases, each if which I want to parameterize, I have to
create subclasses for each
Austin Bingham austin.bing...@gmail.com added the comment:
Has a decision been made to implement some form of parametric tests? Is working
being done?
Along with parameterizing individual test methods, I'd also like to throw out a
request for parametric TestCases. In some cases I find that I
New submission from Austin Bingham austin.bing...@gmail.com:
In the discussion about adding support for parameterized tests (issue 7897), it
seemed clear that parameterizing individual tests was a different issue from
parameterizing TestCases. This, then, is a request to support
Austin Bingham austin.bing...@gmail.com added the comment:
OK, I created issue 12600 for dealing with parameterized TestCases as
opposed to individual tests.
On Wed, Jul 20, 2011 at 4:03 PM, R. David Murray rep...@bugs.python.org wrote:
Unless someone sees a clever way to implement both
ackward 0.3 has been released.
ackward is a boost.python-based C++ interface to parts of the Python
standard library. It aims to simplify the use of Python modules in
C++, both for embedding and extension situations.
This release is largely a clean-up and documentation release, with
some work
Hei!
I'm a Python developer in Stavanger, Norway looking for other Python
users/developers/etc. who might be interested in starting a local user
group. Anyone interested? This group might actually evolve into a
general programming/computer group, depending on the mix of people,
but I think that's
Is there any way to compile python (3.1.3, in case it matters) without
ssl support? OpenSSL is on my system, and configure finds it, but I
can't find a way to tell configure to explicitly ignore it.
I need a version of python without ssl for trade compliance reasons (I
don't make the dumb rules,
New submission from Austin Bingham austin.bing...@gmail.com:
traceback.print_exception() will throw an AttributeException if `value` is None
and `chain` is True. This is because `_iter_chain` assumes that the exception
object has a `__cause__` attribute. You can trigger this by trying
ackward provides a C++ interface to some of the standard Python
modules, and is aimed at simplifying some extension/embedding tasks.
This is the first release of the ackward library. It includes pretty
good support for the uuid, logging, time, and datetime modules.
Project page:
Just to elaborate on Terry's point a bit, sys.path is influenced (in
part) by the PYTHONPATH environment variable. If you find that the
directory containing 'python' is not in sys.path (which you can check
with 'import sys; print sys.path'), add that directory to PYTHONPATH
and try again. This may
Does the 'python' directory contain a file named '__init__.py'? This
is required to let that directory act as a package (see:
http://docs.python.org/tutorial/modules.html#packages); without it,
you'll see the symptoms you're seeing.
Austin
On Mon, Feb 8, 2010 at 4:56 AM, 7H3LaughingMan
I've noticed that several (many?) python functions seem to clear the
error/exception indicators when they're called from a C/C++ program.
For example, both PyImport_ImportModule and traceback.extract_tb()
(called via the function call methods) do this: if error indicators
are set prior to their
by checking function calls for failure?
Austin
On Fri, Jan 29, 2010 at 9:04 PM, Gabriel Genellina
gagsl-...@yahoo.com.ar wrote:
En Fri, 29 Jan 2010 11:37:09 -0300, Austin Bingham
austin.bing...@gmail.com escribió:
I've noticed that several (many?) python functions seem to clear the
error/exception
won't modify the
error indicators appears to be wrong, however, and I've modified my
code accordingly.
Austin
On Sat, Jan 30, 2010 at 1:11 AM, Gabriel Genellina
gagsl-...@yahoo.com.ar wrote:
En Fri, 29 Jan 2010 18:25:14 -0300, Austin Bingham
austin.bing...@gmail.com escribió:
Maybe I'm
:
Austin Bingham austin.bing...@gmail.com wrote:
The functions that do this don't seem to indicate in their
documentation that this will happen. So first, does anyone know why
this is happening? Is it because of the context in which I'm making
the calls? Is there any pattern or reason behind
)' rather than
'hash(x)'.
Is this possible? Am I just thinking about this problem the wrong way?
Admittedly, I'm coming at this from a C++/STL perspective, so perhaps
I'm just missing the obvious. Thanks for any help on this.
Austin Bingham
--
http://mail.python.org/mailman/listinfo/python-list
just not
what I am looking for.
Austin
On Thu, Oct 15, 2009 at 1:36 PM, Chris Rebert c...@rebertia.com wrote:
On Thu, Oct 15, 2009 at 4:24 AM, Austin Bingham
austin.bing...@gmail.com wrote:
If I understand things correctly, the set class uses hash()
universally to calculate hash values for its
I guess we see things differently. I think it's quite natural to want
a set of unique objects where unique is defined as an operation on
some subset/conflation/etc. of the attributes of the elements. That's
all that the regular set class is, except that it always uses the
hash() function to
On Thu, Oct 15, 2009 at 2:23 PM, Diez B. Roggisch de...@nospam.web.de wrote:
Austin Bingham wrote:
This is a POV, but to to me, the set just deals with a very minimal
protocol - hash-value equality. Whatever you feed it, it has to cope with
that. It strikes *me* as odd to ask for something
On Thu, Oct 15, 2009 at 3:02 PM, Diez B. Roggisch de...@nospam.web.de wrote:
Austin Bingham wrote:
You do. Hashes can collide, and then you need equality. Sets are *based* on
equality actually, the hash is just one optimization. ...
Right, thanks for clearing that up. Not reading closely
On Thu, Oct 15, 2009 at 3:43 PM, Diez B. Roggisch de...@nospam.web.de wrote:
The context-decider isn't the same thing because it isn't designed yet :)
And most probably won't ever be. It's just the abstract idea that
hashing/equality change for one object depending on the circumstances they
On Thu, Oct 15, 2009 at 3:50 PM, Mick Krippendorf mad.m...@gmx.de wrote:
Austin Bingham schrieb:
What you seem to imply is that the hash function imposes some kind of
uniqueness constraint on the set which uses it. That's just not the
case, the uniqueness constraint is always the (in-)equality
On Thu, Oct 15, 2009 at 4:06 PM, Anthony Tolle anthony.to...@gmail.com wrote:
Why not use a dict? The key would be the object name. Pretty much
the same behavior as a set (via the key), and you can still easily
iterate over the objects.
To reiterate, dict only gets me part of what I want.
On Thu, Oct 15, 2009 at 5:15 PM, Gabriel Genellina
gagsl-...@yahoo.com.ar wrote:
En Thu, 15 Oct 2009 11:42:20 -0300, Austin Bingham
austin.bing...@gmail.com escribió:
I think you didn't understand correctly Anthony Tolle's suggestion:
py class Foo:
... def __init__(self, name): self.name
On Thu, Oct 15, 2009 at 7:05 PM, Anthony Tolle anthony.to...@gmail.com wrote:
I wrote a quick subclass of set that does something similar, but uses
just one function for the object uniqueness:
class MySet(set):
def __init__(self, iterable = (), idfunc = lambda x: x):
self.idfunc =
On Thu, Oct 15, 2009 at 7:49 PM, Ethan Furman et...@stoneleaf.us wrote:
Austin Bingham wrote:
I'm feeling really dense about now... What am I missing?
What you're missing is the entire discussion up to this point. I was
looking for a way to use an alternative uniqueness criteria in a set
On Thu, Oct 15, 2009 at 8:10 PM, Anthony Tolle anthony.to...@gmail.com wrote:
I think that without a practical example of what this would be used
for, we're all going to be a little lost on this one.
So far, we've not seen the original problem, only the author's
preferred method for solving
I'm trying to get a handle on how python intersects with
crypto-related export control laws in the US and elsewhere. My current
understanding, per the PSF's wiki, is that any crypto related and
potentially export-sensitive code is in the ssl wrapper, and that, in
fact, this only links to the
34 matches
Mail list logo