Giter VIP home page Giter VIP logo

Comments (8)

garth-wells avatar garth-wells commented on August 25, 2024 1

@mscroggs could you take a look at this?

from ufl.

chrisrichardson avatar chrisrichardson commented on August 25, 2024

We should be using the Python logging and warnings system, instead of UFL's homemade one. Then we could suppress the warnings more easily.

from ufl.

garth-wells avatar garth-wells commented on August 25, 2024

We should be using the Python logging and warnings system, instead of UFL's homemade one. Then we could suppress the warnings more easily.

and turn deprecation warnings into error so we can find where the functions are called.

from ufl.

chrisrichardson avatar chrisrichardson commented on August 25, 2024

https://github.com/FEniCS/ufl/tree/chris/python-warnings

from ufl.

mscroggs avatar mscroggs commented on August 25, 2024

We should be using the Python logging and warnings system, instead of UFL's homemade one. Then we could suppress the warnings more easily.

I also started on this in https://github.com/FEniCS/ufl/tree/mscroggs/log

from ufl.

mscroggs avatar mscroggs commented on August 25, 2024

This warnings will be showing up after #131.

There were some functions that had comment stating that they should be made to give a deprecation warning, that I replaced with deprecation warnings. I'll take a look and work out which of these is causing this

from ufl.

mscroggs avatar mscroggs commented on August 25, 2024

Can this now be closed following #139?

from ufl.

IgorBaratta avatar IgorBaratta commented on August 25, 2024

I think so, the warnings are not showing up anymore.

from ufl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.