Yes. Thanks.
On Mon, May 18, 2009 at 6:20 PM, Francesc Alted <[email protected]> wrote:
> A Monday 18 May 2009 18:06:08 Armando Serrano Lombillo escrigué:
> > Hello again, I'm getting the following warning when using pytables:
> >
> > C:\Python25\lib\site-packages\tables\path.py:102: NaturalNameWarning:
> > object name is not a valid Python identifier: 'MF CE'; it does not match
> > the pattern ``^[a-zA-Z_][a-zA-Z0-9_]*$``; you will not be able to use
> > natural naming to access this object; using ``getattr()`` will still
> work,
> > though NaturalNameWarning )
> >
> > I appreciate the information, but I would now like to suppress the
> warning.
> > Is there some flag for this?
>
> No. Instead, you have to use the Python machinery in order to implement a
> filter warning (in particular, an 'ignore' one on the
> `NaturalNameWarning`).
> See:
>
> http://docs.python.org/library/warnings.html
>
> for more info.
>
> Hope that helps,
>
> --
> Francesc Alted
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Pytables-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pytables-users
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users