D2752: cbor: add a __init__.py to top level cbor module

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Wed Mar 14 05:02:42 EDT 2018


pulkit added a comment.


  In https://phab.mercurial-scm.org/D2752#44289, @indygreg wrote:
  
  > I think you should send the relative import patches to upstream. Adding `from __future__ import absolute_import` would also be a nice touch.
  
  
  I tried that at https://github.com/agronholm/cbor2/pull/20.  I might be doing something wrong here but I am not sure what's that.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2752

To: pulkit, #hg-reviewers
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list