[issue19032] __reduce_ex__ on lock object

2013-09-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: This does not look like a bug to me. I think this should be closed. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19032 ___

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-09-18 Thread Dmitry Shachnev
Changes by Dmitry Shachnev mity...@gmail.com: -- nosy: +mitya57 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17761 ___ ___ Python-bugs-list

[issue19038] Fix sort order in Misc/ACKS.

2013-09-18 Thread Georg Brandl
Georg Brandl added the comment: Well, it is customary for the patch submitter to make the diff. This makes it much easier for us to review. Closing for now; please note our suggestions and reopen/resubmit as a diff file if you feel like it. -- status: open - closed

[issue18855] Inconsistent README filenames

2013-09-18 Thread Georg Brandl
Georg Brandl added the comment: AFAIR renaming the lowercased versions might lead to trouble with hg on case-insensitive file systems. Anyone know if that's still the case? Otherwise README.txt is fine. Although, Windows users will then complain about the Unix-style line endings because the

[issue19038] Fix sort order in Misc/ACKS.

2013-09-18 Thread Tae-Wong SEO
Tae-Wong SEO added the comment: Your Gmail account tried to send spam for this account. Be careful with this message. Many people marked similar messages as spam. Open this bug and have someone made a diff file to fix sort order. -- ___ Python

[issue19032] __reduce_ex__ on lock object

2013-09-18 Thread Ram Rachum
Changes by Ram Rachum r...@rachum.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19032 ___ ___ Python-bugs-list

[issue19039] sphinx search, result sorting

2013-09-18 Thread Georg Brandl
Georg Brandl added the comment: Searching in headings is implemented in Sphinx 1.2 (soon to be released). We'll switch to that version at least for 3.3 and 3.4 when it's out, so you will get the result for the heading there. The PyOS_snprintf will still be the first result, since results in

[issue19038] Fix sort order in Misc/ACKS.

2013-09-18 Thread Tae-Wong SEO
Tae-Wong SEO added the comment: New diff file to change Bozon's last name. -- keywords: +patch status: closed - pending Added file: http://bugs.python.org/file31807/ACKS.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19038

[issue19039] sphinx search, result sorting

2013-09-18 Thread Georg Brandl
Georg Brandl added the comment: Searching in headings is implemented in Sphinx 1.2 (soon to be released). We'll switch to that version at least for 3.3 and 3.4 when it's out, so you will get the result for the heading there. The PyOS_snprintf will still be the first result, since results in

[issue18997] Crash when using pickle and ElementTree

2013-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 111a74819192 by doko in branch '3.3': - followup for issue #18997, make _clear_joined_ptr static. http://hg.python.org/cpython/rev/111a74819192 New changeset 269be4aacb8e by doko in branch 'default': - followup for issue #18997, make

[issue4366] cannot find -lpythonX.X when building Python on FreeBSD with --enable-shared

2013-09-18 Thread koobs
koobs added the comment: Confirming identical failures on all branches: tip: /usr/bin/ld: cannot find -lpython3.4m 3.3: /usr/bin/ld: cannot find -lpython3.3m 3.2: /usr/bin/ld: cannot find -lpython3.2m 3.1: /usr/bin/ld: cannot find -lpython3.1 2.7: /usr/bin/ld: cannot find -lpython2.7 2.6:

[issue19038] Fix sort order in Misc/ACKS.

2013-09-18 Thread Dmi Baranov
Dmi Baranov added the comment: Guys, don't talk with bot - here is a summary [1] and his history of glory with patches to contributors lists [2]. Better way is cut-off this email from python.org services. [1] http://wiki.gbatemp.net/wiki/User:TaeWong [2]

[issue14984] netrc module allows read of non-secured .netrc file

2013-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6396d1fc72da by R David Murray in branch '3.1': #14984: On POSIX, enforce permissions when reading default .netrc. http://hg.python.org/cpython/rev/6396d1fc72da New changeset 0d9e471221da by R David Murray in branch '3.2': Merge #14984: On POSIX,

[issue14984] netrc module allows read of non-secured .netrc file

2013-09-18 Thread R. David Murray
R. David Murray added the comment: Thanks, Benjamin. And Thank you, Bruno. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14984

[issue4366] cannot find -lpythonX.X when building Python on FreeBSD with --enable-shared

2013-09-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why special-case FreeBSD in the patch? Shouldn't this be done for nearly all Unix systems? (or, at the very least or BSD-likes)? -- components: +Library (Lib) nosy: +pitrou stage: - patch review versions: -Python 2.6, Python 3.1, Python 3.2

[issue19037] mailbox module modifies maildir file times after moving from tmp directory

2013-09-18 Thread R. David Murray
R. David Murray added the comment: Janzert: Thanks for the patch. A contributor agreement is not needed for this patch, since it just moves code around, but you might want to submit one in case you make any other contributions. Also let us know what name to use in the Misc/ACKS file.

[issue19037] mailbox module modifies maildir file times after moving from tmp directory

2013-09-18 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19037 ___

[issue19037] mailbox module modifies maildir file times after moving from tmp directory

2013-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 68e5e416e8af by R David Murray in branch '3.3': #19037: adjust file times *before* moving maildir files into place. http://hg.python.org/cpython/rev/68e5e416e8af New changeset 041caa64486b by R David Murray in branch '2.7': #19037: adjust file

[issue4366] cannot find -lpythonX.X when building Python on FreeBSD with --enable-shared

2013-09-18 Thread koobs
koobs added the comment: Concur, and then also, why special case linux, gnu and sunos? The comment is: # Python's library directory [[must]] be appended to library_dirs (emphasis mine) Is the real question then in what cases should the library path NOT be added? ? I also note Christian

[issue14984] netrc module allows read of non-secured .netrc file

2013-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset fb3ad8a749c8 by R David Murray in branch '2.6': #14984: only import pwd on POSIX. http://hg.python.org/cpython/rev/fb3ad8a749c8 New changeset 88e62c43e443 by R David Murray in branch '2.7': Merge #14984: only import pwd on POSIX.

[issue19038] Fix sort order in Misc/ACKS.

2013-09-18 Thread Tae-Wong SEO
Tae-Wong SEO added the comment: The first link is a GBAtemp page. The second link is a search. You want to apply this patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19038 ___

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-09-18 Thread Bastien Montagne
Bastien Montagne added the comment: Hi, Decided to give it a try and implement suggested Py_SetStandardStreamEncoding, see attached patch. A quick test with Blender under Linux (with an ASCII console) seems to work OK, unfortunatly I do not have Windows to test it where it really matters...

[issue19038] Fix sort order in Misc/ACKS.

2013-09-18 Thread Tae-Wong SEO
Tae-Wong SEO added the comment: Let's restore status and resolution without rejecting. You want to apply this. -- resolution: rejected - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19038

[issue19038] Fix sort order in Misc/ACKS.

2013-09-18 Thread Georg Brandl
Georg Brandl added the comment: Let's try a plain rejection first. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19038 ___

[issue19038] Fix sort order in Misc/ACKS.

2013-09-18 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19038 ___

[issue19037] mailbox module modifies maildir file times after moving from tmp directory

2013-09-18 Thread janzert
janzert added the comment: Thanks for committing the fix. Figured I should finally get it done and signed the online CLA when I submitted this issue. I assume it just takes a while for someone to go through and apply the appropriate flag? This change seems rather insubstantial for an ACKS

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

2013-09-18 Thread Claudiu.Popa
Claudiu.Popa added the comment: Hello. The 'File objects' section was removed in Python 3, with this issue http://bugs.python.org/issue7508, but not the topic from pydoc.py. As I understand, there is no point in having this, because there isn't a `file` type anymore. The attached patched

[issue19019] Investigate using Apple clang for building OS X installers

2013-09-18 Thread Skip Montanaro
Skip Montanaro added the comment: If you find it difficult to find people with 10.6 systems to build a Python dmg for that platform, give me a shout. I'm not planning on replacing my system anytime soon. I have 10.6.8 installed, and what I believe to be the last Xcode version to support it,

[issue19019] Investigate using Apple clang for building OS X installers

2013-09-18 Thread Ned Deily
Ned Deily added the comment: Thanks, Skip. At the moment, finding platforms for building and testing is not a problem: I have at hand running versions of the latest releases for 10.3 onwards. :) (Buildbots for automated testing are another issue, though. We have a critical need for buildbots

[issue19019] Investigate using Apple clang for building OS X installers

2013-09-18 Thread Skip Montanaro
Skip Montanaro added the comment: I guess snakebite (http://www.snakebite.net/) never materialized? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19019 ___

[issue19019] Investigate using Apple clang for building OS X installers

2013-09-18 Thread Ned Deily
Ned Deily added the comment: Snakebite did provide some additional OS X buildbots for a while but, AFAIK, they have been offline for some months now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19019

[issue19019] Investigate using Apple clang for building OS X installers

2013-09-18 Thread R. David Murray
R. David Murray added the comment: Snakebite is live, and python committers can get shell access on the bots, as originally planned. Some of the bots are offline, but most are running. I don't see any OS X servers in the list, though, unless Antoine deleted them (but there are several other

[issue18790] incorrect text in argparse add_help example

2013-09-18 Thread Berker Peksag
Berker Peksag added the comment: This was reported a couple of times before on the docs list. - https://mail.python.org/pipermail/docs/2013-April/015145.html - https://mail.python.org/pipermail/docs/2013-June/015016.html - https://mail.python.org/pipermail/docs/2013-September/015505.html

[issue16512] imghdr doesn't support jpegs with an ICC profile

2013-09-18 Thread intgr
intgr added the comment: I vote we forget about JFIF/Exif headers and only use \xff\xd8 to identify the file. They are optional and there are tons of files out in the wild without such headers, for example:

[issue16878] argparse: positional args with nargs='*' defaults to []

2013-09-18 Thread paul j3
paul j3 added the comment: On a related point, the 'action.required' value is set differently for '?' and '*' positionals. if kwargs.get('nargs') not in [OPTIONAL, ZERO_OR_MORE]: kwargs['required'] = True if kwargs.get('nargs') == ZERO_OR_MORE and 'default' not in kwargs:

[issue19043] Remove detailed listing of all versions from LICENSE, Doc/license.rst

2013-09-18 Thread Georg Brandl
New submission from Georg Brandl: As discussed on python-dev. -- assignee: docs@python components: Documentation files: license_fixup_33.patch keywords: patch messages: 198036 nosy: docs@python, georg.brandl priority: normal severity: normal status: open title: Remove detailed listing

[issue19043] Remove detailed listing of all versions from LICENSE, Doc/license.rst

2013-09-18 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: Added file: http://bugs.python.org/file31811/license_fixup_27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19043 ___

[issue4366] cannot find -lpythonX.X when building Python on FreeBSD with --enable-shared

2013-09-18 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4366 ___

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-09-18 Thread Ethan Furman
Ethan Furman added the comment: Okay, some slight reorganizing. Current patch gives preferential treatment to getattr, falling back on dict lookup if getattr raises an exception or if the resulting object's class is not found in the mro (including the metaclass mro). Amazingly, nothing

[issue19043] Remove detailed listing of all versions from LICENSE, Doc/license.rst

2013-09-18 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19043 ___ ___ Python-bugs-list mailing

[issue11708] argparse: suggestion for formatting optional positional args

2013-09-18 Thread paul j3
paul j3 added the comment: This is a HelpFormatter function that takes a list of formatted actions, and groups contiguous blocks of optional positional actions. It accounts for optionals (via prefix_chars) and mutually exclusive groups. Since it assumes 'parts' is a list, rather than string,

[issue19043] Remove detailed listing of all versions from LICENSE, Doc/license.rst

2013-09-18 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19043 ___

[issue19044] getaddrinfo raises near-useless exception

2013-09-18 Thread Nikolaus Rath
New submission from Nikolaus Rath: I received a bugreport for a Python application that contains the following stacktrace: File /usr/lib/python3.3/http/client.py, line 1057, in endheaders self._send_output(message_body) File /usr/lib/python3.3/http/client.py, line 902, in

[issue19044] getaddrinfo raises near-useless exception

2013-09-18 Thread Ned Deily
Ned Deily added the comment: This looks like a platform bug. What platform was this running on? A web search turns up other reports of the system getaddrinfo() returning errno = 0 due to a glibc bug, for example, https://bugzilla.redhat.com/show_bug.cgi?id=958652. -- nosy: