[issue33392] pathlib .glob('*/') returns files as well as directories

2018-05-01 Thread robbuckley
robbuckley added the comment: I checked this on Mac and Windows, pathlib and the old glob std lib behave the same on both in this respect On Tue, 1 May 2018, 18:35 Emily Morehouse, wrote: > > Emily Morehouse added the comment: > > Good find -- I agree that when using Pat

[issue33392] pathlib .glob('*/') returns files as well as directories

2018-04-30 Thread robbuckley
robbuckley added the comment: this is workaroundable via constructions like: list(x for x in p.glob('*/') if x.is_dir()) but I think there's value in behaving like glob.glob(), and keystroke avoidance for what must be a fairly

[issue33392] pathlib .glob('*/') returns files as well as directories

2018-04-30 Thread robbuckley
New submission from robbuckley : Path.cwd().glob('/*') seems to yield all files and folders in cwd, the same as .glob('*'). I believe that glob('*/') should yield only directories, and glob('*') all files and directories. this behaviour isnt documente

[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-12-01 Thread robbuckley
robbuckley added the comment: hi, as the reporter i just want to say this is working for me with 3.6.3. Regarding https://bugs.python.org/issue30581#msg301150, I take your point that a lot of multiprocessing using the standard libraries may not benefit, as processes may be restricted to

[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-06 Thread robbuckley
robbuckley added the comment: yes, i believe its reporting the number of processors in the current group only, not across all groups. attached output of windows sysinternals/coreinfo showing 2 processor groups see https://github.com/giampaolo/psutil/issues/771 for some further disucssion of

[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-06 Thread robbuckley
New submission from robbuckley: os.cpu_count() seems to report incorrect values on windows systems with >64 logical processors tried it on 2 similar systems, both running windows 7 / 10 with python 3.6.1 64bit (anaconda): platform1 - 2x Xeon E5-2698v4. 20 cores/CPU = total 80 logical c