Discussion:
[Python.NET] anonymous types from bug tracker
Bradley Friedman
2012-04-21 20:36:48 UTC
Permalink
Hi all.

So I ran into what looks like a bug. Someone else logged it on the sourceforge bug tracker.

http://sourceforge.net/tracker/?func=detail&aid=3415722&group_id=162464&atid=823891

I worked around it as the submitter suggests. However, I have two queries.

Firstly, is the bug tracker the right place to deal with these things? Or is this mailing list the right place. I ask because the referenced bug doesn't seem to have been looked at all that much.

Second, is the suggested work around the correct course of action? Should pythonnet ignore anonymous types?

Bradley Friedman
VFX and Animation
Consulting and Technology
http://www.fie.us/
brad-DLbl0k+***@public.gmane.org




_________________________________________________
Python.NET mailing list - PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org
http://mail.python.org/mailman/listinfo/pythondotnet
Stephen P. Lepisto
2012-04-22 16:22:01 UTC
Permalink
Bradley,

Can you provide a simple reproduction case?
Post by Bradley Friedman
Hi all.
So I ran into what looks like a bug. Someone else logged it on the sourceforge bug tracker.
http://sourceforge.net/tracker/?func=detail&aid=3415722&group_id=162464&atid=823891
I worked around it as the submitter suggests. However, I have two queries.
Firstly, is the bug tracker the right place to deal with these things? Or is this mailing list the right place. I ask because the referenced bug doesn't seem to have been looked at all that much.
Second, is the suggested work around the correct course of action? Should pythonnet ignore anonymous types?
Bradley Friedman
VFX and Animation
Consulting and Technology
http://www.fie.us/
_________________________________________________
http://mail.python.org/mailman/listinfo/pythondotnet
--
Stephen P. Lepisto

_________________________________________________
Python.NET mailing list - PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org
http://mail.python.org/mailman/listinfo/pythondotnet
Barton
2012-04-22 18:22:35 UTC
Permalink
Indeed, the mailing list gets more attention than the tracker. I do,
however, maintain the tracker as often as I am able.

As the submitter suggests:
[quote]
In method GenericUtil.Register(Type t) there is no test for types which
t.Namespace is null.
Simple correction is just check if t.Namespace is null and then don`t
process that type.
[/quote]

I've had this on my list of things to commit to the trunk, but have
gotten sidetracked (by, among other things, building up a new Arch Linux
system). I will do my best to get to my list as quickly as I can.

Thank you so very much,
Barton
Post by Stephen P. Lepisto
Bradley,
Can you provide a simple reproduction case?
Post by Bradley Friedman
Hi all.
So I ran into what looks like a bug. Someone else logged it on the
sourceforge bug tracker.
http://sourceforge.net/tracker/?func=detail&aid=3415722&group_id=162464&atid=823891
I worked around it as the submitter suggests. However, I have two
queries.
Firstly, is the bug tracker the right place to deal with these things?
Or is this mailing list the right place. I ask because the referenced
bug doesn't seem to have been looked at all that much.
Second, is the suggested work around the correct course of action?
Should pythonnet ignore anonymous types?
Bradley Friedman
VFX and Animation
Consulting and Technology
http://www.fie.us/
_________________________________________________
http://mail.python.org/mailman/listinfo/pythondotnet
_________________________________________________
Python.NET mailing list - PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org
http://mail.python.org/mailman/listinfo/pythondotnet
Brad Friedman
2012-04-22 18:35:10 UTC
Permalink
If you feel the suggestion is correct I might take a crack at it. If for no other reason than to get my hands dirty. Do you feel the suggestion is correct?

An alternative might be to create a virtual module like say: clr.anonymous, to put them in? Or do we look to IronPython here?
Indeed, the mailing list gets more attention than the tracker. I do, however, maintain the tracker as often as I am able.
[quote]
In method GenericUtil.Register(Type t) there is no test for types which t.Namespace is null.
Simple correction is just check if t.Namespace is null and then don`t process that type.
[/quote]
I've had this on my list of things to commit to the trunk, but have gotten sidetracked (by, among other things, building up a new Arch Linux system). I will do my best to get to my list as quickly as I can.
Thank you so very much,
Barton
Post by Stephen P. Lepisto
Bradley,
Can you provide a simple reproduction case?
Post by Bradley Friedman
Hi all.
So I ran into what looks like a bug. Someone else logged it on the
sourceforge bug tracker.
http://sourceforge.net/tracker/?func=detail&aid=3415722&group_id=162464&atid=823891
I worked around it as the submitter suggests. However, I have two
queries.
Firstly, is the bug tracker the right place to deal with these things?
Or is this mailing list the right place. I ask because the referenced
bug doesn't seem to have been looked at all that much.
Second, is the suggested work around the correct course of action?
Should pythonnet ignore anonymous types?
Bradley Friedman
VFX and Animation
Consulting and Technology
http://www.fie.us/
_________________________________________________
http://mail.python.org/mailman/listinfo/pythondotnet
_________________________________________________
http://mail.python.org/mailman/listinfo/pythondotnet
_________________________________________________
Python.NET mailing list - PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org
http://mail.python.org/mailman/listinfo/pythondotnet

Loading...