getting umask without changing it

Fredrik Lundh fredrik at
Fri Jun 16 12:41:25 CEST 2006

Faik Uygur wrote:
> This is not atomic. At this point i changed all the running python threads'
> umask and i don't want to change current umask. I just want to get it.

afaik, there's no atomic API for this.  just a unified get/set function:


More information about the Python-list mailing list