Giter Site home page Giter Site logo

Comments (4)

macosforgebot avatar macosforgebot commented on August 25, 2024

@cyrusdaboo originally submitted this as comment:1:⁠ticket:51

  • Type changed from Defect to Enhancement
  • Owner changed from @wsanchez to @cyrusdaboo
  • Status changed from new to assigned
  • Priority changed from 5: Not set to 4: Nice to have
  • Milestone set to Later

I agree - better error handling is needed in PyKerberos. I prefer the solution of raising an exception - new exception  type should be defined in PyKerberos for that.

from ccs-pykerberos.

macosforgebot avatar macosforgebot commented on August 25, 2024

agx@… originally submitted this as comment:2:⁠ticket:51


Just for reference a patch that implements this is here: https://honk.sigxcpu.org/unsorted-patches/pykerberos-exception-handling.diff

In case that matters (contribution terms) it's APL 2.0. I keep the patch outside of the Trac since updating patches in Trac is so cumbersome and it might need a few revisions until you're happy with it. Any comments?

Cheers,

-- Guido

from ccs-pykerberos.

macosforgebot avatar macosforgebot commented on August 25, 2024

agx@… originally submitted this as comment:3:⁠ticket:51


...and here's the patch to move calendarserver over to the new exception aware API:

https://honk.sigxcpu.org/unsorted-patches/calendarserver-pykerberos-exceptions.diff

Cheers,

-- Guido

from ccs-pykerberos.

macosforgebot avatar macosforgebot commented on August 25, 2024

@cyrusdaboo originally submitted this as comment:4:⁠ticket:51

  • Status changed from assigned to closed
  • Resolution set to fixed

Patches applied, with some minor tweaks. r271 & r272.

from ccs-pykerberos.

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.