[issue4291] Allow Division of datetime.timedelta Objects
Jeremy Banks jer...@jeremybanks.ca added the comment: Redundant with #2706 and others. -- nosy: -belopolsky, haypo, marketdickinson status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4291 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5760] __getitem__ error message hard to understand
New submission from Chris Rebert pyb...@rebertia.com: Prompted by http://mail.python.org/pipermail/python-ideas/2009-April/004048.html The current error message issued when trying to use the get item ([]) operator on an object that does not define __getitem__ can be hard to understand: class A(object): pass ... A()['a'] Traceback (most recent call last): File stdin, line 1, in module TypeError: 'A' object is unsubscriptable Problems observed: - unsubscriptable is easily misread in haste as unscriptable, which can be quite confusing, especially to newbies - subscripting is not frequently used to describe the [] operator, making the message more difficult to decipher (again, esp. for newbies) - the underlying lack of a __getitem__ method is not mentioned, thus not making it obvious how to remedy the error Suggestion: Use exception chaining and rephrase the error message to get something like: AttributeError: class 'A' has no attribute '__getitem__' The above exception was the direct cause of the following exception: TypeError: 'A' object does not support the 'get item' operator Similar changes should be made to __setitem__ __delitem__. -- components: Interpreter Core messages: 85983 nosy: cvrebert severity: normal status: open title: __getitem__ error message hard to understand type: behavior versions: Python 2.7, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5760 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1353344] python.desktop
Alessio G. B. alessiogiovanni.bar...@gmail.com added the comment: I have added the Italian translation. -- nosy: +agb Added file: http://bugs.python.org/file13689/python.desktop ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1353344 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5463] Remove deprecated features from struct module
Andreas Schawo andreas.sch...@gmail.com added the comment: Hi, could you have a look at cleanup_float_coerce_patch.diff. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5737] add Solaris errnos
Changes by Antoine Pitrou pit...@free.fr: -- keywords: +easy priority: - normal stage: - needs patch versions: +Python 2.7, Python 3.1 -Python 2.4, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5737 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5108] Invalid UTF-8 (%s) length in PyUnicode_FromFormatV()
Changes by Antoine Pitrou pit...@free.fr: -- priority: - critical stage: - patch review type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5108 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5720] ctime: I don't think that word means what you think it means.
Antoine Pitrou pit...@free.fr added the comment: Sounds like a good idea, perhaps you could launch a discussion on python-dev? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5720 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)
Antoine Pitrou pit...@free.fr added the comment: There should be a try/finally in test_issue5099 to ensure that os.remove(fname) always gets called. Otherwise, looks good. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5099 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5726] ld_so_aix does exit successfully even in case of failure
Antoine Pitrou pit...@free.fr added the comment: The patch looks good to me. -- nosy: +pitrou priority: - normal resolution: - accepted stage: - commit review versions: -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5726 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5330] profile and cProfile do not report C functions called with keyword arguments
Changes by Antoine Pitrou pit...@free.fr: -- stage: - patch review versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5330 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5761] add file name to py3k IO objects repr()
New submission from Antoine Pitrou pit...@free.fr: f = open(py3k/__svn__/LICENSE) f TextIOWrapper encoding=UTF-8 f.buffer _io.BufferedReader object at 0x7f4b67569f68 f.buffer.raw io.FileIO(3, 'rb') f.name 'py3k/__svn__/LICENSE' It would probably be nice if f.name were reused for f's repr(). -- components: Library (Lib) messages: 85989 nosy: benjamin.peterson, pitrou priority: normal severity: normal stage: test needed status: open title: add file name to py3k IO objects repr() type: feature request versions: Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5761 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'
New submission from Husen daudi h...@openerp.co.in: [2009-04-15 17:53:10,198] ERROR:web-services:[19]: _write_data(writer, attrs[a_name].value) [2009-04-15 17:53:10,198] ERROR:web-services:[20]: File /usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py, line 305, in _write_data [2009-04-15 17:53:10,199] ERROR:web-services:[21]: data = data.replace(, amp;).replace(, lt;) [2009-04-15 17:53:10,199] ERROR:web-services:[22]: AttributeError: 'NoneType' object has no attribute 'replace' _write_data dunction should be something like this def _write_data(writer, data): Writes datachars to writer. if data: data = data.replace(, amp;).replace(, lt;) data = data.replace(\, quot;).replace(, gt;) writer.write(data) -- components: XML messages: 85990 nosy: hda severity: normal status: open title: AttributeError: 'NoneType' object has no attribute 'replace' type: crash versions: Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'
Robert Xiao nneon...@gmail.com added the comment: Have you tried this with xml.dom.minidom? -- nosy: +nneonneo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5763] scope resolving error
New submission from vid podpecan vid.podpe...@gmail.com: Consider the following two functions: def outer(): a = 1 def inner(): print a inner() #end outer() def outer_BUG(): a = 1 def inner(): print a a = 2 inner() #end outer_BUG() The first function outer() works as expected (it prints 1), but the second function ends with an UnboundLocalError, which says that the print a statement inside inner() function references a variable before assignment. Somehow, the interpreter gets to this conclusion by looking at the next statement (a = 2) and forgets the already present variable a from outer function. This was observed with python 2.5.4 and older 2.5.2. Other releases were not inspected. Best regards, Vid -- messages: 85992 nosy: vpodpecan severity: normal status: open title: scope resolving error type: behavior versions: Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5763 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5759] __float__ not called by 'float' on classes derived from str
R. David Murray rdmur...@bitdance.com added the comment: I have confirmed this in trunk and py3k, unit tests attached. -- components: +Interpreter Core -None keywords: +patch nosy: +r.david.murray priority: - normal stage: - needs patch title: Do not call __float__ to classes derived from str - __float__ not called by 'float' on classes derived from str type: - behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5 Added file: http://bugs.python.org/file13690/issue5759-trunk-test.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5759 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5759] __float__ not called by 'float' on classes derived from str
Changes by R. David Murray rdmur...@bitdance.com: Added file: http://bugs.python.org/file13691/issue5759-py3k-test.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5759 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4954] native build of python win32 using msys under wine.
Leonard Ritter cont...@leonard-ritter.com added the comment: Hello everyone, I'm seconding the wish to be able to build Python with MSYS on Win32, and I can give several technical reasons: It is my understanding that in order to build an extension for Python on Win32, one requires to use the same compiler as the one Python has been built with. Therefore, the choice of compiler affects not only Win32 developers working on the interpreter itself, but also developing and porting C/C++ based extensions. As of now, Microsoft has released its Visual C++ compiler in various versions, some free of cost (Express), some expensive (Studio). Express versions change every year, while Studio versions change every two years. Express versions supersede each other, so once a new version is available, the older version is virtually impossible to get. Python binary releases for Win32 use the Visual Studio 2005 compiler, which is not freely available, but must be bought. Right now, it's impossible to build an extension using distutils without hacking the VC builder a bit. VCExpress uses a slightly different registry layout for various settings, which causes the builder to fail. It takes considerable effort to keep Python/Win32 setup tools compatible for VC, and all this is done to support the native compiler sufficiently, a goal that appears to me more and more as an aesthetic choice rather than a practical one. A developer wishing to deploy Win32 binaries for his extensions is currently forced to go through above hurdles or eventually buy a Microsoft product to make the pain go away. Cross-building extensions for Python on Unix using Wine is impossible because no supported version of either VS or VC++ works. I call this a terrible situation. Cygwin is the second alternative. Building Python using Cygwin makes Python and all its extensions dependent on cygwin.dll, plus it's also, as far as I gather, imitating a Unix environment for runtimes, rather than a native Win32 one, which may cripple an applications abilities to adapt to its target platform. From my perspective, MSYS does deliver. Resulting binaries depend only on available libraries coming with the OS. MSYS is practically available to everybody. MSYS also supports cross compiling, so Python binaries could even be built without Wine. On Windows, Eclipse CDT supports MSYS as a native backend. I would actually very much prefer if the default distribution of Python for Win32 were to use MSYS, but I understand that developers working on the Win32 platform prefer to use their native tools. It's also unnecessary, as you can gather from the following: I mainly develop games and multimedia applications on the Linux platform, for convenience reasons. Using MSYS, I could easily deploy a minimal custom-built version of Python with required extensions in one package, without any dependency on simulated unix enviroments. I could cross-build these apps on Linux, and test them for Win32 within Wine. If they work in Wine, they will definitely work on Windows. I would need neither a VC/VS nor a Windows license to support it. I call that a wonderful situation. offtopicLKCL: although you are clearly a mad scientist, please do continue your work. Do not get frustrated by ignorant responses and keep calm. You do pioneering, disruptive work, and such work will always be misunderstood and criticized because it requires a throughout understanding of future possibilities./offtopic Nevertheless, I see the feature you are trying to implement as trivial and self-explaining, something that should have been part of Python for a long time. People like me never took the time to file a ticket or make a comment though. We are busy bastards, I apologize. -- nosy: +lritter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4954 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5763] scope resolving error
Mark Dickinson dicki...@gmail.com added the comment: This is not a bug, just a common gotcha. The rules are described at: http://docs.python.org/reference/executionmodel.html#naming Here's the relevant excerpt: If a name binding operation occurs anywhere within a code block, all uses of the name within the block are treated as references to the current block. This can lead to errors when a name is used within a block before it is bound. This rule is subtle. Python lacks declarations and allows name binding operations to occur anywhere within a code block. The local variables of a code block can be determined by scanning the entire text of the block for name binding operations. -- nosy: +marketdickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5763 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5763] scope resolving error
Mark Dickinson dicki...@gmail.com added the comment: Closing as invalid. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5763 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5463] Remove deprecated features from struct module
Mark Dickinson dicki...@gmail.com added the comment: The _struct.c part of the patch looks good. For the tests, there should be some tests to check that attempting to pack a float with an integer format gives either TypeError or struct.error. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5463] Remove deprecated features from struct module
Changes by Mark Dickinson dicki...@gmail.com: -- stage: patch review - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5764] 2.6.2 Python Manuals CHM file seems broken
New submission from Ding Xuan dx...@163.com: e.g. The Python Tutorial menu cannot be unfolded, so as Using Python, etc. -- assignee: georg.brandl components: Documentation messages: 85998 nosy: dx617, georg.brandl severity: normal status: open title: 2.6.2 Python Manuals CHM file seems broken versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5764 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3754] minimal cross-compilation support for configure
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file13692/python-trunk-20090415-CROSS.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3754] minimal cross-compilation support for configure
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Removed file: http://bugs.python.org/file11664/python-trunk-CROSS.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3754] minimal cross-compilation support for configure
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Removed file: http://bugs.python.org/file12268/python-trunk-CROSS.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3871] cross and native build of python for mingw32 with distutils
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file13693/python-trunk-20090415-MINGW.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3871] cross and native build of python for mingw32 with distutils
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Removed file: http://bugs.python.org/file13693/python-trunk-20090415-MINGW.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3871] cross and native build of python for mingw32 with distutils
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file13694/python-trunk-20090416-MINGW.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5676] shutils test fails on ZFS (on FUSE, on Linux)
Benjamin Peterson benja...@python.org added the comment: 1. You should always compare functions with is. 2. You should add a comment explaining why os.listdir is special cased. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5676 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5761] add file name to py3k IO objects repr()
Benjamin Peterson benja...@python.org added the comment: What should we do about filenames of bytes? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5761 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1521491] file.seek() influences write() when opened with a+ mode
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I can't reproduce it with python2.6 on Vista. The newer C runtime (msvcr90.dll) probably corrected this. -- nosy: +amaury.forgeotdarc resolution: - out of date status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1521491 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5759] __float__ not called by 'float' on classes derived from str
Benjamin Peterson benja...@python.org added the comment: Thanks for the tests. Fixed in r71627. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5759 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3440] Starting any program as a subprocess fails when subprocess.Popen has env argument
R. David Murray rdmur...@bitdance.com added the comment: Doc patch applied in r71631. -- resolution: - accepted stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3440 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2636] Regexp 2.7 (modifications to current re 2.2.2)
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2636 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2636] Regexp 2.7 (modifications to current re 2.2.2)
Gregory P. Smith g...@krypto.org added the comment: fyi - I can't compile issue2636-patch-1.diff when applied to trunk (2.7) using gcc 4.0.3. many errors. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2636 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5728] Support telling TestResult objects a test run has finished
Barry A. Warsaw ba...@python.org added the comment: The patch looks fine to me, except that it's missing documentation updates. The feature and names are fine too. -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5728 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5765] stack overflow evaluating eval(() * 30000)
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: Originally reported by Juanjo Conti at PyAr: http://blog.gmane.org/gmane.org.user-groups.python.argentina/ day=20090415 Evaluating this expression causes a stack overflow, and the Python interpreter exits abnormally: eval(() * 3) 3.0.1, 2.6, 2.5 and current 2.x trunk all fail on Windows; the original reporter was likely using Linux. Some versions may require a larger constant instead of 3. 2.4 isn't affected; it raises a TypeError: 'tuple' object is not callable as expected, even for extremely long sequences. Alberto Bertogli said: inside eval, symtable_visit_expr() (Python/ symtable.c) is called recursively (thru the VISIT/VISIT_SEQ macros), eventually taking all stack space. -- components: Interpreter Core messages: 86006 nosy: gagenellina severity: normal status: open title: stack overflow evaluating eval(() * 3) type: crash versions: Python 2.5, Python 2.6, Python 2.7, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5765 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5728] Support telling TestResult objects a test run has finished
Robert Collins robe...@robertcollins.net added the comment: On Wed, 2009-04-15 at 23:19 +, Barry A. Warsaw wrote: Barry A. Warsaw ba...@python.org added the comment: The patch looks fine to me, except that it's missing documentation updates. The feature and names are fine too. Where do the docs go? -Rob -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5728 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5765] stack overflow evaluating eval(() * 30000)
Benjamin Peterson benja...@python.org added the comment: This is a pathological case. I suppose we have to add a recursion counter to the compiler struct. -- nosy: +benjamin.peterson priority: - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5765 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5766] Mac/scripts/BuildApplet.py reset of sys.executable during install can cause it to use wrong modules
New submission from Bryan Blackburn b...@users.sourceforge.net: With Python 2.6.1 currently installed and attempting to install 2.6.2 into a DESTDIR location, and having a different configuration for the new one (2.6.1 built with default Unicode settings, 2.6.2 with UCS4), BuildApplet.py fails because of symbol not found. Full output (building with MacPorts, hence the sometimes-funky paths) attached as a text file. -- components: Installation, Macintosh files: python262_error.txt messages: 86009 nosy: blb severity: normal status: open title: Mac/scripts/BuildApplet.py reset of sys.executable during install can cause it to use wrong modules type: compile error versions: Python 2.6 Added file: http://bugs.python.org/file13695/python262_error.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5766 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5767] xmlrpclib loads invalid documents
New submission from Jean-Paul Calderone exar...@divmod.com: Prior versions of xmlrpclib.loads would raise an exception when passed malformed documents: exar...@bigdog24:~/_trial_temp$ python2.4 -c 'from xmlrpclib import loads; loads(\x00\nmethodResponse\n params\n param\n /param\n /params\n/methodResponse\n)' Traceback (most recent call last): File string, line 1, in ? File /usr/lib/python2.4/xmlrpclib.py, line 1079, in loads p.feed(data) File /usr/lib/python2.4/xmlrpclib.py, line 527, in feed self._parser.Parse(data, 0) xml.parsers.expat.ExpatError: not well-formed (invalid token): line 2, column 0 However, as of the most recent Python 2.5 and Python 2.6 point releases, this is no longer the case: exar...@bigdog24:~/_trial_temp$ python2.5 -c 'from xmlrpclib import loads; loads(\x00\nmethodResponse\n params\n param\n /param\n /params\n/methodResponse\n)' exar...@bigdog24:~/_trial_temp$ python2.6 -c 'from xmlrpclib import loads; loads(\x00\nmethodResponse\n params\n param\n /param\n /params\n/methodResponse\n)' exar...@bigdog24:~/_trial_temp$ Previous versions of Python 2.5 and Python 2.6 did not exhibit this misbehavior. -- components: Library (Lib) messages: 86010 nosy: exarkun severity: normal status: open title: xmlrpclib loads invalid documents type: behavior versions: Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5767 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5728] Support telling TestResult objects a test run has finished
Barry A. Warsaw ba...@python.org added the comment: On Apr 15, 2009, at 7:43 PM, Robert Collins wrote: Robert Collins robe...@robertcollins.net added the comment: On Wed, 2009-04-15 at 23:19 +, Barry A. Warsaw wrote: Barry A. Warsaw ba...@python.org added the comment: The patch looks fine to me, except that it's missing documentation updates. The feature and names are fine too. Where do the docs go? Doc/library/unittest.rst -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5728 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5748] Objects/bytesobject.c should include stringdefs.h, instead of defining its own macros
Changes by Victor Godoy Poluceno victorpoluc...@gmail.com: -- nosy: +victorpoluceno ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5748 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5665] Add more pickling tests
Collin Winter coll...@gmail.com added the comment: Committed as r71408 (trunk) and r71638 (py3k). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5665 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'
Husen daudi h...@openerp.co.in added the comment: Yes I am using xml.dom.minidom doc.toprettyxml(indent=\t).encode('utf-8') -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5434] datetime.monthdelta
Changes by Jess Austin jess.aus...@gmail.com: Added file: http://bugs.python.org/file13696/monthdelta2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5434 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com