[issue26021] Missing IPv6 support for pypi.python.org

2016-01-06 Thread Torsten Zühlsdorff
Torsten Zühlsdorff added the comment: Thanks for your response Donald! Which one is your CDN and how will contact it about the missing IPv6 support? -- ___ Python tracker

[issue20397] distutils --record option does not validate existence of byte-compiled files

2016-01-06 Thread Brendan Molloy
Changes by Brendan Molloy : -- keywords: +patch Added file: http://bugs.python.org/file41516/20397-head.patch ___ Python tracker

[issue18918] help('FILES') finds no documentation

2016-01-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0792a0ad7f22 by Senthil Kumaran in branch '2.7': Fix issue18918 : Attach the pydoc documentation for 'FILES' topic. https://hg.python.org/cpython/rev/0792a0ad7f22 -- ___ Python tracker

[issue20397] distutils --record option does not validate existence of byte-compiled files

2016-01-06 Thread koobs
Changes by koobs : -- keywords: +needs review ___ Python tracker ___ ___

[issue20397] distutils --record option does not validate existence of byte-compiled files

2016-01-06 Thread Brendan Molloy
Changes by Brendan Molloy : Added file: http://bugs.python.org/file41517/20397-py27.patch ___ Python tracker ___

[issue20397] distutils --record option does not validate existence of byte-compiled files

2016-01-06 Thread Brendan Molloy
Brendan Molloy added the comment: I've just uploaded patches for head and 2.7, with relevant unit tests. -- nosy: +bbqsrc ___ Python tracker ___

[issue26021] Missing IPv6 support for pypi.python.org

2016-01-06 Thread Donald Stufft
Donald Stufft added the comment: This isn't a CPython issue and doesn't really belong on the issue tracker. To answer the question though, PyPI will support IPv6 as soon as our CDN provider has support for IPv6 and until they do, it will be IPv4 only. -- resolution: -> third party

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: `str(object)` is not a protocol for getting a string out of an object. It's a protocol for getting a string for print(). __str__ is defined for every object and therefore is useless for getting a string out of "string-like" object (as __float__ for floats

[issue26020] set_display evaluation order doesn't match documented behaviour

2016-01-06 Thread Hamish Campbell
Hamish Campbell added the comment: > Do you have a use case where `x == y`/`hash(x) == hash(y)` does not mean that > `x` and `y` should be interchangeable? True and 1 are 100% interchangeable, > minus their str() output, and my example is very unlikely to ever appear in > actual code. No I

[issue26021] Missing IPv6 support for pypi.python.org

2016-01-06 Thread Donald Stufft
Donald Stufft added the comment: Our provider is Fastly, I don't believe contacting them will do any good though. They are working on getting IPv6 support but there is no ETA at the moment. -- ___ Python tracker

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here the aim is really to distinguish path-like objects from other objects, not to accept arbitrary strings. A ".path" attribute sounds like the wrong name, though: a Path has a path? And the Path's path is not a Path? Ouch :-) --

[issue22558] Missing hint to source code - complete

2016-01-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: If there is a New-in note (which follows Synopsis), then (to be consistent) the Source note should follow it. If not (the normal situation), then Source follows Synopsis directly. A point in favor of linking all Python sources from the docs is that default

[issue22558] Missing hint to source code - complete

2016-01-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.6 -Python 3.4 ___ Python tracker ___ ___

[issue26021] Missing IPv6 support for pypi.python.org

2016-01-06 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +dstufft ___ Python tracker ___ ___

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Ram Rachum
Ram Rachum added the comment: I thought about it some more, and personally I'd prefer each function to do `str(path)` internally rather than `if hasattr(p, 'path'): p = p.path`. Even if it means we'll have to deal with "where did that file named '' come from?!" errors. I think it's clumsy that

[issue26021] Missing IPv6 support for pypi.python.org

2016-01-06 Thread STINNER Victor
STINNER Victor added the comment: FYI pypi.python.org is now managed by the Python infra team. See for example https://mail.python.org/mailman/listinfo/infrastructure and https://status.python.org/ -- nosy: +haypo ___ Python tracker

[issue26021] Missing IPv6 support for pypi.python.org

2016-01-06 Thread Torsten Zühlsdorff
New submission from Torsten Zühlsdorff: Hello, i'm done some research about the impact of missing IPv6 support at the FreeBSD ports-tree, which is the list of supported software for FreeBSD. Python and many libs written in python are supported for FreeBSD, but if you have an IPv6 only

[issue18918] help('FILES') finds no documentation

2016-01-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: The bltin-file-objects was not referenced in pyspecific.py from which this data was generated. Added it and fixed it. Verified that it is available in 2.7 now. -- nosy: +orsenthil resolution: -> fixed stage: patch review -> resolved status: open ->

[issue26024] Non-ascii Windows locale names

2016-01-06 Thread Vidar Fauske
New submission from Vidar Fauske: The Norwegian locale on Windows has the honor of having the only locale name with a non-ASCII character ('Norwegian Bokmål_Norway', see e.g. https://wiki.postgresql.org/wiki/Changes_To_Norwegian_Locale). It does not seem like python 3 is able to handle this

[issue26022] string.replace(' ', ' ') has to be called 2 times before it works

2016-01-06 Thread Ethan Furman
Ethan Furman added the comment: The .replace() method is not recursive (it only makes one pass through the string), so for example: >>> example = ' ' # three spaces >>> example = example.replace(' ', ' ') # replace two spaces with one space >>> example # should be two spaces ' ' >>>

[issue26022] string.replace(' ', ' ') has to be called 2 times before it works

2016-01-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Please use stackoverflow or python-tutor list to get help on this. https://mail.python.org/pipermail/tutor/ This is unlikely a problem as you are using replace the send time on new string object. -- nosy: +orsenthil resolution: -> rejected stage:

[issue26022] string.replace(' ', ' ') has to be called 2 times before it works

2016-01-06 Thread SilentGhost
SilentGhost added the comment: Could you provide us with a sample file that demonstrates this behaviour? -- nosy: +SilentGhost ___ Python tracker ___

[issue26023] Missing signatures operator module

2016-01-06 Thread Freddy Rietdijk
New submission from Freddy Rietdijk: The operator module has no signatures for (most) of the functions defined in it. Use case: The multipledispatch module uses inspect.getfullargspec and therefore the functions in operator cannot be used in combination with the @dispatch decorator

[issue26022] string.replace(' ', ' ') has to be called 2 times before it works

2016-01-06 Thread Roland Eichman
New submission from Roland Eichman: Windows 10 python 3.5 small function in a small module contained a string len(str1) == 5000 {approx} str1 = str1.replace(' ',' ') did not work added, via copy & paste, a second identical line str1 = str1.replace(' ',' ') str1 = str1.replace(' ',' ') AND

[issue26020] set_display evaluation order doesn't match documented behaviour

2016-01-06 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file41518/build_set2.diff ___ Python tracker ___

[issue25711] Rewrite zipimport from scratch

2016-01-06 Thread Rose Ames
Rose Ames added the comment: Sorry for the late response. I didn't have much time over the holidays. I think I better let someone else take this one. -- ___ Python tracker

[issue26024] Non-ascii Windows locale names

2016-01-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This can be related to issue25812. Python supposes that locale settings in all categories use the same encoding (set by LC_CTYPE). Try first to set LC_CTYPE to ASCII-named locale with the 1252 codepage. -- nosy: +serhiy.storchaka

[issue26024] Non-ascii Windows locale names

2016-01-06 Thread Eryk Sun
Eryk Sun added the comment: PyLocale_setlocale in Modules/_localemodule.c is incorrectly passing the locale as a UTF-8 string ("z") instead of using the codepage of the current locale. As you can see below "å" is passed as the UTF-8 string "\xc3\xa5": >>>

[issue26024] Non-ascii Windows locale names

2016-01-06 Thread STINNER Victor
STINNER Victor added the comment: > PyLocale_setlocale in Modules/_localemodule.c is incorrectly passing the > locale as a UTF-8 string ("z") instead of using the codepage of the current > locale. Do you mean that the function must encode the locale name to the *ANSI codepage*? --

[issue25924] investigate if getaddrinfo(3) on OSX is thread-safe

2016-01-06 Thread A. Jesse Jiryu Davis
A. Jesse Jiryu Davis added the comment: In Apple's Libinfo version 222.4.12 (corresponding to the last OS X 10.4 release), the man page says getaddrinfo isn't thread-safe: http://www.opensource.apple.com/source/Libinfo/Libinfo-222.4.12/lookup.subproj/getaddrinfo.3 And here's its source:

[issue26025] Document pathlib.Path.__truediv__()

2016-01-06 Thread Brett Cannon
New submission from Brett Cannon: I noticed that the documentation for pathlib only mentions the overloading of __truediv__ in examples and not anywhere in the actual docs for the Path object itself. -- assignee: docs@python components: Documentation messages: 257617 nosy:

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: Only if we changed DirEntry to support that too. But it's a kind of high-falootin' word that also has some other connotations (e.g. geographical location, and the HTTP Location header). I've never heard it use in relation to filenames -- those are invariably

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Brett Cannon
Brett Cannon added the comment: Personally I thought the name `path` fit; just trying to see if some other option might work that Antoine would also like. -- ___ Python tracker

[issue25672] set SSL_MODE_RELEASE_BUFFERS

2016-01-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Thanks, Brett. I'm too busy with other things at the moment. -- assignee: -> brett.cannon ___ Python tracker ___

[issue24120] pathlib.(r)glob stops on PermissionDenied exception

2016-01-06 Thread Gregorio
Gregorio added the comment: thanks On 01/06/2016 06:42 PM, Guido van Rossum wrote: > Guido van Rossum added the comment: > > I'm just going to commit this. > > -- > assignee: -> gvanrossum > > ___ > Python tracker >

[issue26012] pathlib.Path().rglob() is fooled by symlink loops

2016-01-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 18f5b125a863 by Guido van Rossum in branch '3.4': Issue #26012: Don't traverse into symlinks for ** pattern in pathlib.Path.[r]glob(). https://hg.python.org/cpython/rev/18f5b125a863 New changeset 9826dbad1252 by Guido van Rossum in branch '3.5':

[issue26012] pathlib.Path().rglob() is fooled by symlink loops

2016-01-06 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue26026] True%2 is True

2016-01-06 Thread Hristo Venev
Changes by Hristo Venev : -- title: True%2==True -> True%2 is True ___ Python tracker ___

[issue26026] True%2==True

2016-01-06 Thread Hristo Venev
New submission from Hristo Venev: Should be 1. This comes from the (a%b=a if a

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: OK, I'll add 'path' to unblock changes to the stdlib (but I won't close this issue). -- ___ Python tracker ___

[issue26026] True%2 is True

2016-01-06 Thread SilentGhost
SilentGhost added the comment: Arithmetic operations should not be used with booleans, they happen to work due to boolean bean a subclass of int. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7e9605697dfc by Guido van Rossum in branch '3.4': Issue #22570: Add 'path' attribute to pathlib.Path objects. https://hg.python.org/cpython/rev/7e9605697dfc New changeset 9c49c417a68a by Guido van Rossum in branch '3.5': Issue #22570: Add 'path'

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Georg Brandl
Georg Brandl added the comment: No docs? ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e3c31ab586a by Guido van Rossum in branch '3.4': Docs for issue #22570. https://hg.python.org/cpython/rev/2e3c31ab586a New changeset 408f8b255b56 by Guido van Rossum in branch '3.5': Docs for issue #22570. (Merge 3.4->3.5)

[issue26012] pathlib.Path().rglob() is fooled by symlink loops

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: I'm going to fix this by skipping all symlinks in _RecursiveWildcardSelector. -- assignee: -> gvanrossum ___ Python tracker

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: In any case I don't think "location" is any better ;-) If "path" fits other people then good. -- ___ Python tracker

[issue26024] Non-ascii Windows locale names

2016-01-06 Thread Eryk Sun
Eryk Sun added the comment: Yes, it's ANSI. I should have said "system locale" instead of "current locale". To find the requested locale, the CRT function __get_qualified_locale calls EnumSystemLocalesA. The passed callback calls GetLocaleInfoA for each enumerated locale to get the country

[issue25672] set SSL_MODE_RELEASE_BUFFERS

2016-01-06 Thread Brett Cannon
Brett Cannon added the comment: I assume this can be checked in, MAL? If you need someone to do it for you, feel free to assign it to me and I can do it when I have a chance. -- nosy: +brett.cannon stage: -> commit review ___ Python tracker

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Brett Cannon
Brett Cannon added the comment: Would `location` work as an attribute name? -- ___ Python tracker ___ ___

[issue24120] pathlib.(r)glob stops on PermissionDenied exception

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: I'm just going to commit this. -- assignee: -> gvanrossum ___ Python tracker ___

[issue24120] pathlib.(r)glob stops on PermissionDenied exception

2016-01-06 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue24120] pathlib.(r)glob stops on PermissionDenied exception

2016-01-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset bac18cb7b011 by Guido van Rossum in branch '3.4': Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri. https://hg.python.org/cpython/rev/bac18cb7b011 New changeset 224a026b4ca1 by Guido van Rossum in branch '3.5': Issue

[issue26020] set_display evaluation order doesn't match documented behaviour

2016-01-06 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: +Python 2.7, Python 3.5 ___ Python tracker ___

[issue26020] set_display evaluation order doesn't match documented behaviour

2016-01-06 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- stage: -> patch review ___ Python tracker ___

[issue22499] [SSL: BAD_WRITE_RETRY] bad write retry in _ssl.c:1636

2016-01-06 Thread Nikolaus Rath
Nikolaus Rath added the comment: Would you be willing to review a patch to incorporate the handling into the SSL module? -- ___ Python tracker ___

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: I think it's actually very reasonable for a Path to have a path attribute that's a string. The DirEntry has two string attributes: name (the last component) and path (the full path). The Path object already has the former. Adding the latter makes sense to me.

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2016-01-06 Thread koobs
koobs added the comment: As many branches as we can muster, ideally all, at least 3.4, 3.5 default and 2.7 please. Back porting is a massive pain, and downstream OS's want to retain integrity of tests to ensure quality of Python in their respective ecosystems --

[issue26030] Use PEP8 in documentation examples

2016-01-06 Thread Martin Panter
Martin Panter added the comment: In general I agree with fixing style problems in the documentation, especially if you supply patches :) -- nosy: +martin.panter stage: -> needs patch ___ Python tracker

[issue26031] Add stat caching option to pathlib

2016-01-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Let me first mention the stat caching question was asked during the PEP discussion and ultimately it was decided it's not a good idea to meld it in the Path design :-) Early versions of pathlib were more complex as they were able to keep some file

[issue21159] configparser.InterpolationMissingOptionError is not very intuitive

2016-01-06 Thread Laurence Rowe
Laurence Rowe added the comment: This change is causing a problem for boto under 3.5.1 (works on 3.5.0): TypeError: get() got an unexpected keyword argument 'raw' > /usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/configparser.py(406)_interpolate_some() ->

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: Let's say that the path attribute should be str or bytes -- this matches the behavior of DirEntry. (But for pathlib.Path it is always a str.) It cannot be None or FD. But note that the getattr(x, 'path', x) idiom returns x unchanged if x is None or an FD (or a

[issue26030] Use PEP8 in documentation examples

2016-01-06 Thread Julien
New submission from Julien: Hi, Shouldn't Python use PEP8 in its examples in the documentation ? I found a lot of missing spaces around binary operators, and things like "setup (name = 'PackageName'," (found in the Distributing section, but that's just a single example) which hurt my eyes

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread STINNER Victor
STINNER Victor added the comment: > As I recall, if the platform's DirEntry doesn't provide the cacheable > attributes when first called, those attributes will be looked up (and cached) > on first access. scandir() is not magic. It simply provides info given by the OS: see readdir() on UNIX

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: The DirEntry docs say for most methods "In most cases, no system call is required" which is pretty non-committal. :-( The only firm promise is for inode(), which is pretty useless. -- ___ Python tracker

[issue26033] distutils default compiler API is incomplete

2016-01-06 Thread Stefan Seefeld
New submission from Stefan Seefeld: I'm trying to use the distutil compiler to preprocess some header (to be used with the cffi package). The code is compiler = distutils.ccompiler.new_compiler() compiler.add_include_dir(join(sys.prefix, 'include')) compiler.preprocess(source)

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +benhoyt ___ Python tracker ___ ___

[issue26028] .sort() Causing Strings to Be Listed on the same line

2016-01-06 Thread SilentGhost
SilentGhost added the comment: Please use stackoverflow or python-tutor list to get help on this. https://mail.python.org/pipermail/tutor/ What it looks like is the problem with your text editor not being able to support EOL characters from a different OS. -- nosy: +SilentGhost

[issue25596] regular files handled as directories in the glob module

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: (IOW once this patch has been applied maybe you can do the same for globbing in pathlib as requested in issue #26032.) -- nosy: +gvanrossum ___ Python tracker

[issue26031] Add stat caching option to pathlib

2016-01-06 Thread Guido van Rossum
New submission from Guido van Rossum: There are concerns that pathlib is inefficient because it doesn't cache stat() operations. Thus, for example this code calls stat() for each result twice (once internal to the glob, a second time to answer the is_symlink() question): p =

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread Guido van Rossum
New submission from Guido van Rossum: The globbing functionality in pathlib (Path.glob() and Path.rglob()) might benefit from using the new optimized os.scandir() interface. It currently just uses os.listdir(). The Path.iterdir() method might also benefit (though less so). There's also a

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list

[issue25596] regular files handled as directories in the glob module

2016-01-06 Thread STINNER Victor
STINNER Victor added the comment: Related issue: #26032 "Use scandir() to speed up pathlib globbing". -- ___ Python tracker ___

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread STINNER Victor
STINNER Victor added the comment: Related issue: issue #25596 "regular files handled as directories in the glob module". -- nosy: +haypo ___ Python tracker

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread Ethan Furman
Ethan Furman added the comment: As I recall, if the platform's DirEntry doesn't provide the cacheable attributes when first called, those attributes will be looked up (and cached) on first access. -- nosy: +ethan.furman ___ Python tracker

[issue26031] Add stat caching option to pathlib

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: That's fair, though I don't know what kind of caching design was considered (until Ram's suggestion on python-ideas I had thought the cache would simply use a slot on the Path instance to hold the stat() result). If we want pathlib to become pervasive we may

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: Ben, I think it's worth calling out what the rules are around symlinks. I'm guessing the info that is initially present is a subset of lstat(), so if that indicates it's a symlink, is_dir() and is_file() will need a stat() call, *unless* follow_symlinks is

[issue26035] traceback.print_tb() takes `tb`, not `traceback` as a keyword argument

2016-01-06 Thread Nicholas Chammas
New submission from Nicholas Chammas: Here is traceback.print_tb()'s signature [0]: ``` def print_tb(tb, limit=None, file=None): ``` However, its documentation reads [1]: ``` .. function:: print_tb(traceback, limit=None, file=None) ``` Did the keyword argument change recently, or was this

[issue26034] venv documentation out of date

2016-01-06 Thread Dan Sadowski
New submission from Dan Sadowski: The listing for the --clear option in the documentation is outdated. This is from the actual current 3.5 usage text: --clear Delete the contents of the environment directory if it already exists, before environment

[issue23921] Standardize documentation whitespace, formatting

2016-01-06 Thread Martin Panter
Martin Panter added the comment: I do prefer extra space before a comment, otherwise it looks too much like some kind of “x # y” binary operator. So I think those changes are worthwhile. I left some review comments, mainly minor suggestions. Most of the other changes look worthwhile. Others I

[issue23921] Standardize documentation whitespace, formatting

2016-01-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___

[issue23921] Standardize documentation whitespace, formatting

2016-01-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___

[issue23921] Standardize documentation whitespace, formatting

2016-01-06 Thread R. David Murray
R. David Murray added the comment: Sorry, I'm not going to have time to look at it. -- nosy: +r.david.murray ___ Python tracker ___

[issue25958] Implicit ABCs have no means of "anti-registration"

2016-01-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___

[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2016-01-06 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> martin.panter ___ Python tracker ___ ___

[issue16544] Add external link to ast docs

2016-01-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for patch and the work on Green Tree Snakes, Thomas. It is a great resource. I agree that a lot could be included directly in stdlib docs, but till then, as suggested/recommended by Andrew and Ezio, a see also link is a good addition. --

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread Ben Hoyt
Ben Hoyt added the comment: Guido, it's true that in almost all cases you get the speedup (no system call), and it's very much worth using. But the idea with the docs being non-committal is because being specific would make the docs fairly complex. I believe it's as follows for

[issue22995] Restrict default pickleability

2016-01-06 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jan 06, 2016, at 10:13 PM, Serhiy Storchaka wrote: >What return __reduce_ex__(4) for the NameAssignment instance in 3.5.0? I'm not sure yet (it takes some time to set up the right environment to test this), but I do know which TypeError is getting

[issue25596] regular files handled as directories in the glob module

2016-01-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___

[issue21159] configparser.InterpolationMissingOptionError is not very intuitive

2016-01-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___

[issue16544] Add external link to ast docs

2016-01-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 94b0e5e9b6e8 by Senthil Kumaran in branch '3.4': Issue16544 - Add a link to an external documentation resource in ast module docs. https://hg.python.org/cpython/rev/94b0e5e9b6e8 New changeset ebf164b07be1 by Senthil Kumaran in branch '3.5': merge

[issue26030] Use PEP8 in documentation examples

2016-01-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I found a lot of missing spaces around binary operators Please don't make trivial changes like this. -- nosy: +rhettinger ___ Python tracker

[issue22995] Restrict default pickleability

2016-01-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What return __reduce_ex__(4) for the NameAssignment instance in 3.5.0? -- ___ Python tracker ___

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: So, I added docs, mentioning the getattr(arg, 'path', arg) idiom, and (for 3.5 and 3.6) also cross-referencing with DirEntry. I'm not sure whether to now close this issue or whether to leave it open to remind people of adding patches using the new idiom to

[issue26023] Missing signatures operator module

2016-01-06 Thread Martin Panter
Martin Panter added the comment: Perhaps the patch in Issue 20186 (Argument Clinic conversion including the module) will help. I noticed there was some concern about reduced performance; I’m not sure if that is still a problem or not. -- nosy: +martin.panter

[issue25958] Implicit ABCs have no means of "anti-registration"

2016-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: Uploading a flattened version of patch3.diff. -- Added file: http://bugs.python.org/file41519/patch3-regenerated.diff ___ Python tracker

[issue26028] .sort() Causing Strings to Be Listed on the same line

2016-01-06 Thread Hassan Mahroof
New submission from Hassan Mahroof: I am a student @ Burnley College and we were learning how to use the .write(), .close(), .readlines() and .sort(). I have a list of names within a text file which I am trying sort, These are random names generated using my Random Mind. However, when the

[issue26029] Broken sentence in extending documentation

2016-01-06 Thread Julien
New submission from Julien: Hello, While translating the documentation to French, I found a bug here : https://docs.python.org/3/extending/building.html#building-c-and-c-extensions-with-distutils The sentence: "Normally, a package will contain of addition modules:" Should probably be:

[issue22995] Restrict default pickleability

2016-01-06 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm reopening this issue because we're starting to see a bunch of regressions in Debian and Ubuntu we think is caused by the changes here. We've definitely started seeing them with 3.5.1, where packages that use Cython built just fine in 3.5.0 but now fail

  1   2   >