[issue18047] Descriptors get invoked in old-style objects and classes

2013-05-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: We document what we're willing to guarantee. The exposure of descriptors in old-style classes was an incidental implementation detail. Sorry, I'm going to close this one. Besides, it's time to start forgetting Python 2 and move along :-) --

[issue18092] Python 2.7.5 installation broken on OpenSuse 12.2

2013-05-29 Thread Andreas Jung
Changes by Andreas Jung zopyxfil...@gmail.com: -- components: +Build ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18092 ___ ___ Python-bugs-list

[issue18092] Python 2.7.5 installation broken on OpenSuse 12.2

2013-05-29 Thread Andreas Jung
New submission from Andreas Jung: I tried to install 2.7.5 on my OpenSuse 12.2 (latest patches) ajung@blackmoon2:~/sandboxes/mib.portal cat /etc/issue Welcome to openSUSE 12.2 Mantis - Kernel \r (\l). Compilation went fine (no visible errors). Starting the interpreter gives me:

[issue18092] Python 2.7.5 installation broken on OpenSuse 12.2

2013-05-29 Thread Ned Deily
Ned Deily added the comment: Without more information, it is difficult to guess what is going wrong. Please provide exactly what ./configure options you used to build Python and any make install options. When you start Python, what values do sys.prefix, sys.exec_prefix, and sys.path have?

[issue18052] IDLE 3.3.2 Windows taskbar icon regression

2013-05-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: I can't reproduce the issue it all; IDLE just readily pins to the task bar with the correct icon. Can somebody please provide exact steps to reproduce? -- ___ Python tracker rep...@bugs.python.org

[issue18087] os.listdir don't show hidden option

2013-05-29 Thread Dražen Lučanin
Dražen Lučanin added the comment: I created a first version of the patch (attached as a remote hg repo). It would enable users to exclude hidden files with: import os print(os.listdir(path='.', show_hidden=False)) while still keeping full backwards compatibility, since show_hidden is

[issue11229] Make the Mac installer more like the Windows installer

2013-05-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm +1 on the general idea, but have some remarks anyway: 1) for all users vs. current user This likely requires a post-install script to fix up the load command's in binaries: on OSX binaries contain absolute paths to the libraries the link with (which for

[issue11229] Make the Mac installer more like the Windows installer

2013-05-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: BTW. There is a completely different way for distributing Python: drop the entire installer and provide a zipfile containing a single application bundle. The most likely target for the application is IDLE, with a new menu item for making the command-line

[issue18052] IDLE 3.3.2 Windows taskbar icon regression

2013-05-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: All I did was install (standard, all users) and start Idle without rebooting. Problem goes away after reboot. This happened on previous versions with different hardware. -- ___ Python tracker rep...@bugs.python.org

[issue18087] os.listdir don't show hidden option

2013-05-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The concept of hidden file depends on the platform, and is independent of the listdir() function. The first thing is to agree on an implementation of the hidden property, and expose it as os.path.ishidden. Then we can consider an option to os.listdir.

[issue18087] os.listdir don't show hidden option

2013-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't really understand, since this is an easy one-liner: [n for n in os.listdir(...) if not n.startswith(.)] Also, as mentioned, what you want to hide is not necessarily well-defined. For example, under Unix you might want to hide *~ files. So I don't

[issue16102] uuid._netbios_getnode() is outdated

2013-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: If noone has reported the issue in years (Google doesn't seem to report any occurrence), perhaps it means the code is simply not used anymore? In which case it should probably be removed. -- nosy: +pitrou ___

[issue9369] const char* for PyObject_CallMethod and PyObject_CallFunction

2013-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks good to me. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9369 ___ ___ Python-bugs-list

[issue18087] os.listdir don't show hidden option

2013-05-29 Thread Dmi Baranov
Dmi Baranov added the comment: Also, as mentioned, what you want to hide is not necessarily well-defined. For example, under Unix you might want to hide *~ files. Yes, and instead of adding another parameters, something like that: os.listdir(path, show_hidden=False, hidden_files_mask='*~',

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-29 Thread Dmi Baranov
Dmi Baranov added the comment: Fred or Serhiy - any news here? I'm signed Contributor Agreement few days ago, just waiting a change in my profile here, please don't worry about copyright :-) -- ___ Python tracker rep...@bugs.python.org

[issue18090] dict_contains first argument declared register, and shouldn't be

2013-05-29 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- nosy: +Mark.Shannon, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18090 ___ ___

[issue18091] Remove PyNoArgsFunction

2013-05-29 Thread Larry Hastings
Larry Hastings added the comment: Either of you gentlemen care to offer an opinion? -- nosy: +benjamin.peterson, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18091 ___

[issue18087] os.listdir don't show hidden option

2013-05-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - rejected stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18087 ___

[issue9369] const char* for PyObject_CallMethod and PyObject_CallFunction

2013-05-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9369 ___ ___

[issue16102] uuid._netbios_getnode() is outdated

2013-05-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16102 ___ ___

[issue18085] Verifying refcounts.dat

2013-05-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: And is it necessary to list all functions there? Many functions share the same behavior: they don't change the ownership of PyObject* passed as argument, and return a new reference. Only document functions that don't conform to this rule, like

[issue18090] dict_contains first argument declared register, and shouldn't be

2013-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would recommend suppressing all register keywords from our C source files. It shouldn't make any difference these days. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18090

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Can you please submit a contributor form? http://python.org/psf/contrib/contrib-form/ http://python.org/psf/contrib/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18084

[issue17768] _decimal: allow NUL fill character

2013-05-29 Thread Stefan Krah
Stefan Krah added the comment: Here's a baroque patch for _decimal. It's complicated by the fact that there's no way of knowing what kind of UTF-8 fragments might be hidden in multi-byte separators or decimal points. -- Added file: http://bugs.python.org/file30407/issue17768.diff

[issue18093] Move main functions to a separate Programs directory

2013-05-29 Thread Nick Coghlan
Nick Coghlan added the comment: Note that the two patches are the same, I was just curious to see the difference in handling between them in terms of the review integration. -- ___ Python tracker rep...@bugs.python.org

[issue18093] Move main functions to a separate Programs directory

2013-05-29 Thread Nick Coghlan
New submission from Nick Coghlan: This patch moves the C level main functions for python, _testembed and _freeze_importlib to a new Programs directory. I added README files with my current understanding of the expected contents of the Python, Objects, Modules and Programs directories and also

[issue18093] Move main functions to a separate Programs directory

2013-05-29 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Added file: http://bugs.python.org/file30409/move_programs.git.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18093 ___

[issue18093] Move main functions to a separate Programs directory

2013-05-29 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Removed file: http://bugs.python.org/file30408/move_programs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18093 ___

[issue18093] Move main functions to a separate Programs directory

2013-05-29 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- Removed message: http://bugs.python.org/msg190293 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18093 ___

[issue18087] os.listdir don't show hidden option

2013-05-29 Thread Dražen Lučanin
Dražen Lučanin added the comment: @Amaury Forgeot d'Arc - well, the '.' and '..' special files are detected directly in the listdir code, so I don't think there is any need to interleave this logic any deeper (such as os.path.ishidden). @Antoine Pitrou - a one-liner, but it unnecessarily

[issue17681] Work with an extra field of gzip files

2013-05-29 Thread Dmi Baranov
Dmi Baranov added the comment: I'll be glad to do it, but having some questions for discussing. First about FEXTRA format - it consists of a series of subfields [1] and current Lib/test/test_gzip.py :: test_read_with_extra having a bit incorrect extra field - sure, if somebody using format

[issue18094] Skip tests in test_uuid not silently

2013-05-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Tests in test_uuid just silently skipped if ran on unsuitable platform or if required module is not available. In such cases tests resulted as succesful passed. The proposed patch uses unittest.skipUnless to mark them as skipped. -- components:

[issue16102] uuid._netbios_getnode() is outdated

2013-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Any exceptions were silently dropped. And tests silently skipped (issue18094). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16102 ___

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-29 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: From v5 of the patch: + A context managers that temporarily replaces the :data:`sys.stdin` / + :data:`sys.stdout` / :data:`sys.stderr` stream with :class:`io.StringIO` + object. I'd go with singular nouns instead of trying to map across them with

[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

2013-05-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: The problem is that when the fifo contains a producer and the more() method of the producer returns a non-empty bytes sequence, then the producer must be put back in the fifo first. This is what does the following change made to Pierrick patch: diff --git

[issue17681] Work with an extra field of gzip and zip files

2013-05-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file30412/zip_extra.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17681 ___

[issue17681] Work with an extra field of gzip and zip files

2013-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have an almost ready patch but I doubt about interface. It can be discussed. ZIP file entries have similar extra field and I'm planning to add similar feature to the zipfile module too. Here are preliminary patches. -- keywords: +patch title:

[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

2013-05-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I think we shouldn't expect asynchat to be thread safe in this regard. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17925 ___

[issue18093] Move main functions to a separate Programs directory

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

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM with Fred's suggestion. -- assignee: docs@python - fdrake ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17987 ___

[issue16113] Add SHA-3 (Keccak) support

2013-05-29 Thread englabenny
englabenny added the comment: NIST has published a tentative schedule for SHA-3 standardization. They expect to publish in the second quarter of 2014. See http://csrc.nist.gov/groups/ST/hash/sha-3/timeline_fips.html and http://csrc.nist.gov/groups/ST/hash/sha-3/sha-3_standardization.html

[issue17403] Robotparser fails to parse some robots.txt

2013-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 30128355f53b by Senthil Kumaran in branch '3.3': #17403: urllib.parse.robotparser normalizes the urls before adding to ruleline. http://hg.python.org/cpython/rev/30128355f53b New changeset e954d7a3bb8a by Senthil Kumaran in branch 'default': merge

[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

2013-05-29 Thread Andrew Stormont
Andrew Stormont added the comment: What about changing: self.producer_fifo.appendleft(first) self.producer_fifo.appendleft(data) To self.producer_fifo.extendleft([data, first]) Assuming deque's extendleft is actually thread safe. -- ___ Python

[issue17403] Robotparser fails to parse some robots.txt

2013-05-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in default, 3.3 and 2.7. I will merge this change to 3.2 code line before closing this. I shall raise a new request for updating robotparser with other goodies. -- ___ Python tracker

[issue17768] _decimal: allow NUL fill character

2013-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9156c663d6aa by Stefan Krah in branch '3.3': Issue #17768: Support newline fill character in decimal.py and NUL fill http://hg.python.org/cpython/rev/9156c663d6aa -- nosy: +python-dev ___ Python tracker

[issue17768] _decimal: allow NUL fill character

2013-05-29 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17768 ___

[issue18095] unable to invoke socket.connect with AF_UNSPEC

2013-05-29 Thread Roman Valov
New submission from Roman Valov: There is a way to disconnect UDP socket that was previously connected to specific remote endpoint in C: struct sockaddr_in sin; memset((char *)sin, 0, sizeof(sin)); sin.sin_family = AF_UNSPEC; connect(fd, (struct sockaddr *)sin, sizeof(sin));

[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2013-05-29 Thread Marius Gedminas
Marius Gedminas added the comment: This is a duplicate of issue2604, isn't it? -- nosy: +mgedmin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9736 ___

[issue18093] Move main functions to a separate Programs directory

2013-05-29 Thread Stefan Drees
Changes by Stefan Drees ste...@drees.name: -- nosy: +dilettant ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18093 ___ ___ Python-bugs-list

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-29 Thread João Bernardo
João Bernardo added the comment: I did what @Richard Oudkerk said and created the wait_for_any classmethod for the Condition class. Other Changes: - I had to refactor wait and wait_for to be specializations of wait_for_any. - try...except on notify because the inner lock might have been

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-29 Thread Hideaki Takahashi
Hideaki Takahashi added the comment: I signed it and by eSign and got a signed/filed response yesterday. But according to Lifecycle of a patch in developer guide, my name is needed to be added to Misc/ACKS. Can I update patch to do this? -- ___

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-29 Thread Ethan Furman
Ethan Furman added the comment: Working on documentation... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17947 ___ ___ Python-bugs-list

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, please. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18084 ___ ___ Python-bugs-list mailing list

[issue9369] const char* for PyObject_CallMethod and PyObject_CallFunction

2013-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Jörg, Lars, can you please submit a contributor form? http://python.org/psf/contrib/contrib-form/ http://python.org/psf/contrib/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9369

[issue9369] const char* for PyObject_CallMethod and PyObject_CallFunction

2013-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a45896a7cde by Serhiy Storchaka in branch 'default': Issue #9369: The types of `char*` arguments of PyObject_CallFunction() and http://hg.python.org/cpython/rev/0a45896a7cde -- nosy: +python-dev ___

[issue9369] const char* for PyObject_CallMethod and PyObject_CallFunction

2013-05-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: accepted - fixed stage: commit review - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9369 ___

[issue17846] Building Python on Windows - Supplementary info

2013-05-29 Thread michael kearney
michael kearney added the comment: Thanks for the pointer to your work and discussion in issue16895. I was contemplating something along those lines. I had not started down that path first because I've only relatively recently thrashed the problem enough to understand the issues, and second

[issue18091] Remove PyNoArgsFunction

2013-05-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: If you want to convince Blender to stop using it, you can kill it. It's seems fairly harmless, though. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18091

[issue18093] Move main functions to a separate Programs directory

2013-05-29 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18093 ___ ___

[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

2013-05-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: extendleft is an extension module C function (in the _collections module) that does not release the GIL, so it is thread safe. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17925

[issue18096] bad library order returned by python-config.in

2013-05-29 Thread David Taylor
New submission from David Taylor: Misc/python-config.in returns a bad library order when given the --ldflags or --libs arguments. A library should be listed *BEFORE* those libraries that it depends upon. The python library depends upon all the other libraries listed, but it is listed last

[issue18085] Verifying refcounts.dat

2013-05-29 Thread Skip Montanaro
Skip Montanaro added the comment: And is it necessary to list all functions there? Probably not. However, BITD, I was figuring this stuff out as I was going along by examining the source code and writing down what I found. No regard for common or special cases. S --

[issue18097] Check out my profile on LinkedIn

2013-05-29 Thread Michel Weinachter
New submission from Michel Weinachter: LinkedIn I'd like to include you in my network to share updates and stay in touch. - Michel Michel Weinachter Senior security manager / RSSI at Thales Paris Area, France Confirm that you know Michel Weinachter:

[issue1693050] \w not helpful for non-Roman scripts

2013-05-29 Thread Matthew Barnett
Matthew Barnett added the comment: You could've obtained it from msg76556 or msg190100: print(ascii('हिन्दी')) '\u0939\u093f\u0928\u094d\u0926\u0940' import re, regex print(ascii(re.match(r\w+, '\u0939\u093f\u0928\u094d\u0926\u0940').group())) '\u0939' print(ascii(regex.match(r\w+,

[issue18097] spam

2013-05-29 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: -- resolution: - invalid status: open - closed title: Check out my profile on LinkedIn - spam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18097

[issue1693050] \w not helpful for non-Roman scripts

2013-05-29 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs added the comment: Thanks Matthew and sorry to put you through more work; I just wanted to verify exactly which unicode (UTF-16 I take it) were being used to verify if the UNICODE standard expected them to be treated as unique words or single letters within a word. Sanskrit

[issue1693050] \w not helpful for non-Roman scripts

2013-05-29 Thread Matthew Barnett
Matthew Barnett added the comment: UTF-16 has nothing to do with it, that's just an encoding (a pair of them actually, UTF-16LE and UTF-16BE). And I don't know why you thought I was using findall in msg190100 when the examples were using match! :-) --

[issue18097] spam

2013-05-29 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Removed file: http://bugs.python.org/file30415/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18097 ___

[issue18090] dict_contains first argument declared register, and shouldn't be

2013-05-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18090 ___ ___ Python-bugs-list

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-29 Thread Hideaki Takahashi
Hideaki Takahashi added the comment: Patch updated. Thanks. -- Added file: http://bugs.python.org/file30416/18084_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18084 ___

[issue18090] dict_contains first argument declared register, and shouldn't be

2013-05-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18090 ___ ___

[issue1693050] \w not helpful for non-Roman scripts

2013-05-29 Thread STINNER Victor
STINNER Victor added the comment: Let see Modules/_sre.c: #define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch) #define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_') [ch.isalpha() for ch in '\u0939\u093f\u0928\u094d\u0926\u0940'] [True, False, True, False, True, False] import

[issue18090] dict_contains first argument declared register, and shouldn't be

2013-05-29 Thread Mark Shannon
Mark Shannon added the comment: The register qualifier on the parameter does not alter the calling convention, it determines the storage class of the parameter variable within the function. Having said that I am all in favour in removing any and all register declarations. --

[issue18090] dict_contains first argument declared register, and shouldn't be

2013-05-29 Thread Larry Hastings
Larry Hastings added the comment: The register qualifier on the parameter does not alter the calling convention, it determines the storage class of the parameter variable within the function. You assert that declaring a parameter as register instructs the compiler that callers should pass

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset ccffce2dde49 by Serhiy Storchaka in branch 'default': Issue #18084: Use sys.byteorder in wave.py. http://hg.python.org/cpython/rev/ccffce2dde49 -- nosy: +python-dev ___ Python tracker

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your patch. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18084

[issue17247] int and float should detect inconsistent format strings

2013-05-29 Thread Stefan Krah
Stefan Krah added the comment: With this patch float and int should behave like Decimal. It may break existing code that (accidentally) uses both legacy zero padding and explicit alignment. -- keywords: +patch stage: needs patch - patch review versions: -Python 3.3 Added file:

[issue17269] getaddrinfo segfaults on OS X when provided with invalid arguments combinations

2013-05-29 Thread Stefan Krah
Stefan Krah added the comment: Hi, I think this broke the tiger buildbot: http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/6368/steps/test/logs/stdio -- nosy: +skrah ___ Python tracker rep...@bugs.python.org

[issue18098] Build Applet.app build fails on OS X 10.8

2013-05-29 Thread Ned Deily
New submission from Ned Deily: The Build Applet.app tool for OS X depends on the deprecated EasyDialogs module to interact with the user. EasyDialogs depends on Apple-deprecated Carbon QuickDraw APIs. As of OS X 10.8, the headers for the QuickDraw APIs are no longer supplied with Xcode 4.

[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7136 ___ ___ Python-bugs-list

[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Todd Rovito
Todd Rovito added the comment: Roger's patch works but the documentation has changed since he made the patch back in 2011. So I patched the patch and hope this very simple patch will get committed. I will work on a patch for 2.7 next. Today I was teaching a student on how to use Python with

[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Todd Rovito
Todd Rovito added the comment: Same patch but for Python 2.7.5. I just updated the documentation from Roger's excellent patch. -- versions: +Python 2.7 Added file: http://bugs.python.org/file30419/7136FileMenuConfusionV22point7.patch ___ Python

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-05-29 Thread Roger Serwy
Roger Serwy added the comment: The problem I'm encountering is that tk.splitlist() is now being given a Tcl_Obj instead of a str type. Since everything is Tcl is a string, explicitly casting a Tcl_Obj to a string seems reasonable. Attached is some proof-of-concept code to work around the

[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Roger Serwy
Roger Serwy added the comment: LGTM. Thanks Todd! -- assignee: - roger.serwy stage: needs patch - commit review versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7136 ___

[issue18052] IDLE 3.3.2 Windows taskbar icon regression

2013-05-29 Thread Roger Serwy
Roger Serwy added the comment: I'm running Win7 64-bit in a VM. The steps for me was to start with a system without any Python version installed. Install 3.3.1 32-bit, and then install 3.3.2 32-bit. IDLE launches with a red Tk icon and pinning it to the task bar does not actually pin IDLE. A

[issue14191] argparse doesn't allow optionals within positionals

2013-05-29 Thread paul j3
paul j3 added the comment: This is a refinement of the patch with Message188609. In parse_known_intermixed_args, the temporary capture of formatted usage has been put in a try/finally structure. Positionals are now 'deactivated' with action.nargs = SUPPRESS action.default = SUPPRESS

[issue14191] argparse doesn't allow optionals within positionals

2013-05-29 Thread Glenn Linderman
Glenn Linderman added the comment: These sound like good refinements. You've been thinking. By making the fallback happen externally, it simplifies the implementation of parse_intermixed_args, and forces the application to accept responsibility for calling it with a consistent set of