[issue16691] How to use ctypes.windll.user32.MessageBoxW

2012-12-14 Thread Ned Deily
Ned Deily added the comment: Sorry, this bug tracker is for reporting problems with Python itself. Try asking on support forums, like the general comp.lang.python newsgroup/mailing list (http://www.python.org/community/lists/) or the more specialized python-win32 list (http://mail.python.org/

[issue16691] How to use ctypes.windll.user32.MessageBoxW

2012-12-14 Thread David Wolf
New submission from David Wolf: import ctypes ctypes.windll.user32.MessageBoxW(0,"Time's up!","Message",0) My quention is that I want to set my message box topmost. It's said I just need to change the first parameter, but I don't know how I should change it. Help me please! I've been working

[issue16483] Make int(float('inf')) raise ValueError rather than OverflowError.

2012-12-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16333] Trailing whitespace in json dump when using indent

2012-12-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16477] tarfile fails to close file handles in case of exception

2012-12-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2012-12-14 Thread Bradley Froehle
Bradley Froehle added the comment: I see this issue came up in the course of #15653 as well. -- ___ Python tracker ___ ___ Python-bugs

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2012-12-14 Thread Bradley Froehle
New submission from Bradley Froehle: There is a reference leak when using PyType_FromSpec with custom tp_dealloc. This was first noted in issue #15142, where a fix was given which only applies to types which do not override tp_dealloc. For example, the xxlimited.Xxo type suffers from this: P

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread anatoly techtonik
anatoly techtonik added the comment: haypo didn't understood the main user story for this ticket and closed it, so I reopen it with simplified user story. """As a developer, I want Python os.listdir('.') function return all directories in current directory on Windows, not matter how internatio

[issue16689] stdout stderr redirection mess

2012-12-14 Thread anatoly techtonik
New submission from anatoly techtonik: Tested on Windows. When Python output is redirected with: > py test_unicode_fname.py > test.log 2>&1 In Python 2.7 the traceback is at the end of file, in Python 3.3 it is at the beginning. In should be in the middle, and it appears on the screen correctl

[issue16655] IDLE list.append calltips test failures

2012-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.2.3 >>> list.append.__doc__ 'L.append(object) -- append object to end' In 3.3.0 >>> list.append.__doc__ 'L.append(object) -> None -- append object to end' I checked the other 6 pure mutation methods. .sort, .extend, .remove, and the new .clear have the sam

[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-14 Thread Matthew Barnett
Matthew Barnett added the comment: In function SRE_MATCH, the code for SRE_OP_GROUPREF (line 1290) contains this: while (p < e) { if (ctx->ptr >= end || SRE_CHARGET(state, ctx->ptr, 0) != SRE_CHARGET(state, p, 0)) RETURN_FAILURE; p += state->charsize;

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread STINNER Victor
STINNER Victor added the comment: > Should it be fixed in 3.4 only or in all 3.x? Such change cannot be done in a minor release (like 3.3.x), so it can only be done in Python 3.4. -- ___ Python tracker ___

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-14 Thread Philip Jenvey
Philip Jenvey added the comment: PyPy had a pure python itertools until recently (it's been deleted): https://bitbucket.org/pypy/pypy/src/c1aa74c06e86/lib_pypy/itertools.py?at=py3k -- ___ Python tracker __

[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: itertools should be fairly easy as the docs already contain Python equivalents (or near equivalents). -- nosy: +terry.reedy ___ Python tracker

[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-14 Thread Ezio Melotti
Ezio Melotti added the comment: It works on 2.7 too, and fails on 3.3/3.x. Maybe it's related to PEP 393? -- versions: +Python 3.4 ___ Python tracker ___

[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-14 Thread pyos
New submission from pyos: The title says it all: if a regular expression that makes use of backreferences is compiled with `re.I` flag, it will always fail when matched against a string that contains characters outside of U+-U+00FF range. I've been unable to further narrow the bug down. A

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In 2.x it was have a little sense (if you use some 8-bit encoding as default encoding, but the default was 7-bit ascii). But with utf-8 it doesn't have sense and should quickly lead to an unexpected result (or just fail in most cases). -- dependenci

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread Ezio Melotti
Ezio Melotti added the comment: The deprecation process can be avoided only if passing strings results in a meaningless result. If there are cases where users are passing strings and everything works fine -- even if they should be passing bytes instead -- we should deprecate strings first to

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Accepting Unicode strings is surprising and must fail. I don't think that a > deprecation process is required here. Should it be fixed in 3.4 only or in all 3.x? -- ___ Python tracker

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > For example, os.listdir(bytes) doesn't fail in Python 2.7 with unencodable > names, whereas it fails with your patch. No. The purpose of this patch is that it doesn't fail and should return a usable result. -- _

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread STINNER Victor
STINNER Victor added the comment: Accepting Unicode strings is surprising and must fail. I don't think that a deprecation process is required here. -- ___ Python tracker ___ ___

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread STINNER Victor
STINNER Victor added the comment: > And this issue is only solved in Python 3... Ooops, I mean: this issue is *already* solved in Python 3 -- ___ Python tracker ___

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread STINNER Victor
STINNER Victor added the comment: On Windows with Python 2, unencodable characters are replaced with "?". It is the default behaviour of WideCharToMultiByte() and so all ANSI functions have this behaviour. Python doesn't try to behave differently, it just exposes system function as Python func

[issue16684] Unicode property value abbreviated names and long names

2012-12-14 Thread Pander
Pander added the comment: I myself have a lot of Python applications that process font files and interact with fonttools and FontForge, which are both written in Python too. As you also have your own dict for this purpose and probably other people too, it would be justified to add these three

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I can't test (and even compile) the patch as I don't have a Windows, please test it for me. -- ___ Python tracker ___

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Who's trying (and failing) to encode the filename? Windows. File created using Unicode API and stored UTF-16 encoded in NTFS. Windows fails to represent this filename using ANSI API. Here is a patch against 2.7 which always uses Unicode API in listdir() and

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-12-14 Thread Jeff Knupp
Changes by Jeff Knupp : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue16687] Fix small gramatical error and add reference link in hashlib documentation

2012-12-14 Thread Jeff Knupp
New submission from Jeff Knupp: Original text is: > Feeding string objects is to update is not supported Should be "... objects in to update" instead of "is to" Also, mark "GIL" as a :term: to provide a link to its definition, as it's used without much context in the following note: > .. no

[issue16678] optparse: parse only known options

2012-12-14 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue6331] Add unicode script info to the unicode database

2012-12-14 Thread Pander
Pander added the comment: The latest version of the respective sources can be found here: https://github.com/ConradIrwin/unicodescript and here: https://github.com/simukis/unicodeblocks -- ___ Python tracker ___

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > That said, I think a lot of that has been done if you look at the > clinic.txt file within the patch. That already contains the meat of > what would go into a PEP. Certainly. A PEP doesn't have to be a 100% new text. -- _

[issue16678] optparse: parse only known options

2012-12-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: +1 for closing as "won't fix" -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread Larry Hastings
Larry Hastings added the comment: I'm a little confused. FindFirstFile is an ANSI API, so we get a narrow string back. We call PyBytes_FromString(), which expects a narrow string and returns a bytes object. Who's trying (and failing) to encode the filename? -- _

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: PEPs are perceived as a hurdle. Regardless, clinic.txt would turn into one pretty easily so just doing it may be easiest. :) On Fri, Dec 14, 2012 at 12:11 PM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > > I have no current plan to write a

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I have no current plan to write a PEP. I don't know how to settle the > difference of opinion here; the easiest thing would be if you > convinced Guido we needed one. This is silly. Nobody is opposed to you writing a PEP and a couple people would like you to

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: There's a bit of an impasse here on the PEP front. Guido said it wasn't needed. Antoine brings up the point that CPython developers will have to live with the result of this work so maybe something more easy to read and see in one place like a PEP would be

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-14 Thread Larry Hastings
Larry Hastings added the comment: I have no current plan to write a PEP. I don't know how to settle the difference of opinion here; the easiest thing would be if you convinced Guido we needed one. -- ___ Python tracker

[issue16678] optparse: parse only known options

2012-12-14 Thread Éric Araujo
Éric Araujo added the comment: I agree with David and suggest closing this as outdated. Thanks for the suggestion nonetheless. -- nosy: +eric.araujo ___ Python tracker ___

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'll ask again, do you plan to write a PEP to iron out the functional details? I don't think a tracker entry is the right format for this. Le vendredi 14 décembre 2012 à 07:21 +, Larry Hastings a écrit : > Larry Hastings added the comment: > > I don't think

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread R. David Murray
R. David Murray added the comment: Oh, I remember Victor complaining about that behavior of Windows. I'm pretty sure it is the windows API and not python that is doing that mangling. But Victor would know for sure. -- ___ Python tracker

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-14 Thread Stefan Krah
Stefan Krah added the comment: Larry Hastings wrote: > Finally, since you have not addressed it directly, let me ask you: > are you interested in Clinic having a more boilerplate-friendly macro > processing mode, with templates or recycling old entries or something? > Or do you not care? If it

[issue16656] os.listdir() returns unusable bytes result on Windows

2012-12-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: os.walk ignores international dirs on Windows -> os.listdir() returns unusable bytes result on Windows ___ Python tracker ___ ___

[issue16656] os.walk ignores international dirs on Windows

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Ah, I misunderstood your comment. Ah, you misunderstood my comment right now. > So, listdir is returning the "correct" the filename, it's just that we can't > encode it to the console encoding. listdir() returns already irremediably broken filename (all C

[issue15691] PEP 3121, 384 Refactoring applied to posix module

2012-12-14 Thread Robin Schreiber
Robin Schreiber added the comment: Updated posixmodule to work with the 3.4 Branch version. -- keywords: +patch Added file: http://bugs.python.org/file28317/posix_pep3121-384_v1.patch ___ Python tracker ___

[issue16656] os.walk ignores international dirs on Windows

2012-12-14 Thread R. David Murray
R. David Murray added the comment: Ah, I misunderstood your comment. So, listdir is returning the "correct" the filename, it's just that we can't encode it to the console encoding. So, it is working as expected within the current windows console limitations, if not in a particularly useful fa

[issue15671] PEP 3121, 384 Refactoring applied to struct module

2012-12-14 Thread Stefan Krah
Stefan Krah added the comment: Robin, if you use ... [diff] git = on ... in your .hgrc, then the bug tracker will automatically generate a Rietveld review link (At least I think that's what prevents links from being generated). -- nosy: +skrah ___

[issue15690] PEP 3121, 384 Refactoring applied to parser module

2012-12-14 Thread Robin Schreiber
Robin Schreiber added the comment: Updated parsermodule patch to work with 3.4 Branch version. -- keywords: +patch Added file: http://bugs.python.org/file28316/parser_pep3121-384_v1.patch ___ Python tracker ___

[issue15671] PEP 3121, 384 Refactoring applied to struct module

2012-12-14 Thread Robin Schreiber
Robin Schreiber added the comment: Updated patch to work with 3.4 Branch version of _struct.c -- keywords: +patch Added file: http://bugs.python.org/file28315/_struct_pep3121-384_v1.patch ___ Python tracker ___

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > What happens if you pass strings? They are encoded with UTF-8. See 's#' and 's*' formats in PyArg_ParseTuple() ('y*' recommended for bytes). -- ___ Python tracker ___

[issue16686] audioop overflow issues

2012-12-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread Ezio Melotti
Ezio Melotti added the comment: What happens if you pass strings? If it doesn't work we can just fix it to raise an exception and stop returning random results, if it works but bytes should be used instead, we should go through a deprecation process. -- nosy: +ezio.melotti ___

[issue16626] Infinite recursion in glob.glob('*:') on Windows

2012-12-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file28221/glob_magic_in_drive.patch ___ Python tracker ___ ___ Python-bugs-

[issue16683] Resort audioop documentation

2012-12-14 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue16626] Infinite recursion in glob.glob('*:') on Windows

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Patch contains unrelated changes. Sorry, my fault. Here is a cleaned patch. -- Added file: http://bugs.python.org/file28314/glob_magic_in_drive.patch ___ Python tracker _

[issue16683] Resort audioop documentation

2012-12-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset e451901e6243 by Ezio Melotti in branch '2.7': #16683: restore alphabetical order in audioop docs. Patch by Serhiy Storchaka. http://hg.python.org/cpython/rev/e451901e6243 New changeset 5777ac884919 by Ezio Melotti in branch '3.2': #16683: restore a

[issue16686] audioop overflow issues

2012-12-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The audioop module has some issues with an overflow. 1. It uses post-checks for an integer overflow. This means using an undefined behavior. 2. When the result truncated in case of overflow, -maxval used as minimal value. But real minimum value is less (-

[issue16681] Documentation 'bidirectional category' should be 'bidirectional class' in unicodedata package

2012-12-14 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: -> ezio.melotti components: +Documentation resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 3.5 ___

[issue16681] Documentation 'bidirectional category' should be 'bidirectional class' in unicodedata package

2012-12-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 02de73bae814 by Ezio Melotti in branch '2.7': #16681: use "bidirectional class" instead of "bidirectional category". http://hg.python.org/cpython/rev/02de73bae814 New changeset 97688292bfe5 by Ezio Melotti in branch '3.2': #16681: use "bidirectional

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16626] Infinite recursion in glob.glob('*:') on Windows

2012-12-14 Thread Éric Araujo
Éric Araujo added the comment: Patch contains unrelated changes. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mai

[issue16684] Unicode property value abbreviated names and long names

2012-12-14 Thread Ezio Melotti
Ezio Melotti added the comment: > for certain applications it is important to be able to get the from > abbreviated name to the long name and vice versa. What kind of application? I have a module where I defined my own dict that maps categories with their full names, but I'm not sure this fea

[issue16656] os.walk ignores international dirs on Windows

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Surrogateescape is for non-decodable names. Here we have a problem with non-encodable names. I know that naive approach with using only Unicode API inside is not work because Windows use complex logic for filename encoding (for example dropping diacritics).

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2012-12-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16685] Deprecate accepting strings as arguments in audioop functions

2012-12-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Inadvertently strings accepted as arguments of audioop functions. This is a meaningless behavior and remnant of Python 2. We should drop string support. -- components: Extension Modules messages: 177477 nosy: serhiy.storchaka priority: normal severi

[issue16684] Unicode property value abbreviated names and long names

2012-12-14 Thread Pander
New submission from Pander: The package unicodedata http://docs.python.org/3/library/unicodedata.html offers looking up of property values in terms of general category, bidirectional class and east asian width for Unicode characters unicodedata.category(unichr) unicodedata.bidirectional(un

[issue16683] Resort audioop documentation

2012-12-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Functions in the audioop module documentation enumerated in alphabetic order. Only one function out of order. Here is a patch that fixes this. -- assignee: docs@python components: Documentation files: audioop_docs_resort.patch keywords: patch messag

[issue16682] Document that audioop works with bytes, not strings

2012-12-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +patch Added file: http://bugs.python.org/file28312/audioop_docs_bytes.patch ___ Python tracker ___ ___

[issue16682] Document that audioop works with bytes, not strings

2012-12-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The audioop module documentation says that functions works with Python strings. This was right in 2.x, but in 3.x here should be bytes objects (actually the functions accept strings too, but this is an implementation detail, meaningless in general). -

[issue16681] Documentation 'bidirectional category' should be 'bidirectional class' in unicodedata package

2012-12-14 Thread Pander
New submission from Pander: Documentation in docs.python.org/3/library/unicodedata.html on 'bidirectional category' should be 'bidirectional class' in unicodedata package. Please see www.unicode.org/Public/UNIDATA/PropertyValueAliases.txt where only bidirectional class is being referred to.

[issue16676] Segfault under Python 3.3 after PyType_GenericNew

2012-12-14 Thread Mark Shannon
Changes by Mark Shannon : -- nosy: +Mark.Shannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16656] os.walk ignores international dirs on Windows

2012-12-14 Thread R. David Murray
R. David Murray added the comment: That's what surrogateescape is for, on linux. I thought Victor dealt with this a different way in Windows. Maybe by deprecating the bytes interface :) -- nosy: +haypo ___ Python tracker

[issue879399] socket line buffering

2012-12-14 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Good point, will do. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue16669] Docstrings for namedtuple

2012-12-14 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > I don't think it is worth complicating the API for this. There have > been zero requests for this functionality. Even the doc field of > property() is rarely used. +1 -- nosy: +giampaolo.rodola ___ Python tr

[issue6331] Add unicode script info to the unicode database

2012-12-14 Thread Pander
Pander added the comment: Please, also consider reviewing functionality offered by: http://pypi.python.org/pypi/unicodescript/ and http://pypi.python.org/pypi/unicodeblocks/ which could be used to improve and extend the proposed patch. -- nosy: +PanderMusubi

[issue16656] os.walk ignores international dirs on Windows

2012-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks, Anatoly. I see an actual bug. FindFirstFile and FindNextFile return broken name if file unicode name can't be represented in current codepage. I don't know what is perfect solution for this issue. On 2.7 we can decode listdir() argument to unicode an

[issue3871] cross and native build of python for mingw* hosts

2012-12-14 Thread Jason Huntley
Jason Huntley added the comment: I'm attempting to build Python-3.3.0 with mingw64. I get a minute or two into the build and fail with this error: ./Include/pythonrun.h:178:1: warning: function declaration isn't a prototype [-W strict-prototypes] ./Modules/getpath.c: In function 'isfile': ./Mod

[issue16421] importlib.machinery.ExtensionFileLoader cannot load several modules from the same shared object

2012-12-14 Thread STINNER Victor
STINNER Victor added the comment: Some tests are failing since the changeset 6eefe4d537b3. Example: http://buildbot.python.org/all/builders/x86%20RHEL%206%203.x/builds/1431/steps/test/logs/stdio Please check buildbots. [176/371] test_pkgutil test_getdata_filesys (test.test_pkgutil.PkgutilTests

[issue16619] LOAD_GLOBAL used to load `None` under certain circumstances

2012-12-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2012-12-14 Thread Robin Schreiber
Robin Schreiber added the comment: Patch updated to work with current 3.4 Branch version of elementtree. -- keywords: +patch Added file: http://bugs.python.org/file28311/_elementtree_pep3121-384_v1.patch ___ Python tracker

[issue879399] socket line buffering

2012-12-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Would be nice to add a test... -- nosy: +pitrou versions: -Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2012-12-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: The error can be reproduced for 2.7 and 3.2. Starting from 3.3 os.error and IOError both aliases for OSError and patch doesn't needed. -- nosy: +asvetlov ___ Python tracker __

[issue16421] importlib.machinery.ExtensionFileLoader cannot load several modules from the same shared object

2012-12-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6eefe4d537b3 by Andrew Svetlov in branch 'default': Issue #16421: allow to load multiple modules from the same shared object. http://hg.python.org/cpython/rev/6eefe4d537b3 -- nosy: +python-dev ___ Python

[issue16377] Fix bisect unittest

2012-12-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16421] importlib.machinery.ExtensionFileLoader cannot load several modules from the same shared object

2012-12-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Sorry for delay. Thanks, Vaclav! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue16678] optparse: parse only known options

2012-12-14 Thread R. David Murray
R. David Murray added the comment: We aren't encouraging people to use optparse any more. The recipe isn't needed in argparse, as that has a "parse_known_args" method that achieves the same end. -- nosy: +r.david.murray ___ Python tracker

[issue15963] Improve ./configure's support for 32/64-bit debug|release|profiled builds w/ vendor (non-gcc) compilers on proprietary UNIX systems (Solaris/HP-UX/AIX et al).

2012-12-14 Thread Trent Nelson
Trent Nelson added the comment: On Thu, Dec 13, 2012 at 10:28:00PM -0800, Ned Deily wrote: > > Ned Deily added the comment: > > Without having reviewed the proposed change in detail, a couple of > comments. On current OS X systems and others, the compiler could be > clang which perhaps should

[issue16676] Segfault under Python 3.3 after PyType_GenericNew

2012-12-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue879399] socket line buffering

2012-12-14 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Here's a patch for the current 2.7 stuff, from issue #16680 (which was deemed duplicate). Unless anyone objects, I'll commit that to 2.7 soon. Eight years, this has taken. -- keywords: +patch nosy: +kristjan.jonsson Added file: http://bugs.pyt

[issue16679] Wrong URL path decoding

2012-12-14 Thread Claude Paroz
Claude Paroz added the comment: I may understand your reasoning when you cannot make any assumptions about the encoding of a series of bytes. I think that the case of PATH_INFO is different, because it should comply with standards, and then you *can* make the assumption that the original path

[issue16680] Line buffering in socket._fileobject is broken

2012-12-14 Thread Charles-François Natali
Charles-François Natali added the comment: It's a duplicate, otherwise the patch LGTM. -- nosy: +neologix resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> socket line buffering ___ Python tracker

[issue2771] Test issue

2012-12-14 Thread Ezio Melotti
Ezio Melotti added the comment: irker test -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16680] Line buffering in socket._fileobject is broken

2012-12-14 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: http://www.urbandictionary.com/define.php?term=borken -- ___ Python tracker ___ ___ Python-b

[issue16680] Line buffering in socket._fileobject is broken

2012-12-14 Thread Berker Peksag
Changes by Berker Peksag : -- title: Line buffering in socket._fileobject is borken -> Line buffering in socket._fileobject is broken ___ Python tracker ___

[issue16679] Wrong URL path decoding

2012-12-14 Thread Graham Dumpleton
Graham Dumpleton added the comment: You can't try UTF-8 and then fall back to ISO-8859-1. PEP requires it always be ISO-8859-1. If an application needs it as something else, it is the web applications job to do it. The relevant part of the PEP is: """On Python platforms where the str or

  1   2   >