Bug#953368: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used

積丹尼 Dan Jacobson jidanni at jidanni.org
Sun Mar 8 16:07:19 GMT 2020


Package: grass-core
Version: 7.8.2-1+b3

Setting up grass-core (7.8.2-1+b3) ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/grass78/etc/python/grass/pygrass/gis/__init__.py:75: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if value is '':
/usr/lib/grass78/etc/python/grass/temporal/core.py:65: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if do_profiling is "True" or do_profiling is "1":
/usr/lib/grass78/etc/python/grass/temporal/core.py:65: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if do_profiling is "True" or do_profiling is "1":
/usr/lib/grass78/etc/python/grass/temporal/core.py:582: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if driver_string is not None and driver_string is not "":
/usr/lib/grass78/etc/python/grass/temporal/temporal_algebra.py:2295: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if map_i.get_type() is "raster" or map_i.get_type() is "raster3d":
/usr/lib/grass78/etc/python/grass/temporal/temporal_algebra.py:2295: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if map_i.get_type() is "raster" or map_i.get_type() is "raster3d":
Setting up grass-gui (7.8.2-1+b3) ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/grass78/gui/wxpython/core/gconsole.py:600: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if line[0] is '#' and line[1] is '%':
/usr/lib/grass78/gui/wxpython/core/gconsole.py:600: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if line[0] is '#' and line[1] is '%':
/usr/lib/grass78/gui/wxpython/dbmgr/vinfo.py:170: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if where is None or where is '':
/usr/lib/grass78/gui/wxpython/gmodeler/model.py:261: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if not mapName or mapName[0] is '%':
/usr/lib/grass78/gui/wxpython/gui_core/gselect.py:1868: SyntaxWarning: "is" with a literal. Did you mean "=="?
  self.changingSizer.Show(self.dbPanel, show=(sourceType is 'db'))
/usr/lib/grass78/gui/wxpython/location_wizard/wizard.py:1306: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.scope is 'earth':

https://github.com/OSGeo/grass/issues/397



More information about the Pkg-grass-devel mailing list