git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Strange umask(?)/st_mode issue


On 29Mar.2019 1939, Cameron Simpson wrote:
> Can you get a branch into your pipeline? Then you could just hack the
> tarfile test with something quick and dirty like:
> 
> ?? pid = os.getpid()
> ?? system("strace -p %d 2>/path/to/strace.out &" % pid)
> ?? time.sleep(2)?? # get strace heaps of time to start
> 
> just before the tarfile open. A ghastly hack but it would get you
> debugging info. You could even decide to remove the strace.out file if
> the umask issue doesn't show, if it is erratic (can't see why it would
> be though).

Perfect, I'll give this a go. Thanks!