Re: Problems of Symbol Congestion in Computer Languages

2011-03-13 Thread Robert Maas, http://tinyurl.com/uh3t
From: rantingrick rantingr...@gmail.com Anyone with half a brain understands the metric system is far superior (on many levels) then any of the other units of measurement. Anyone with a *whole* brain can see that you are mistaken. The current metric system has two serious flaws: It's based

Is there any python library that parse c++ source code statically

2011-03-13 Thread kuangye
Hi, all. I need to generate other programming language source code from C++ source code for a project. To achieve this, the first step is to understand the c++ source code at least in formally. Thus is there any library to parse the C++ source code statically. So I can developer on this library.

Is there any python library that parse c++ source code statically

2011-03-13 Thread kuangye
Hi, all. I need to generate other programming language source code from C++ source code for a project. To achieve this, the first step is to understand the c++ source code at least in formally. Thus is there any library to parse the C++ source code statically. So I can developer on this library.

Re: Is there any python library that parse c++ source code statically

2011-03-13 Thread Francesco Bochicchio
On 13 Mar, 10:14, kuangye kuangye19840...@gmail.com wrote: Hi, all. I need to generate other programming language source code from C++ source code for a project. To achieve this, the first step is to understand the c++ source code at least in formally. Thus is there any library to parse the

OS X 10.6 pip compile error

2011-03-13 Thread mak
Hi all, how do i fix this? $ sudo pip install lightblue Downloading/unpacking lightblue Downloading lightblue-0.4.tar.gz (204Kb): 204Kb downloaded Running setup.py egg_info for package lightblue Installing collected packages: lightblue Running setup.py install for lightblue Build

Re: Problems of Symbol Congestion in Computer Languages

2011-03-13 Thread Steven D'Aprano
On Sun, 13 Mar 2011 00:52:24 -0800, Robert Maas, http://tinyurl.com/uh3t wrote: Exercise to the reader: Combine those nine-decimal-digit and ten-decimal-digit numbers appropriately to express exactly how many wavelengths of the hyperfine transition equals one meter. Hint: You either multiply

Guido rethinking removal of cmp from sort method

2011-03-13 Thread Steven D'Aprano
The removal of cmp from the sort method of lists is probably the most disliked change in Python 3. On the python-dev mailing list at the moment, Guido is considering whether or not it was a mistake. If anyone has any use-cases for sorting with a comparison function that either can't be written

Re: Purely historic question: VT200 text graphic programming

2011-03-13 Thread Anssi Saari
rzed rzan...@gmail.com writes: Did you say was? The last time I did any programming on a VMS system was ... about 5 1/2 hours ago. Our shop runs OpenVMS now, programs mostly in C and BASIC. I've quietly insinuated Python into the mix over the last few months, and that has helped my sanity

Re: Is there any python library that parse c++ source code statically

2011-03-13 Thread Stefan Behnel
Francesco Bochicchio, 13.03.2011 10:37: On 13 Mar, 10:14, kuangyekuangye19840...@gmail.com wrote: Hi, all. I need to generate other programming language source code from C++ source code for a project. To achieve this, the first step is to understand the c++ source code at least in formally.

Re: Is there any python library that parse c++ source code statically

2011-03-13 Thread Philip Semanchuk
On Mar 13, 2011, at 11:46 AM, Stefan Behnel wrote: Francesco Bochicchio, 13.03.2011 10:37: On 13 Mar, 10:14, kuangyekuangye19840...@gmail.com wrote: Hi, all. I need to generate other programming language source code from C++ source code for a project. To achieve this, the first step is to

Hello Friends

2011-03-13 Thread Ashraf Ali
If someone want to know about Bollywood Hot actress and the biography, Just www.hotpics00.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Changing class name causes process to 'hang'

2011-03-13 Thread Tim Johnson
* Terry Reedy tjre...@udel.edu [110312 17:45]: ## code below import cgi self.form = cgi.FieldStorage(keep_blank_values=1) ## /code And cgitools is a class therein? Code above is called with/from cgitools Hmm! I'm unsure what you mean here, but If the name 'cgitools' is

RE: [IronPython] IronPython 2.7 Now Available

2011-03-13 Thread Medcoff, Charles
Can someone on the list clarify differences or overlap between the tools included in this release, and the PTVS release? -- http://mail.python.org/mailman/listinfo/python-list

RE: [IronPython] IronPython 2.7 Now Available

2011-03-13 Thread Dino Viehland
The PTVS release is really an extended version of the tools in IronPython 2.7. It adds support for CPython including debugging, profiling, etc... while still supporting IronPython as well. We'll likely either replace the tools distributed w/ IronPython with this version (maybe minus things

RE: [IronPython] IronPython 2.7 Now Available

2011-03-13 Thread Medcoff, Charles
Thanks that helps. I've tried the first option. Not doing much Python stuff at the moment, but I'll follow up if I experience any issues with this approach. I'm very excited that both the language and tools support is forging ahead - thanks all. -Original Message- From:

Re: Purely historic question: VT200 text graphic programming

2011-03-13 Thread rzed
Anssi Saari a...@sci.fi wrote in news:vg3tyf75eq1@pepper.modeemi.fi: rzed rzan...@gmail.com writes: Did you say was? The last time I did any programming on a VMS system was ... about 5 1/2 hours ago. Our shop runs OpenVMS now, programs mostly in C and BASIC. I've quietly insinuated

Re: Changing class name causes process to 'hang'

2011-03-13 Thread Tim Johnson
* Tim Johnson t...@johnsons-web.com [110313 08:27]: One other thing I just realized: The process stops inside of a function call to another object method, if that method call is removed, the process teminates. :) I may have a solution later today, and will relay it to you if found.

generator / iterator mystery

2011-03-13 Thread Dave Abrahams
Please consider: from itertools import chain def enum3(x): return ((x,n) for n in range(3)) ... list(enum3('a')) [('a', 0), ('a', 1), ('a', 2)] # Rewrite the same expression four different ways: list(chain( enum3('a'), enum3('b'), enum3('c') )) [('a', 0), ('a', 1), ('a', 2), ('b', 0),

Re: Changing class name causes process to 'hang'

2011-03-13 Thread Terry Reedy
On 3/13/2011 3:17 PM, Tim Johnson wrote: * Tim Johnsont...@johnsons-web.com [110313 08:27]: One other thing I just realized: The process stops inside of a function call to another object method, if that method call is removed, the process teminates. :) I may have a solution later

adodbapi integer parameters and MS Access

2011-03-13 Thread Joe
Here is my environment: Windows 7 x64 SP1 Python 3.2 adodbapi 2.4.2 MS Access Although the above environment is what I am currently using I have encountered this same problem with Python 3.1.1. It is not a problem with Python 2.x. The problem is as follows: If you are using a select

Re: generator / iterator mystery

2011-03-13 Thread Peter Otten
Dave Abrahams wrote: list(chain( *(((x,n) for n in range(3)) for x in 'abc') )) [('c', 0), ('c', 1), ('c', 2), ('c', 0), ('c', 1), ('c', 2), ('c', 0), [('c', 1), ('c', 2)] Huh? Can anyone explain why the last result is different? (This is with Python 2.6) The *-operator is not lazy, so

Re: generator / iterator mystery

2011-03-13 Thread Hrvoje Niksic
Dave Abrahams d...@boostpro.com writes: list(chain( *(((x,n) for n in range(3)) for x in 'abc') )) [('c', 0), ('c', 1), ('c', 2), ('c', 0), ('c', 1), ('c', 2), ('c', 0), ('c', 1), ('c', 2)] Huh? Can anyone explain why the last result is different? list(chain(*EXPR)) is constructing a

Re: organizing many python scripts, in a large corporate environment.

2011-03-13 Thread bukzor
On Mar 12, 12:01 pm, eryksun () eryk...@gmail.com wrote: bukzor wrote: This only works if you can edit the PYTHONPATH. With thousands of users and dozens of groups each with their own custom environments, this is a herculean effort. ... I don't think it's recommended to directly run a

RE: Python Tools for Visual Studio from Microsoft - Free Open Source

2011-03-13 Thread Brad Davies
From: pa...@cruzio.com To: santacruz-...@hotmail.com Subject: Fw: Python Tools for Visual Studio from Microsoft - Free Open Source Date: Thu, 10 Mar 2011 18:47:19 -0800 - Original Message - From: pyt...@bdurham.com To: roland garros rolandgarros...@gmail.com;

Re: organizing many python scripts, in a large corporate environment.

2011-03-13 Thread bukzor
On Mar 12, 12:37 pm, Tim Johnson t...@johnsons-web.com wrote: * Phat Fly Alanna flannelsau...@gmail.com [110312 07:22]: We've been doing a fair amount of Python scripting, and now we have a directory with almost a hundred loosely related scripts. It's obviously time to organize this,

Re: Changing class name causes process to 'hang'

2011-03-13 Thread Tim Johnson
* Terry Reedy tjre...@udel.edu [110313 13:46]: On 3/13/2011 3:17 PM, Tim Johnson wrote: * Tim Johnsont...@johnsons-web.com [110313 08:27]: Your fundamental problem is that you changed the api of your module. When you do that, No. I created a 'fork' of the original so that the 'fork' uses

Re: organizing many python scripts, in a large corporate environment.

2011-03-13 Thread Tim Johnson
* bukzor workithar...@gmail.com [110313 15:48]: Thanks Tim. I believe I understand it. You create loaders in a flat organization, in the same directory as your shared library, so that it's found Not in the same directory as shared libraries. naturally. These loaders use custom code to

Re: Grabbing user's agent and OS type

2011-03-13 Thread Ben Finney
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: I think you give the user-agent string too much credit. Despite what some people think, including some browser developers, it's a free-form string and can contain anything the browser wants. There's no guarantee that fields will

Re: PEP for module naming conventions

2011-03-13 Thread Ben Finney
Tim Johnson t...@johnsons-web.com writes: I need to be better informed on naming conventions for modules. For instance, I need to create a new module and I want to make sure that the module name will not conflict with any future or current python system module names. You'll never be able to

Re: Do you monitor your Python packages in inux distributions?

2011-03-13 Thread Ben Finney
s...@pobox.com writes: […] I got a hit on an Ubuntu bug tracker about a SpamBayes bug. As it turns out, Ubuntu distributes an outdated (read: no longer maintained) version of SpamBayes. The bug had been fixed over three years ago in the current version. Had I known this I could probably have

Re: PEP for module naming conventions

2011-03-13 Thread Tim Johnson
* Ben Finney ben+pyt...@benfinney.id.au [110313 17:15]: Tim Johnson t...@johnsons-web.com writes: I need to be better informed on naming conventions for modules. For instance, I need to create a new module and I want to make sure that the module name will not conflict with any future or

Re: Switching between Python releases under Windows

2011-03-13 Thread Tim Lesher
I've written a script to do just this, called switchpy.bat. It's described here: http://apipes.blogspot.com/2010/10/switchpy.html Or you can just grab the latest version at: https://bitbucket.org/tlesher/mpath/src/3edcff0e8197/switchpy.bat --

Re: organizing many python scripts, in a large corporate environment.

2011-03-13 Thread Terry Reedy
On 3/13/2011 7:27 PM, bukzor wrote: I think this touches on my core problem. It's dead simple (and natural) to use .py files simultaneously as both scripts and libraries, as long as they're in a flat organization (all piled into a single directory). Because of this, I never expected it to be so

ttk styles

2011-03-13 Thread Peter
Hi I'm struggling to get a good understanding of styles as used in ttk. I have read the tutorial section on using styles but haven't been able to solve this problem. I am attempting to create a Checkbutton with the indicatoron=false option. Using ttk the documentation is clear that you have to

Re: Guido rethinking removal of cmp from sort method

2011-03-13 Thread Dave Abrahams
Steven D'Aprano steve+comp.lang.python at pearwood.info writes: If anyone has any use-cases for sorting with a comparison function that either can't be written using a key function, or that perform really badly when done so, this would be a good time to speak up. I think it's probably

Re: Don't Want Visitor To See Nuttin'

2011-03-13 Thread alex23
Ian Kelly ian.g.ke...@gmail.com wrote: Yow.  You're designing a Maya 2012 website to help some travel company bilk gullible people out of thousands of dollars?  I would be ashamed to have anything to do with this. To be fair, he _does_ appear to be bilking the company out of thousands of

Re: organizing many python scripts, in a large corporate environment.

2011-03-13 Thread eryksun ()
On Sunday, March 13, 2011 7:27:47 PM UTC-4, bukzor wrote: e) create custom boilerplate in each script that addresses the issues in a-d. This seems to be the best practice at the moment... The boilerplate should be pretty simple. For example, if the base path is the parent directory, then

[issue11477] Bug in code dispatching based on internal slots

2011-03-13 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list

[issue3493] No Backslash (\) in IDLE 1.2.2

2011-03-13 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Removed file: http://bugs.python.org/file21099/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3493 ___ ___

[issue11480] Cannot copy a class with a metaclass other than type

2011-03-13 Thread Daniel Urban
New submission from Daniel Urban urban.dani...@gmail.com: copy.copy cannot copy a class which have a metaclass other than type: import abc import copy class C(metaclass=abc.ABCMeta): ... pass ... copy.copy(C) Traceback (most recent call last): ... TypeError: can't pickle int

[issue1635741] Interpreter seems to leak references after finalization

2011-03-13 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1635741 ___ ___

[issue11481] The copy module already uses copyreg

2011-03-13 Thread Daniel Urban
New submission from Daniel Urban urban.dani...@gmail.com: In the copyreg documentation there is this sentence: The copy module is likely to use this in the future as well. (http://docs.python.org/dev/py3k/library/copyreg) But the copy module already uses the copyreg module. --

[issue7689] Pickling of classes with a metaclass and copy_reg

2011-03-13 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: Attaching an updated patch for py3k. Not an expert, but the Python parts of your patch look good to me. Me neither, but the C parts also look good to me. The tests fail without the patch, succeed with it. Note, that it is possible, that

[issue11482] Float Plus Error

2011-03-13 Thread Lu Feng
New submission from Lu Feng lufen...@gmail.com: Run 1.1 + 3.2, result is 4.301 And when Run [x * 0.1 for x in range(0, 10)], the result is [0.0, 0.1, 0.2, 0.30004, 0.4, 0.5, 0.6001, 0.7001, 0.8, 0.9] -- messages: 130734 nosy:

[issue11482] Float Plus Error

2011-03-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: See: http://docs.python.org/tutorial/floatingpoint.html -- nosy: +mark.dickinson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org

[issue11477] Bug in code dispatching based on internal slots

2011-03-13 Thread Armin Rigo
Armin Rigo ar...@users.sourceforge.net added the comment: Note that I fixed one case in PyPy: if the class C has no __iter__() but only __radd__(), and we call somelist += C(). This was done simply by having somelist.__iadd__(x) return NotImplemented in case x is not iterable, instead of

[issue7391] Re-title the Using Backslash to Continue Statements anti-idiom

2011-03-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7391 ___ ___ Python-bugs-list

[issue2931] optparse: various problems with unicode and gettext

2011-03-13 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer ivil...@users.sourceforge.net added the comment: After so much time I've checked again with the little script I sent and I see that it doesn't happen under Python 2.7 (2.7.1+), but it does under 2.6 (2.6.6) and 2.5 (2.5.5). --

[issue10735] platform.architecture() gives misleading results for OS X multi-architecture executables

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: W.r.t the MachO name: I misread the patch, MachO is fine as the name for the reasons you mention. I'm not convinced that your hack to make bits return the pointer size of the currently running architecture when testing sys.executable

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread Graham Wideman
Graham Wideman initcont...@grahamwideman.com added the comment: Eli: Excellent and thoughtful point. This would indeed be exactly the place to suggest os.path.join as an alternative. In addition, there are still occasions where one needs to form a string with trailing backslash. Two

[issue11483] python fails to follow symlinks on windows

2011-03-13 Thread nw
New submission from nw nils.win...@googlemail.com: Go to C:/Python2.7/Lib create directory foo + __init__.py Make a symlink: mklink /D bar foo. Start Python. import foo # works import bar # fails (no module named bar) -- components: Windows messages: 130740 nosy: nw priority: normal

[issue11483] python fails to follow symlinks on windows

2011-03-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +brian.curtin type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11483 ___

[issue11483] python fails to follow symlinks on windows

2011-03-13 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: This is a duplicate of #6727, which is now easier to fix due to the symlink work in 3.2. -- resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker

[issue6727] ImportError when package is symlinked on Windows

2011-03-13 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6727 ___ ___ Python-bugs-list mailing

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I would rephrase: +There is one subtle aspect to raw strings that is of special concern to Windows +programmers: a raw string may not end in an odd number of ``\`` characters. to something like: +There is one subtle aspect to raw strings:

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Ezio Melotti ezio.melo...@gmail.com added the comment: I would rephrase: +There is one subtle aspect to raw strings that is of special concern to Windows +programmers: a raw string may not end in an odd number of ``\`` characters. to

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file21102/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11479 ___

[issue11477] Bug in code dispatching based on internal slots

2011-03-13 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: That would of course be a good addition too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11479 ___

[issue2931] optparse: various problems with unicode and gettext

2011-03-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m afraid 2.5 and 2.6 don’t get bug fixes any more, only security fixes. For 2.7 and 3.x, even if your bug can’t be reproduced, I think it would be useful to add the test to prevent a regression. --

[issue2771] Test issue

2011-03-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___

[issue2771] Test issue

2011-03-13 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset e51cd925a89a by Ezio Melotti in branch 'default': Test hook (closes #2771). http://hg.python.org/test/rev/e51cd925a89a -- resolution: - fixed stage: - committed/rejected status: open - closed

[issue2931] optparse: various problems with unicode and gettext

2011-03-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: +1 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2931 ___ ___ Python-bugs-list mailing

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, the problem with both [:-1] and os.path.join is that they are inappropriate for that section of the tutorial. I considered putting the discussion later in the section so that I could use [:-1] (which hasn't been introduced at

[issue1271] Raw string parsing fails with backslash as last character

2011-03-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, the problem with the reference is that the language reference is intended as a specification document, not a tutorial, so such a discussion does not belong there. The library reference, which does contain platform-specific and

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- hgrepos: +1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list mailing

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- hgrepos: +2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list mailing

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: Added file: http://bugs.python.org/file21103/6a1c8fcce229.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___

[issue5863] bz2.BZ2File should accept other file-like objects.

2011-03-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Review posted at http://codereview.appspot.com/4274045/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863 ___

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-03-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Reviewers: nadeem vawda nadeem.vawda_gmail.com, http://codereview.appspot.com/4274045/diff/1/Lib/bz2.py File Lib/bz2.py (right): http://codereview.appspot.com/4274045/diff/1/Lib/bz2.py#newcode25 Lib/bz2.py:25: class BZ2File: Is there any reason

[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

2011-03-13 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- priority: release blocker - deferred blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9856 ___

[issue5800] make wsgiref.headers.Headers accept empty constructor

2011-03-13 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Looks good to me. Would you mind committing it then? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800 ___

[issue1777134] minidom pretty xml output improvement

2011-03-13 Thread Dávid Gábor Bodor
Dávid Gábor Bodor david.gabor.bo...@gmail.com added the comment: I would prefer to see this improvement as an option, rather than the default, because I believe that 'Issue4147' satisfies pretty printing better. While leaving out whitespace from text-only elements is benefical for

[issue11223] interruption of locks by signals not guaranteed when the semaphore implementation is not used

2011-03-13 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 5d0d488cbca8 by Antoine Pitrou in branch '3.2': Issue #11223: Fix test_threadsignals to fail, not hang, when the http://hg.python.org/cpython/rev/5d0d488cbca8 -- nosy: +python-dev ___

[issue11233] clarifying Availability: Unix

2011-03-13 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset f197dac00f43 by Antoine Pitrou in branch 'default': Merge commit for #11233 http://hg.python.org/cpython/rev/f197dac00f43 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___

[issue11478] Docs list nonexistant PyObject_CopyToObject function

2011-03-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed, it doesn't exist. There is also a function named PyObject_CopyData which is not documented anywhere (and I'd bet noone has ever used it). -- nosy: +mark.dickinson, pitrou ___ Python tracker

[issue11478] Docs list nonexistant PyObject_CopyToObject function

2011-03-13 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 539e6f1fce78 by Antoine Pitrou in branch '3.1': Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478) http://hg.python.org/cpython/rev/539e6f1fce78 New changeset eb8c2f43b251 by Antoine Pitrou in branch

[issue11478] Docs list nonexistant PyObject_CopyToObject function

2011-03-13 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 248800b58175 by Antoine Pitrou in branch '2.7': Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478) http://hg.python.org/cpython/rev/248800b58175 -- ___

[issue11478] Docs list nonexistant PyObject_CopyToObject function

2011-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11478 ___

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-03-13 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Thanks for the review. I'll try and have an updated patch ready by next weekend. Regarding your comments: Is there any reason it doesn't inherit io.BufferedIOBase? No, there isn't; I'll fix that in my revised patch. Since this is a new

[issue11484] `with_traceback` in 2.7 docs but not implemented

2011-03-13 Thread Jonas H.
New submission from Jonas H. jo...@lophus.org: Either a `BaseException.with_traceback` implementation is missing or the docs are wrong. http://docs.python.org/library/exceptions.html?highlight=with_traceback#exceptions.BaseException.with_traceback python3 -c 'print(with_traceback in

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-03-13 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: I agree. Attaching a patch with a fix and unittest. -- keywords: +patch nosy: +santa4nt Added file: http://bugs.python.org/file21104/nturl2path.patch ___ Python tracker rep...@bugs.python.org

[issue11484] `with_traceback` in 2.7 docs but not implemented

2011-03-13 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 22f991bb9b0b by Ezio Melotti in branch '2.7': #11484: remove paragraph about with_traceback from 2.7 doc. http://hg.python.org/cpython/rev/22f991bb9b0b -- nosy: +python-dev ___ Python

[issue11484] `with_traceback` in 2.7 docs but not implemented

2011-03-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: It's a documentation bug, with_traceback is available in 3.x only. I now fixed the doc for 2.7, thanks for the report! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected

[issue11485] Default SDK value on MacOSX needs changing

2011-03-13 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: (based on the fruitfull meating I had with Ned after the language summit at Pycon '11) Running configure on a MacOSX system will set MACOSX_DEPLOYMENT_TARGET to 10.4, which is probably not optimal for anyone on a recentish system.

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-13 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11467 ___

[issue11486] Add option to not install into /Applications

2011-03-13 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: It would be nice if it were possible to install a framework installation from source without also installing files into /Applications. This could be done by adding an option to configure --without-macosx-applications. The primairy

[issue11485] Default SDK value on MacOSX needs changing

2011-03-13 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11485 ___ ___

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-13 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: There was this failure in the daily DMG builder: http://www.python.org/dev/buildbot/all/builders/3.x.dmg/builds/423/steps/compile/logs/stdio The problem is that asdl_c.py gets run by the Makefile with the standard Python, which on this machine

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I noticed this myself as well when building a fresh checkout, without build_installer.py. This is because the header file and input grammar have the same timestamp, and which forces the rebuild. That causes problems on OSX when you

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: To avoid duplicate work: I'll commit a patch during the pycon sprints -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11487 ___

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-13 Thread David Bolen
David Bolen db3l@gmail.com added the comment: Just a few thoughts that were in part in an earlier exchange with Antoine. It seems to me that if the Python-ast.[ch] files are included in the repository then they ought to be up to date as part of any given change set. So I think I'd

[issue1590744] mail message parsing glitch

2011-03-13 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1590744 ___

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: This does not only affect the installer. On my machine the python on $PATH was build using the 10.6 deployment target. When I build python from a fresh checkout I get an error message because the 10.6 python gets run with deployment

[issue975330] Inconsistent newline handling in email module

2011-03-13 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue975330 ___

[issue11329] PyEval_InitThreads() not safe before Py_Initialize()

2011-03-13 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 4c59cd84086f by Antoine Pitrou in branch '3.2': Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore http://hg.python.org/cpython/rev/4c59cd84086f New changeset 3c0edb157ea2 by Antoine Pitrou in branch

  1   2   >