[issue19048] itertools.tee doesn't have a __sizeof__ method

2013-09-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: Antoine: in (my experience of) memory analysis, the size of a single object is mostly irrelevant. If you need to know how much memory something consumes, you typically want to know the memory of a set of objects. So this is the case that really must be

[issue18990] Return root element from ElementTree.XMLPullParser.close() to match ElementTree.XMLParser

2013-09-20 Thread Nick Coghlan
Nick Coghlan added the comment: It's the docs for XMLPullParser.close that need to be updated. On 20 September 2013 15:59, Stefan Behnel rep...@bugs.python.org wrote: Stefan Behnel added the comment: I'm not entirely happy about the docs anyway. Most people just want to loop over

[issue18990] Return root element from ElementTree.XMLPullParser.close() to match ElementTree.XMLParser

2013-09-20 Thread Stefan Behnel
Stefan Behnel added the comment: Ah, right - I forgot that it currently only implements a part of the parser API in ElementTree. Adding Returns the toplevel document element. behind the current sentence would do, I guess. That will need updating once the XMLPullParser implements support for

[issue19044] getaddrinfo raises near-useless exception

2013-09-20 Thread Balazs
Balazs added the comment: Hi, this is the platform: Linux cloudbackupbr 3.8.0-30-generic #44-Ubuntu SMP Thu Aug 22 20:52:24 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux /bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24,

[issue11632] difflib.unified_diff loses context

2013-09-20 Thread Benoît D Vages
Benoît D Vages added the comment: An other exemple if necessary (python 2.6 / 2.7) Got same behavior than mal using his script and my files. Seems to occur when the chunk of lines between 2 differences is repeated many times in the file -- nosy: +folder4ben Added file:

[issue19049] itertools.tee uses int for indices

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are disadvantages in the changing int to Py_ssize_t. Converting Py_ssize_t to/from Python int is a little harder than converting C int or long. This change (as any other change) has a risk of introduce new bugs (as you can see on example of your

[issue19056] Windows 7, script exec not working without explicit cal of python.exe

2013-09-20 Thread Thierry Seunevel
New submission from Thierry Seunevel: Executing a script from the command prompt works if Python.exe called explicitly, doesn't work if script name only. Example : python.exe script.py is ok script.py gives the following : Traceback (most recent call last): File D:\soft\python\lib\site.py,

[issue19049] itertools.tee uses int for indices

2013-09-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: I suggest just add (yet one) explicit comment. int index; /* 0 = index = LINKCELLS */ Ok, I think a comment is good enough here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19049

[issue19045] Make on Solaris 11 x64 with OracleStudio12.3 failed

2013-09-20 Thread Borut Podlipnik
Borut Podlipnik added the comment: Using c compiler instead of c++ compiler, solved the problem: setenv CC cc setenv CXX cc setenv LD_LIBRARY_PATH /opt/solarisstudio12.3/lib:/usr/lib # ./configure --without-gcc --with-cxx-main=CC --prefix=/opt/python # make # make test However, make test

[issue11220] Sometimes library raises URLError when trying POST with httpS

2013-09-20 Thread mrDoctorWho0 .
mrDoctorWho0 . added the comment: Trying to use POST-request to https://vk.com and sometimes library raise an error. File library/vkApi.py, line 31, in post response = self.Opener.open(request) File /usr/lib/python2.7/urllib2.py, line 404, in open response = self._open(req, data)

[issue11220] Sometimes library raises URLError when trying POST with httpS

2013-09-20 Thread mrDoctorWho0 .
mrDoctorWho0 . added the comment: oops! wrong place! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11220 ___ ___ Python-bugs-list mailing list

[issue11220] Sometimes library raises URLError when trying POST with httpS

2013-09-20 Thread mrDoctorWho0 .
Changes by mrDoctorWho0 . mrdoctor...@gmail.com: Removed file: http://bugs.python.org/file31824/code.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11220 ___

[issue19057] Sometimes urllib2 raises URLError when trying POST with httpS

2013-09-20 Thread mrDoctorWho0 .
New submission from mrDoctorWho0 .: Trying to use POST-request to https://vk.com and sometimes library raise an error. File library/vkApi.py, line 31, in post response = self.Opener.open(request) File /usr/lib/python2.7/urllib2.py, line 404, in open response = self._open(req, data)

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2013-09-20 Thread Christopher Benson
Changes by Christopher Benson chris.benson...@gmail.com: -- nosy: +ChrisBenson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6792 ___ ___

[issue11220] https sslv3 error 14077417: illegal parameter

2013-09-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: -mrDoctorWho0.. title: Sometimes library raises URLError when trying POST with httpS - https sslv3 error 14077417: illegal parameter versions: +Python 2.6, Python 3.1 -Python 2.7

[issue11220] https sslv3 error 14077417: illegal parameter

2013-09-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- Removed message: http://bugs.python.org/msg198139 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11220 ___

[issue11220] https sslv3 error 14077417: illegal parameter

2013-09-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- Removed message: http://bugs.python.org/msg198140 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11220 ___

[issue19009] Enhance HTTPResponse.readline() performance

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: After adding read1() and peek() what stop us from inheriting HTTPResponse from BufferedIOBase? I suggest split _read1_or_peek_chunked() by two parts. First part calculates n bounded by chunk_left (it can read the next chunk size and close a connection if

[issue19051] Unify buffered readers

2013-09-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: If you want this, I think it should be somehow folded into existing classes (for example BufferedIOBase). Yet another implementation of readline() isn't really a good idea. -- ___ Python tracker

[issue18756] os.urandom() fails under high load

2013-09-20 Thread Adam Bielański
Changes by Adam Bielański abg...@gmail.com: -- nosy: +Adam.Bielański ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18756 ___ ___ Python-bugs-list

[issue18003] lzma module very slow with line-oriented reading.

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue19051. Even preliminary Python implementation noticeable speed up the reading of short lines. $ ./python -m timeit -s import lzma, io f=lzma.LZMAFile('words.xz', 'r') for line in f: pass Unpatched: 1.44 sec per loop Patched: 1.06 sec per loop

[issue18990] Return root element from ElementTree.XMLPullParser.close() to match ElementTree.XMLParser

2013-09-20 Thread Eli Bendersky
Eli Bendersky added the comment: Hi Nick, I disagree with this change. The way the APIs are currently defined, XMLParser and XMLPullParser are different animals. XMLParser can be considered to only have one front in the API - feed() and close(). You feed() until the document is done and then

[issue18003] lzma module very slow with line-oriented reading.

2013-09-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: With C implementation it should be as fast as with BufferedReader. So why not simply use BufferedReader? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18003

[issue19057] Sometimes urllib2 raises URLError when trying POST with httpS

2013-09-20 Thread R. David Murray
R. David Murray added the comment: I would guess that if you did a network trace you'd find out there really was a packet that did not arrive (a timeout). Note that detecting this is complicated by the fact that ssl is involved. (I don't know the details, but I remember someone saying that

[issue19009] Enhance HTTPResponse.readline() performance

2013-09-20 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ok, I have refactored this a bit. A separate new function now takes care of the reading of chunk-header and tail. This simplifies the other functions. I'm not sure what you mean by inheriting from the buffered class. Do we gain anything by doing

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

2013-09-20 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- nosy: +ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19019 ___ ___

[issue18764] The pdb print command prints repr instead of str in python3

2013-09-20 Thread Connor Osborn
Connor Osborn added the comment: Should the pretty print behavior remain? -- nosy: +cdosborn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18764 ___

[issue18764] The pdb print command prints repr instead of str in python3

2013-09-20 Thread R. David Murray
R. David Murray added the comment: Ah, that's a very good question. So perhaps the print command should be renamed 'pprint'. Anyone else have thoughts about the API? Do we instead need to fix the print command, for backward compatibility reasons? --

[issue10976] json.loads() raises TypeError on bytes object

2013-09-20 Thread Josh Lee
Changes by Josh Lee jlee...@gmail.com: -- nosy: +jleedev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10976 ___ ___ Python-bugs-list mailing list

[issue19056] Windows 7, script exec not working without explicit cal of python.exe

2013-09-20 Thread Eric V. Smith
Eric V. Smith added the comment: Can you print out sys.executable and sys.path in both cases, and post the results here? -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19056

[issue18907] urllib2.open FTP open times out at 20 secs despite timeout parameter

2013-09-20 Thread Charles-François Natali
Charles-François Natali added the comment: So this may have been a DNS related issue, perhaps a load balancer referring the connection to a dead machine. Yet, for some reason, the Windows command line FTP client can recover from this problem after 20 seconds? What are they doing right?

[issue19044] getaddrinfo raises near-useless exception

2013-09-20 Thread Charles-François Natali
Charles-François Natali added the comment: Well, as Ned explained, that's a libc bug. If getaddrinfo() fails with EAI_SYSTEM, errno should be set. There's nothing more Python can do. If the error is reproducible, you can run the failing code with strace, to see what's going on (and check if

[issue19045] Make on Solaris 11 x64 with OracleStudio12.3 failed

2013-09-20 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19045 ___ ___ Python-bugs-list mailing list

[issue19056] Windows 7, script exec not working without explicit cal of python.exe

2013-09-20 Thread Ned Deily
Ned Deily added the comment: You may have a mismatch with two different versions of Python 2.7 installed. Issue18050 documents the basic problem: a change introduced in Python 2.7.4 causes problems if a pre-2.7.4 interpreter executable is launched with a 2.7.4 or later Python standard

[issue19055] Regular expressions: * does not match as many repetitions as possible.

2013-09-20 Thread Jason Stumpf
Jason Stumpf added the comment: I like that clearer description. as produce matches is more correct than as possible. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19055 ___

[issue1615] descriptor protocol bug

2013-09-20 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger priority: high - normal versions: -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1615

[issue19009] Enhance HTTPResponse.readline() performance

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: A separate new function now takes care of the reading of chunk-header and tail. This simplifies the other functions. Good. It is even better than I expected. Do we gain anything by doing that, would it change the code? or would it merely be for the

[issue18050] embedded interpreter or virtualenv fails with ImportError: cannot import name MAXREPEAT

2013-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 68a7d77a90c3 by Serhiy Storchaka in branch '3.3': Issue #18050: Fixed an incompatibility of the re module with Python 3.3.0 http://hg.python.org/cpython/rev/68a7d77a90c3 New changeset f27af2243e2a by Serhiy Storchaka in branch '2.7': Issue #18050:

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2013-09-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Marking this for Python 3.4. It isn't a bug in the descriptor protocol; rather, it is an implementation detail that is sometimes helpful but is mostly annoying. -- title: descriptor protocol bug - PyObject_GenericGetAttr suppresses

[issue18050] embedded interpreter or virtualenv fails with ImportError: cannot import name MAXREPEAT

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Samuel for your report and suggested solution. Thank you Ned for additional investigating. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker

[issue18003] lzma module very slow with line-oriented reading.

2013-09-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: So why not simply use BufferedReader? Because we want good performance LZMAFile and compatibility with older versions. You're reading me wrong. I'm simply suggesting that users interested in readline() performance wrap LZMAFile in a BufferedReader. The

[issue18003] lzma module very slow with line-oriented reading.

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: So why not simply use BufferedReader? Because we want good performance LZMAFile and compatibility with older versions. And I guess that it will be even faster than wrapping in BufferedReader (due to the avoiding of double buffering). --

[issue18575] Fixing tarfile._mode when using gzip via :gz

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps we should rather change GzipFile.mode to be a string? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18575 ___

[issue19009] Enhance HTTPResponse.readline() performance

2013-09-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note for the different interpretation of the final chunk: Chunked encoding allows for adding headers after the final chunk. This is what _read_and_discard_trailer() does, but discarding the trailing headers. So, if support is ever added for reading those

[issue3015] tkinter with wantobjects=False has been broken for some time

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

[issue3015] tkinter with wantobjects=False has been broken for some time

2013-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 08c45e18e7b2 by Serhiy Storchaka in branch '3.3': Issue #3015: Fixed tkinter with wantobject=False. Any Tcl command call http://hg.python.org/cpython/rev/08c45e18e7b2 New changeset 65dd0de6b4a5 by Serhiy Storchaka in branch 'default': Issue #3015:

[issue3015] tkinter with wantobjects=False has been broken for some time

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which change the default value for the wantobjects parameter of _tkinter.create() and adds deprecation warnings. -- stage: - patch review type: - behavior versions: -Python 3.3 ___ Python

[issue19009] Enhance HTTPResponse.readline() performance

2013-09-20 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ok, I can change the base class inheritance and see if it changes things. Note for the different interpretation of the final chunk: Chunked encoding allows for adding headers after the final chunk. This is what _read_and_discard_trailer() does, but

[issue3015] tkinter with wantobjects=False has been broken for some time

2013-09-20 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Here is a patch You again forgot to attach a patch :) . -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3015 ___

[issue19049] itertools.tee uses int for indices

2013-09-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19049 ___

[issue19049] itertools.tee uses int for indices

2013-09-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 900bf633b7f4 by Antoine Pitrou in branch 'default': Add a comment making it explicit that itertools.tee() is already 64bit-safe (issue #19049) http://hg.python.org/cpython/rev/900bf633b7f4 -- nosy: +python-dev

[issue19050] crash while writing to a closed file descriptor

2013-09-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't get a crash under Linux. Perhaps this is a Windows-specific thing. -- components: +Interpreter Core, Windows -Library (Lib) nosy: +brian.curtin, pitrou, tim.golden, tim.peters ___ Python tracker

[issue3015] tkinter with wantobjects=False has been broken for some time

2013-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, thanks Arfrever. -- Added file: http://bugs.python.org/file31827/tkinter_deprecate_wantobjects.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3015

[issue19009] Enhance HTTPResponse.readline() performance

2013-09-20 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ok, I can make it resilient. I was just pointing out that resilience in the face of RFC violations can be a bad thing. E.g. Internet explorer and how they allowed internet servers of the world to be lax in how they served their data. No matter, I can

[issue19058] test_ioencoding_nonascii (test_sys) fails on Snow Leopard

2013-09-20 Thread Antoine Pitrou
New submission from Antoine Pitrou: The test added in issue18818 fails on the new OS X buildbot: == FAIL: test_ioencoding_nonascii (test.test_sys.SysModuleTest)

[issue19049] itertools.tee uses int for indices

2013-09-20 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19049 ___ ___

[issue19009] Enhance HTTPResponse.readline() performance

2013-09-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I can make it resilient. I was just pointing out that resilience in the face of RFC violations can be a bad thing. E.g. Internet explorer and how they allowed internet servers of the world to be lax in how they served their data. I'm afraid the ship

[issue19009] Enhance HTTPResponse.readline() performance

2013-09-20 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Very well, let's support both then :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19009 ___ ___

[issue19058] test_ioencoding_nonascii (test_sys) fails on Snow Leopard

2013-09-20 Thread STINNER Victor
STINNER Victor added the comment: The test fails with ASCII locale encoding (ex: LANG= on Linux). The test should not try to display a non-ASCII character, but should check the encoding (sys.stdout.encoding) instead. The test should ensure that sys.stdout.encoding is the same with the

[issue19059] test_posix failure on OS X snow leopord buildbot

2013-09-20 Thread R. David Murray
New submission from R. David Murray: The new OS X buildbot is failing in test_posix: == FAIL: test_getgroups (test.test_posix.PosixTester) -- Traceback (most

[issue19059] test_posix failure on OS X snow leopord buildbot

2013-09-20 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19059 ___ ___ Python-bugs-list mailing list

[issue19059] test_posix failure on OS X snow leopord buildbot

2013-09-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - ronaldoussoren components: +Macintosh nosy: +ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19059 ___

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

2013-09-20 Thread R. David Murray
R. David Murray added the comment: I've spun up a 10.6.8 OS X buildbot. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19019 ___ ___

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

2013-09-20 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19019 ___ ___

[issue19048] itertools.tee doesn't have a __sizeof__ method

2013-09-20 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19048 ___

[issue15475] Correct __sizeof__ support for itertools

2013-09-20 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: serhiy.storchaka - rhettinger versions: -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15475

[issue19048] itertools.tee doesn't have a __sizeof__ method

2013-09-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: getsizeof() is interesting only if it gives sensible results when used correctly, especially if you want to sum these values and get a global memory usage. If accounting for global memory usage is a goal, it needs to have a much more comprehensively

[issue19059] test_posix failure on OS X snow leopord buildbot

2013-09-20 Thread Ned Deily
Ned Deily added the comment: From irc, I believe RDM has changed the buildbot to run under a group that the user is a member of (staff) and so I think this issue can be closed. David? -- resolution: - out of date stage: - committed/rejected status: open - pending

[issue19059] test_posix failure on OS X snow leopord buildbot

2013-09-20 Thread R. David Murray
R. David Murray added the comment: Yes, the problem turned out to be that the buildslave process was running under group 'daemon' (1), but the buildbot userid that it was running under was not part of that group. So I changed the run group to 'staff', which buildbot is a member of, and the

[issue19059] test_posix failure on OS X snow leopord buildbot

2013-09-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: out of date - invalid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19059 ___ ___

[issue19058] test_ioencoding_nonascii (test_sys) fails on Snow Leopard

2013-09-20 Thread R. David Murray
R. David Murray added the comment: I set LC_CTYPE to en_US.utf-8 on the buildbot, which I think is the better setting for that buildbot, so the test doesn't fail there anymore. However, the test should still be fixed (and maybe we should have a buildbot running with no language set at all).

[issue19054] Descriptors howto

2013-09-20 Thread Marco Buttu
Changes by Marco Buttu marco.bu...@gmail.com: Removed file: http://bugs.python.org/file31820/py3howto.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19054 ___

[issue19054] Descriptors howto

2013-09-20 Thread Marco Buttu
Changes by Marco Buttu marco.bu...@gmail.com: Removed file: http://bugs.python.org/file31821/py2howto.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19054 ___

[issue19054] Descriptors howto

2013-09-20 Thread Marco Buttu
Changes by Marco Buttu marco.bu...@gmail.com: Added file: http://bugs.python.org/file31829/py2howto.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19054 ___

[issue19054] Descriptors howto

2013-09-20 Thread Marco Buttu
Marco Buttu added the comment: Maybe is better to underline the difference between classes and non-classes objects, instead of between objects and classes, because a class is an object, so it could be confusing). Raymond, what do you think about rewriting this sentence: `The details of

[issue19054] Descriptors howto

2013-09-20 Thread Marco Buttu
Changes by Marco Buttu marco.bu...@gmail.com: Removed file: http://bugs.python.org/file31829/py2howto.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19054 ___

[issue19054] Descriptors howto

2013-09-20 Thread Marco Buttu
Changes by Marco Buttu marco.bu...@gmail.com: Added file: http://bugs.python.org/file31830/py2howto.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19054 ___

[issue19054] Descriptors howto

2013-09-20 Thread Marco Buttu
Changes by Marco Buttu marco.bu...@gmail.com: Removed file: http://bugs.python.org/file31828/py3howto.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19054 ___

[issue19054] Descriptors howto

2013-09-20 Thread Marco Buttu
Marco Buttu added the comment: I saw right now your decision about keeping object in the Python 3 doc: http://bugs.python.org/issue17351#msg183870 So, now the py3 patch takes in account just the indentation of the `RevealAccess` example and the class or not suggestion. -- Added file:

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2013-09-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/issue1615 ___