##// END OF EJS Templates
statprof: with Python 3.12, lineno is (more) often None...
statprof: with Python 3.12, lineno is (more) often None test-profile.t failed with errors like: TypeError: %d format: a real number is required, not NoneType statprof.py already handled None values as -1 in some cases. Do the same in more cases.

File last commit:

r49730:6000f5b2 default
r51230:972f3e5c stable
Show More
__init__.py
12 lines | 377 B | text/x-python | PythonLexer
Gregory Szorc
mercurial: implement import hook for handling C/Python modules...
r27220 # __init__.py - Startup and module loading logic for Mercurial.
#
# Copyright 2015 Gregory Szorc <gregory.szorc@gmail.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
Siddharth Agarwal
demandimport: move to separate package...
r32420 # Allow 'from mercurial import demandimport' to keep working.
import hgdemandimport
Augie Fackler
formatting: blacken the codebase...
r43346
Siddharth Agarwal
demandimport: move to separate package...
r32420 demandimport = hgdemandimport