Results 1 to 2 of 2

Thread: Missing subclasses of object class for Python!

  1. #1
    Join Date
    2022-Jul
    Posts
    1

    Missing subclasses of object class for Python!



    A Python install on Kali identifies 187 subclasses of the object class through this query:

    kali@kali:~$ python3 -c 'print(len("".__class__.__mro__[1].__subclasses__()))'

    Yet the same query in an idle shell identifies 342 subclasses! Can the Kali user decide which subclasses are operative , or are subclasses rigorously enforced by Kali?

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    772
    I see you already had an answer..

    https://stackoverflow.com/questions/...x-command-line

Similar Threads

  1. Python error TypeError: 'type' object is not iterable
    By RobertMaxwell642 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-07-23, 18:10
  2. Did the python-pip package go missing?
    By Cashiuus in forum Installing Archive
    Replies: 2
    Last Post: 2020-04-13, 15:22
  3. Python - AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
    By hightech316 in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2017-02-12, 07:12
  4. Replies: 0
    Last Post: 2014-04-18, 05:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •