[issue33971] os.mknod is subject to "umask"

2018-06-26 Thread James Stevens


New submission from James Stevens :

As per the underlying "libc" call, the node created with "mknod" is subjected 
to the user's current umask setting.

This is not made clear in the Python documentation, but the "libc" 
documentation makes this clear (see attached).

--
assignee: docs@python
components: Documentation
files: Selection_2018-06-26_003.png
messages: 320490
nosy: docs@python, james_r_c_stevens
priority: normal
severity: normal
status: open
title: os.mknod is subject to "umask"
versions: Python 3.6
Added file: https://bugs.python.org/file47653/Selection_2018-06-26_003.png

___
Python tracker 
<https://bugs.python.org/issue33971>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33970] bugs.python.org silently refuses registrations

2018-06-26 Thread James Stevens


New submission from James Stevens :

bugs.python.org silently refuses registration if the user's "homepage" does not 
match some undisclosed URL validation test.

The fact of the validation failure of the "homepage" is not disclosed at any 
time, including both the initial registration and at activation time.

This appears to have been a "known" issue for at least a year, but is still not 
fixed.

http://psf.upfronthosting.co.za/roundup/meta/issue591

--
assignee: docs@python
components: Documentation
messages: 320488
nosy: docs@python, james_r_c_stevens
priority: normal
severity: normal
status: open
title: bugs.python.org silently refuses registrations
versions: Python 3.6

___
Python tracker 
<https://bugs.python.org/issue33970>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33969] "copytree" refuses to copy to a mount point

2018-06-26 Thread James Stevens


New submission from James Stevens :

Even if the mount-point directory is empty, "copytree" refuses to copy to a it 
becuase it will not perform a copy if the destination directory already exists 
- although it will accept any of the parents of destination existing, or not. 
Therefore, "copytree" is unable to copy to the top directory of (say) a USB 
Stick.

This also means "copytree" can't be used to merge the contents of two source 
directories into a single destination. etc,etc

This one flaw means that the use scenarios for "copytree" are actually 
extremely limited when compared to (say) "cp" - but running 
"subprocess.call(["cp","-a",...])" as commonly recommended on StackOverflow is 
not an ideal solution for lots of reasons.

--
components: Distutils
messages: 320487
nosy: dstufft, eric.araujo, james_r_c_stevens
priority: normal
severity: normal
status: open
title: "copytree" refuses to copy to a mount point
type: behavior
versions: Python 3.6

___
Python tracker 
<https://bugs.python.org/issue33969>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com