John Hawkinson

Results 28 issues of John Hawkinson

Don't use Python's `in` operator to match Content-Types, since that is a simple substring match. It's obviously not correct since a Content-Type string can be relatively complicated, like `Content-Type: application/xhtml+xml;...

Be consistent and use self.__state.url over the self.url() @property for internal consumers. Discussed somewhat in #362, the logic being that: self.url is an interface for external callers to get access...

Mechanize has an interface to create cookies from raw cookie strings, `browser.set_cookie(cookie_string)`, https://mechanize.readthedocs.io/en/latest/browser_api.html#mechanize.Browser.set_cookie, and MechanicalSoup does not. Not having the interface makes it really painful to do this. My situation...

help wanted

### The problem As I was getting up to speed on Mechanical Soup, I was in a bit of a rush and just ended up using the notional: ```py browser.select_form(nr=0)...

enhancement

I'm in no way up on the world of Python packaging, but `CONTRIBUTING.rst` says > Installing dependencies and running tests can be done with: > `python setup.py test` However `setup.py...

help wanted

MechanicalSoup's `browser.form.new_control()` appears to break compatibility with Mechanize, at least the way I was using it. It would be nice if the Mechanize form were supported too, or at least...

Overview --- This is a long-standing issue but lately it comes up more and more for me. • In CMECF, there is a many-to-one mapping between docket numbers and documents....

This is related to our continual problem of multiple subcases in criminal cases and consequent doppelganger cases and soforth. https://github.com/freelawproject/courtlistener/issues/2185 https://github.com/freelawproject/recap/issues/61 &c. https://www.courtlistener.com/docket/6183591/united-states-v-manafort/ links to https://www.courtlistener.com/recap/gov.uscourts.dcd.190597.13.0.pdf but returns `404 Not...

At https://www.courtlistener.com/recap/ if I search in the docket number field for a suffixed docket number that includes the judge initials, it is not found. But if I remove the suffix...

When you start subscribing to alerts for enough different cases, sometimes you forget why you did. "What was this case from 6 months ago? Why is it significant? Why did...