D5442: rust-cpython: using the new bindings from Python

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sat Dec 15 23:46:52 EST 2018


yuja added a comment.


  > +try:
  >  +    from . import rustext
  >  +except ImportError:
  >  +    rustext = None
  
  Need to access to e.g. rustext.__doc__ to trigger ImportError here.

REPOSITORY
  rHG Mercurial

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

To: gracinet, indygreg, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list