Is the type function in Python a factory function? Is the same type of data a singleton?

Is the type function in

Python a factory function?
is the same type of data a singleton?

the code is shown in the following figure:

>>> f1 = 1
>>> f2 = 2
>>> type(f1) is type(f2)
True

the reference of type (F1) type (f2) in the above code is the same, so it should be a singleton, right? Ask for advice

Mar.12,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf24e0-3156b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf24e0-3156b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?