Re: http://porn-extreme.2304310.n4.nabble.com/

2012-05-20 Thread jimmy970
http://porn-extreme.2304310.n4.nabble.com/ -- View this message in context: http://python.6.n6.nabble.com/AMPUTEE-INCEST-MIDGET-2012-tp4708963p4975250.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

DjangoCon Europe 2012

2012-05-20 Thread D.M. Procida
DjangoCon Europe, the community's biggest European event this year, is only two weeks away now. The packed schedule of talks http://2012.djangocon.eu/schedule/ has been posted, the site has been updated with useful information about Zürich http://2012.djangocon.eu/zurich, and the conference now

Re: .py to .pyc

2012-05-20 Thread 88888 Dihedral
On Saturday, May 19, 2012 7:54:18 PM UTC+8, Colin J. Williams wrote: On 18/05/2012 7:20 PM, Tony the Tiger wrote: On Sun, 13 May 2012 23:36:02 +0200, Irmen de Jong wrote: Why do you care anyway? Wanna hide his code...? /Grrr Curiosity. Perhaps there are st ack-based processors

Re: Python and Tkinter by John E Grayson

2012-05-20 Thread python
Tk has gone through some dramatic improvements since that time. One which has seen a lot of love is URL:http://www.tkdocs.com/. I agree with Ben. Tkinter (with ttk) is now a viable GUI framework. Key benefits of Tkinter/ttk to consider when evaluating other tool kits: 1. Tkinter/ttk is

Doctest documentation?

2012-05-20 Thread Steven D'Aprano
Is this a bug in the doctest documentation, or is my browser broken? On this page: http://docs.python.org/library/doctest.html#option-flags-and-directives scroll down to the examples showing the doctest directives, e.g: [quote] For example, this test passes: print range(20)

Re: Doctest documentation?

2012-05-20 Thread Vincent Vande Vyvre
On 20/05/12 17:55, Steven D'Aprano wrote: Is this a bug in the doctest documentation, or is my browser broken? On this page: http://docs.python.org/library/doctest.html#option-flags-and-directives scroll down to the examples showing the doctest directives, e.g: [quote] For

what do these mean

2012-05-20 Thread e-mail mgbg25171
There's a little forth program written in python here #http://openbookproject.net/py4fun/forth/forth.py I'm struggling to understand what these lines mean. def rJnz (cod,p) : return (cod[p],p+1)[ds.pop()] def rJz (cod,p) : return (p+1,cod[p])[ds.pop()==0] Specifically I'm stuck on what

Re: what do these mean

2012-05-20 Thread Chris Angelico
On Mon, May 21, 2012 at 2:52 AM, e-mail mgbg25171 mgbg25...@blueyonder.co.uk wrote: def rJnz (cod,p) : return (cod[p],p+1)[ds.pop()] def rJz  (cod,p) : return (p+1,cod[p])[ds.pop()==0] Specifically I'm stuck on what (code[p], followed by p+1 does inside the brackets (cod[p],p+1) is a

Re: what do these mean

2012-05-20 Thread Ian Kelly
On Sun, May 20, 2012 at 10:52 AM, e-mail mgbg25171 mgbg25...@blueyonder.co.uk wrote: There's a little forth program written in python here #http://openbookproject.net/py4fun/forth/forth.py I'm struggling to understand what these lines mean. def rJnz (cod,p) : return (cod[p],p+1)[ds.pop()]

Re: Doctest documentation?

2012-05-20 Thread Terry Reedy
On 5/20/2012 12:33 PM, Vincent Vande Vyvre wrote: On 20/05/12 17:55, Steven D'Aprano wrote: Is this a bug in the doctest documentation, or is my browser broken? On this page: http://docs.python.org/library/doctest.html#option-flags-and-directives scroll down to the examples showing the

Re: what do these mean

2012-05-20 Thread Terry Reedy
On 5/20/2012 1:16 PM, Ian Kelly wrote: On Sun, May 20, 2012 at 10:52 AM, e-mail mgbg25171 mgbg25...@blueyonder.co.uk wrote: There's a little forth program written in python here #http://openbookproject.net/py4fun/forth/forth.py I'm struggling to understand what these lines mean. def rJnz

Re: Doctest documentation?

2012-05-20 Thread Devin Jeanpierre
This was previously reported as http://bugs.python.org/issue12947 -- Devin -- http://mail.python.org/mailman/listinfo/python-list

Re: Are there any instrumentation widgets for wxpython or tkinter?

2012-05-20 Thread CM
On May 17, 5:00 pm, Peter peter.milli...@gmail.com wrote: Or wxPython is another good alternative. Download the demo and have a look at the widgets people have already used/created. I think there are some good choices for instrumentation (from memory). Yes, wxPython has some that are

Django: metaWeblog: dir() doesn't show methods

2012-05-20 Thread .
Hello, I'm using Django and metaWeblog. s = xmlrpclib.Server(http://localhost:8000/xmlrpc/;) # Let's call a method s.metaWeblog.test() Test # It works #But it won't output available methods if I try to use dir() for this purpose dir(s.metaWeblog) ['_Method__name', '_Method__send', '__call__',

Re: bash/shell to python

2012-05-20 Thread Cameron Simpson
On 19May2012 08:27, Michael Torrie torr...@gmail.com wrote: | On 05/16/2012 08:16 PM, Rita wrote: | I currently build a lot of interfaces/wrappers to other applications | using bash/shell. One short coming for it is it lacks a good method | to handle arguments so I switched to python a while

2.x,3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread angeljanai
Hello! I'm trying to embed a part of python (core+some modules) in my iOS application for internal scripting. I started from compiling original unmodified Python source. Tried both 2.7.3 and 3.x latest source code. As I found no easy way to configure it, just tried to run configure from Mac OS

Re: How to hide console with Popen on Windows?

2012-05-20 Thread alex23
On May 18, 6:22 pm, xliiv tymoteusz.jankow...@gmail.com wrote: Like the topic, more details in followed links.. http://stackoverflow.com/questions/10637450/how-to-hide-console-with-... Try replacing all of your code with something simple, a 'pass' op will do. Run the script again. Does the

Re: calling a simple PyQt application more than once

2012-05-20 Thread Jonathan
Hello Jabba, Did you ever find a solution to the problem? If so, can you please post it? Thanks, Jonathan -- View this message in context: http://python.6.n6.nabble.com/calling-a-simple-PyQt-application-more-than-once-tp4335946p4975385.html Sent from the Python - python-list mailing list

Re: Django: metaWeblog: dir() doesn't show methods

2012-05-20 Thread alex23
On May 21, 1:01 pm, . nkw...@gmail.com wrote: Is this a bug or some sort of encapsulation? More or less the latter. What you have is a server proxy, something that passes data back forth between your app and the XMLRPC-providing server. So when you dir() it, it's showing you the methods of the

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset e31597b3bd15 by Ned Deily in branch '2.7': Issue #14572: Prevent build failures with pre-3.5.0 versions of http://hg.python.org/cpython/rev/e31597b3bd15 -- nosy: +python-dev

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Ned Deily
Ned Deily n...@acm.org added the comment: OK, the patch, as originally suggested by Joakim, is applied for release in 2.7.4. Thanks everyone. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue14845] list(generator expression) != [list comprehension]

2012-05-20 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I will be happy to clarify the PEP when I get a chance. -- assignee: docs@python - rhettinger priority: normal - low ___ Python tracker rep...@bugs.python.org

[issue14861] Make ./python -m test work to run test suite in Python 2.7

2012-05-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This is a new feature, not a bug fix, so it can't be added to 2.7. Newcomers to CPython don't need to bother with 2.7 in general, which can reduce the combination in half. If they want to use something that works in all versions, they can

[issue14861] Make ./python -m test work to run test suite in Python 2.7

2012-05-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Follow-up: I still use 'python Lib/test/regrtest.py'. This works in all versions since Python 2.0 (with the right Python binary), and supports tab completion in the shell. -- ___ Python tracker

[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d7aff4423172 by Martin v. Löwis in branch '2.7': Issue #8767: Restore building with --disable-unicode. http://hg.python.org/cpython/rev/d7aff4423172 -- nosy: +python-dev

[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the patch. I did the library patch without monkey-patching. If there are further issues with this feature, please submit new bug reports. I won't consider the many test failures due to usage of Unicode literals in the test cases

[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8767 ___

[issue14426] date format problem in Cookie/http.cookies

2012-05-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f457419552e3 by Senthil Kumaran in branch '2.7': Fix for issue14426 - buildbots here I come http://hg.python.org/cpython/rev/f457419552e3 New changeset f9d31d6977f1 by Senthil Kumaran in branch '3.2': Fix for

[issue14857] Direct access to lexically scoped __class__ is broken in 3.3

2012-05-20 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14857 ___ ___ Python-bugs-list

[issue12370] Use of super overwrites use of __class__ in class namespace

2012-05-20 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12370 ___ ___ Python-bugs-list

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +pmoody ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14814 ___ ___ Python-bugs-list mailing

[issue12760] Add create mode to open()

2012-05-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ef406c4c6463 by Charles-François Natali in branch 'default': Issue #12760: Add some mising documentation about the new `x` exclusive http://hg.python.org/cpython/rev/ef406c4c6463 --

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Isn't 3.2 or 3.3 affected by this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14572 ___

[issue14822] Build unusable when compiled for Win 64-bit release

2012-05-20 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I am unable to reproduce. Do you have a callastack? -- nosy: +kristjan.jonsson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14822

[issue14862] fdopen not listed in__all__ of os.py

2012-05-20 Thread Petri Lehtinen
New submission from Petri Lehtinen pe...@digip.org: from os import * fdopen Traceback (most recent call last): File stdin, line 1, in module NameError: name 'fdopen' is not defined -- components: Library (Lib) keywords: easy messages: 161196 nosy: petri.lehtinen priority: normal

[issue14862] fdopen not listed in __all__ of os.py

2012-05-20 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- title: fdopen not listed in__all__ of os.py - fdopen not listed in __all__ of os.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14862 ___

[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Stefano Taschini
Stefano Taschini tasch...@ieee.org added the comment: Understood and agreed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8767 ___ ___

[issue14863] Update docs of os.fdopen()

2012-05-20 Thread Petri Lehtinen
New submission from Petri Lehtinen pe...@digip.org: os.fdopen() is merely a very thin wrapper around the builtin open(). It should have a very minimal documentation of its own to minimize maintenance burden. -- messages: 161198 nosy: petri.lehtinen priority: normal severity: normal

[issue13682] Documentation of os.fdopen() refers to non-existing bufsize argument of builtin open()

2012-05-20 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: The documentation of os.fdopen() should be fixed as a whole, see #14863. -- resolution: - invalid status: open - closed superseder: - Update docs of os.fdopen() ___ Python tracker

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 82a649047272 by Nick Coghlan in branch 'default': Issue #14814: addition of the ipaddress module (stage 1 - code and tests) http://hg.python.org/cpython/rev/82a649047272 -- nosy: +python-dev

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Stage 1 complete - the code and tests are in (along with the other miscellaneous updates to ACKS, NEWS and What's New). Next steps are to convert the wiki page into a HOWTO and the docstrings into a module API reference. Georg offered to help

[issue14821] _ctypes and other modules not built with msbuild on vs2010 solution

2012-05-20 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I'm able to reproduce this problem with the latest changes to PCBuild. Are you saying that there are other projects like _ctypes that are not built? I'm not able to see any different between _ctypes_test and _ctypes on the

[issue14821] _ctypes and other modules not built with msbuild on vs2010 solution

2012-05-20 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Hm, I see that this applies to _decimal, _testbuffer and xxlimited too. When msbuild is invoked with MSBUILDEMITSOLUTION=1, it leaves a .metaproj file in place for those projects. --

[issue14821] _ctypes and other modules not built with msbuild on vs2010 solution

2012-05-20 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Found the issue. Manual dependencies in the .sln file had to be removed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14821

[issue14821] _ctypes and other modules not built with msbuild on vs2010 solution

2012-05-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2e96629c6dab by Kristján Valur Jónsson in branch 'default': Issue 14821: http://hg.python.org/cpython/rev/2e96629c6dab -- nosy: +python-dev ___ Python tracker

[issue14864] Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation

2012-05-20 Thread Guillaume
New submission from Guillaume gui...@gmail.com: In the logging module documentation, nothing tells the user how to undo or reset a call to logging.disable(lvl). From reading the code (python 2.6 version) it seem the correct way to undo disable(lvl) is to call disable(0), but I think calling

[issue14864] Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation

2012-05-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14864 ___ ___ Python-bugs-list

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2012-05-20 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: I’ve incorporated all the feedback (I hope). I had to refactor the tests slightly, but we have 100% code coverage for both versions of rmtree. Speaking of: I’ve renamed the default version of rmtree to _default_rmtree and _safe_rmtree to

[issue12370] Use of super overwrites use of __class__ in class namespace

2012-05-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12370 ___

[issue14857] Direct access to lexically scoped __class__ is broken in 3.3

2012-05-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14857 ___

[issue14864] Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation

2012-05-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4973c90ce9e6 by Vinay Sajip in branch '2.7': Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call. http://hg.python.org/cpython/rev/4973c90ce9e6 New changeset c30170a168b3 by

[issue14864] Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation

2012-05-20 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Guillaume, thank you, your wording was perfect! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14864 ___

[issue14847] AttributeError: NoneType has no attribute 'utf_8_decode'

2012-05-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Daniel, please try my snippets instead. Of course in Python3 str is the unicode string and has no decode() method... -- ___ Python tracker rep...@bugs.python.org

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Ramchandra Apte
Ramchandra Apte maniandra...@gmail.com added the comment: Looking at the code at http://code.google.com/p/ipaddress-py/source/browse/ipaddress.py I see a few classes which could benefit from functools.total_ordering. -- nosy: +ramchandra.apte ___

[issue12304] expose signalfd(2) in the signal module

2012-05-20 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Patch seems good (although it doesn't apply cleanly). Why do you not provide a structure to decode the bytes? I thought relying on ctypes in the stdlib was not advised... -- nosy: +rosslagerwall

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Isn't 3.2 or 3.3 affected by this? No, since the developer who made the original changes used sqlite3_int64 for 2.7 (37c824c3efe8) but chose to hardwire the type to PyLong_AsLongLong for 3.x (2d16048b10cd). --

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- Removed message: http://bugs.python.org/msg161213 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14572 ___

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Isn't 3.2 or 3.3 affected by this? No, since the developer who made the original changes used sqlite3_int64 for 2.7 (789a3ea97083) but chose to hardwire the type to PyLong_AsLongLong for 3.x (e67715b87131). [corrected ids] --

[issue14857] Direct access to lexically scoped __class__ is broken in 3.3

2012-05-20 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Ouch. The '__class__' behavior is documented here too: http://docs.python.org/py3k/library/functions.html?highlight=__class__#super. Unfortunately I don't see any other documentation on the lexically scoped form of __class__. As implied,

[issue14443] Distutils test_bdist_rpm failure

2012-05-20 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: The attached patch fixed the test for me on Fedora 16. It was necessary for the `define` to be after the -ba switch. I don't know why this wouldn't work on RHEL6 then... -- keywords: +patch Added file:

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com added the comment: Ned, thanks for applying this patch! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14572 ___

[issue14862] fdopen not listed in __all__ of os.py

2012-05-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: While this is technically probably a bug, I'm -0 on fixing it in bugfix releases, as it has the risk of breaking working code. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org

[issue14862] fdopen not listed in __all__ of os.py

2012-05-20 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: I think this came in when we moved os.fdopen and os.popen from native C code to Python code in http://hg.python.org/cpython/rev/1f7891d84d93. This works fine in 2.7. The same issue exist with os.popen, but that is deprecated. -- nosy:

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
New submission from Terry J. Reedy tjre...@udel.edu: In the doctest section, 25.2.3.5. Option Flags and Directives has examples of using #doctest: directives in the .rst source ''' An example's doctest directives modify doctest's behavior for that single example. Use ``+`` to enable the named

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This is a somewhat recent reversion. 3.1.5 (a month ago) http://docs.python.org/release/3.1.5/library/doctest.html#module-doctest print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,

[issue1767933] Badly formed XML using etree and utf-16

2012-05-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The patch needs some tests. Also, it seems that ElementTree.write() will only accept files inheriting from io.IOBase, where a only a .write() method was expected before. Is it the case? --

[issue14673] add sys.implementation

2012-05-20 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: FYI, the attached patches don't reflect the latest PEP. I'll get an updated patch up in the next day or two. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14673

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Terry, the same problem recently came up on docs@ and digging into it, it turned out that sphinx is currently ignoring doctest directives[1], but that it was fixed in sphinx 1.1[2]. [1]

[issue4851] xml.dom.minidom.Element.cloneNode fails with AttributeError

2012-05-20 Thread Alexandre Zani
Alexandre Zani alexandre.z...@gmail.com added the comment: This patch allows the cloning of elements that do not have a document owner. If a node does not have a document owner, a new document owner is created for the clone. -- keywords: +patch Added file:

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: To my mind, stripping is not ignoring ;-), but I understand what you mean, sphinx ignores as it pays attention and strips. [2] is the commit for [1], and both are from 3 years ago, long before 3.2.0. Does the true-by-default

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Devin Jeanpierre
Devin Jeanpierre jeanpierr...@gmail.com added the comment: This is a duplicate of http://bugs.python.org/issue12947 -- nosy: +Devin Jeanpierre ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14865

[issue12947] doctest directive examples in library/doctest.html lack the flags

2012-05-20 Thread Devin Jeanpierre
Changes by Devin Jeanpierre jeanpierr...@gmail.com: -- title: Examples in library/doctest.html lack the flags - doctest directive examples in library/doctest.html lack the flags ___ Python tracker rep...@bugs.python.org

[issue12947] doctest directive examples in library/doctest.html lack the flags

2012-05-20 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12947 ___ ___ Python-bugs-list

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: A few thoughts: - If policies are intended to be expanded with the clone method, I think the classes (here Compat32) don’t need to be made public. - IIUC the policy framework supersedes various arguments like manglefrom or max_line_length,

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Oh and a minor thing to avoid whitespace-only commits later: our rst docs use three-space indents. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14731

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Great to get this in the standard library! I noticed the ipaddress module contains an unnecessary shebang. I also was under the impression that “Licensed to the PSF under a contributor agreement” was sufficient and the whole license text could

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I checked the indent fix into the wrong branch in my repo. It's in the other patch. I could fix that if desired. The reason for making the base class public is to allow subclassing. Perhaps that is not needed for Compat32, though. I

[issue12947] doctest directive examples in library/doctest.html lack the flags

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: The directives should normally be stripped, but not when they are intentionally given to teach their existence, syntax, and use, as in the doctest doc on directives. I opened (and closed -- am trying to anyway) a duplicate, #14865. The

[issue9554] test_argparse.py: use new unittest features

2012-05-20 Thread Radu Voicilas
Radu Voicilas radu.voici...@gmail.com added the comment: The patch is still valid - it applies ok. The only issues as mentioned by sandro.tosi are offsets and that it was generated inside Lib/ It would be worth having these changes applied. -- nosy: +raduv

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Thanks for discovering that. I did not search well enough. -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- superseder: - doctest directive examples in library/doctest.html lack the flags ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14865 ___

[issue14854] faulthandler: fatal error with SystemError: null argument to internal routine

2012-05-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Interpreter Core stage: - patch review type: - crash versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14854 ___

[issue14757] INCA: Inline Caching meets Quickening in Python 3.3

2012-05-20 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14757 ___ ___ Python-bugs-list

[issue12355] Crawler doesn't follow redirection

2012-05-20 Thread Radu Voicilas
Radu Voicilas radu.voici...@gmail.com added the comment: I can no longer reproduce the issue on tip. Here's the output I get trying to do c.get_releases('webob'): $ ./python issue12355.py version has not been parsed: WebOb-0.8.3-py2.5 version has not been parsed: WebOb-0.9.1-py2.4 version has

[issue1767933] Badly formed XML using etree and utf-16

2012-05-20 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Here is updated patch, with tests and support of objects with only 'write' method. -- Added file: http://bugs.python.org/file25652/etree_write_utf16_2.patch ___ Python tracker

[issue14854] faulthandler: fatal error with SystemError: null argument to internal routine

2012-05-20 Thread Zbyszek Jędrzejewski-Szmek
Zbyszek Jędrzejewski-Szmek zbys...@in.waw.pl added the comment: A new version of the tests: one for 'python -X faulthandler', one for 'PYTHONFAULTHANDLER=1 python'. This one sets the environment properly for the second test, but is slightly more invasive. Both tests fail without Antoine's

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I'm attaching a very preliminary draft of the howto, any comment is welcome. Of course, it misses several references to the API doc; I'll see if I can beat Georg and post a preliminary version of that too :) -- keywords: +patch

[issue14674] Add link to RFC 4627 from json documentation

2012-05-20 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: So, does the refactored patch need any further revising, or is it good to go? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14674 ___

[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-20 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I don't think it is a good idea to expand to the pop/popitem docs this way. The text is not about what pop/popitem does, it is about what another hypothetical method might do. The text would be a distractor from the focused

[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Raymond, I pretty much agree with your points and would be happy either with rejection or one simple sentence. This idiom really belongs in a hypothetical how-to, such as 'Python iterators and generators'. The real use case for it=iter()

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Removed file: http://bugs.python.org/file25646/email6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12586 ___

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Added file: http://bugs.python.org/file25655/email6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12586 ___

[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-20 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14836 ___

[issue2975] VS8 include dirs grow without bound

2012-05-20 Thread Scott Dial
Scott Dial sc...@scottdial.com added the comment: I was looking through old issues I had commented on and saw that my patch was never applied. The current tip of the codebase still has the redundant removeDuplicates function. Not a big deal, just a little extra noise in the code. Probably not

[issue1105770] null source chars handled oddly by tokenize

2012-05-20 Thread Alexandre Zani
Changes by Alexandre Zani alexandre.z...@gmail.com: -- nosy: +Alexandre.Zani ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1105770 ___ ___

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-05-20 Thread Alexandre Zani
Changes by Alexandre Zani alexandre.z...@gmail.com: -- nosy: +Alexandre.Zani ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4849 ___ ___

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Review comments from Terry Reedy: http://mail.python.org/pipermail/python-dev/2012-May/119548.html The PEP review focused mainly on the API, Terry's comments focus on code readability and the docstrings. -- assignee: - ncoghlan

[issue4851] xml.dom.minidom.Element.cloneNode fails with AttributeError

2012-05-20 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: +needs review stage: needs patch - patch review versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4851

[issue14866] 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread ドミトリ ステパヌシキン
New submission from ドミトリ ステパヌシキン angelja...@gmail.com: I trying to make minimal part of Python to work as part (static library) of my iOS application for internal scripting. I used configure under Mac OS X(10.7) and it was successful. Then I got compilable and linkable XCode project very

[issue14866] 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread ドミトリ ステパヌシキン
Changes by ドミトリ ステパヌシキン angelja...@gmail.com: -- versions: -Python 3.1, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14866 ___

  1   2   >