toxtli / cefpython

Automatically exported from code.google.com/p/cefpython
1 stars 0 forks source link

Allow passing string subtypes to cefpython functions #104

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some of the CEF Python functions are checking the string type using code like 
this:

  if type(s) == unicode..
  if type(s) == str..

Functions in string_utils.pyx are doing it in a such manner.

If we want to support string subtypes, checks need to be like this:

  if isinstance(s, unicode)..
  if isinstance(s, str)..

Original issue reported on code.google.com by czarek.t...@gmail.com on 9 Jan 2014 at 8:42

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/cefpython/issues/104

Original comment by czarek.t...@gmail.com on 24 Aug 2015 at 6:36