Pentax K body + M42 lens
COMPATIBLE MF MA
Not exactly a coincidence, rather a "conscious coincidence".
The flange focal depth of the PK and M42 is exactly the same (45.46 mm). When the Pentax switched from the M42 to PK locking system, the company possibly decied not to alienate their loyal customer base, so they made mounting M42s to PKs possible.
Adapters fit the PK bayonet lock perfectly, making it function basically the same way as an M42:

Release keys are usually included in adapter ring sets, but most of the time they can be separated by hand or a simple door key.
If you plan to use your M42 often on a PK, you'd better consider buying a better quality adapter, because cheaper seem to be significantly less well made.
Certain M42 lenses (like the 50mm ones with brightness feedback) might overhang the bayonet lock. The overhanging lens housing or aperture control mechanism might cause issues with certain EF cameras, since the mirror might get stuck in them. A stuck mirror doesn't necessarily cause more serious problems, but that might damage the mirror, it could fracture of detach. Certain bodies due to their quality and design are less prone to this problem (like the 5DMII), and some are less robust (like the 6D). A possible solution for this issue might be using live view mode if available, this is possible only with those types that don't actually record with open mirror (like the 5DMII), but some newer EF cameras tend to release the mirror before exposure (like the 6D). The smaller mirror of the cameras with APS-C sensor doesn't interfere with the lens.Have you found an error, or would you like to share some insight about an item? Feel free to mail it to us, we appreciate your help in improving the site.