[issue8898] The email package should defer to the codecs module for all aliases

2010-06-04 Thread Shashwat Anand
Shashwat Anand anand.shash...@gmail.com added the comment: We need to add aliases for those codecs. The current aliases list only supports the format latinN for N in 1-10. latinN means latin1 to latin10 ? But latin_1 is a recognized alias. codecs.lookup('latin_1') codecs.CodecInfo object for

[issue8899] Add docstrings to time.struct_time

2010-06-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The first change in time.rst is not needed; there the sentence is not a direct description of struct_time. The rest is good to commit. -- ___ Python tracker rep...@bugs.python.org

[issue8898] The email package should defer to the codecs module for all aliases

2010-06-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Shashwat Anand wrote: Shashwat Anand anand.shash...@gmail.com added the comment: We need to add aliases for those codecs. The current aliases list only supports the format latinN for N in 1-10. latinN means latin1 to latin10 ?

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Running the exact same binary on winxp with an amd athlon processor, I *did* get a crash after about 5 seconds. python.exe has encountered a problem and needs to close. We are sorry for the inconvenience. Trying again with IDLE instead of the

[issue1712522] urllib.quote throws exception on Unicode URL

2010-06-04 Thread AdamN
AdamN a...@varud.com added the comment: Nudge. Somebody with the authority needs to increment the stage to patch review. -- nosy: +adamnelson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1712522

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Jack Diederich
Changes by Jack Diederich jackd...@gmail.com: -- nosy: +jackdied ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8847 ___ ___ Python-bugs-list

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8847 ___

[issue1712522] urllib.quote throws exception on Unicode URL

2010-06-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: unit test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1712522 ___

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2010-06-04 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Fri, Jun 4, 2010 at 4:09 PM, Brett Cannon rep...@bugs.python.org wrote: .. For the allowable range, follow the datetime docs as someone might be relying on that specification already. Will do. I think it is as

[issue8899] Add docstrings to time.struct_time

2010-06-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8899 ___

[issue8893] file.{read,readlines} behaviour on Solaris

2010-06-04 Thread Christophe Kalt
Christophe Kalt k...@taranis.org added the comment: FreeBSD is yet another beast: $ uname -rs FreeBSD 8.0-STABLE $ python -V Python 2.5.5 $ python readlines.py read : [] readlines: [] readline : -- ___ Python tracker rep...@bugs.python.org

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2010-06-04 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: On Fri, Jun 4, 2010 at 15:17, Alexander Belopolsky rep...@bugs.python.org wrote: Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Fri, Jun 4, 2010 at 4:09 PM, Brett Cannon rep...@bugs.python.org wrote: .. For the

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: More experiments from collections import namedtuple foo = namedtuple('foo', '') a = [] + foo() print (a, type(a), len(a)) # () class 'tuple' 0 ie, a standard empty tuple, whereas a = [1,1] + foo() crashes immediately. So the behavior of

[issue8885] markerbase declaration errors aren't recoverable

2010-06-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Neither markerbase nor markupbase are in the list of 2.6 stdlib modules at http://docs.python.org/modindex.html even with all packages [+] listings expanded to [-]. So I have to guess this is a third party module. If so, please close and report

[issue8890] Modules have dangerous examples in documentation

2010-06-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Henri, the owasp link you gave in your opening post now gives Bad Title error msg. -- nosy: +tjreedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8890

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Jack Diederich
Jack Diederich jackd...@gmail.com added the comment: I can't reproduce on 3k trunk with Ubuntu 10.04, gcc 4.4.3 namedtuples are just a subclass of tuple with only two dunder methods defined (a plain __new__ with empty __slots__). Can you provoke the same behavior with plain tuples, or a

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Substituting foo = tuple() TypeError: can only concatenate list (not tuple) to list class Crasher(tuple): pass foo = Crasher() a = [1] + foo b=a[0] print (type(a), len(a), type(b), len(type(b)), type(type(b))) class 'tuple' 1 [] 1 class 'list'

[issue8900] IDLE crashes if Preference set to At Startup - Open Edit Window

2010-06-04 Thread Michael Huster
New submission from Michael Huster mhuste...@gmail.com: This only seems to be a problem under Windows. From a Portable Python discussion: I am using Portable Python 1.1, python 3.0.1. I am trying to set up a .bat file file to easily start IDLE. But IDLE is throwing an error and failing some of

[issue8885] markerbase declaration errors aren't recoverable

2010-06-04 Thread Mark Nottingham
Mark Nottingham m...@mnot.net added the comment: http://svn.python.org/view/python/trunk/Lib/markupbase.py?view=log -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8885

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Jack Diederich
Jack Diederich jackd...@gmail.com added the comment: Two more probes: 1) does it also have the same strange/crashy behavior when you subclass list and concat that to a tuple? 2) does dropping the optimization level down to -O help? This has compiler quirk written all over it. The C-code

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: can't reproduce does not inform as to what *did* happen with which code. More experiments: foo = str() TypeError: can only concatenate list (not str) to list class s(str): pass foo = s() TypeError: Can't convert 'list' object to str implicitly

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 1) answered before you asked (yes, similar) 2) (same thought) I am using PSF windows installer, however that was prepared. Martin? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org

[issue8882] socketmodule.c`getsockaddrarg() should not check the length of sun_path

2010-06-04 Thread Edward Pilatowicz
Edward Pilatowicz edward.pilatow...@oracle.com added the comment: some additional data. AIX 6.1: defined sun_path = 1023 max sun_path = 1023 i'll also point out the existence of the SUN_LEN() macro, which is defined on all the previously mentioned operating systems, and which

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Jack Diederich
Jack Diederich jackd...@gmail.com added the comment: if the id() of the left operand is identical to the id() of the first element in the result it would strongly support compiler skulldugerry. class Crasher(tuple): pass foo = Crasher() x = [1] a = x + foo b=a[0] if id(b) == id(x): raise

[issue8847] crash appending list and namedtuple

2010-06-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Good try, but for one run, the ids of foo, x, a, and b are 15719440 15717880 15273104 12266976 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8847

[issue8901] Windows registry path not ignored with -E option

2010-06-04 Thread flashk
New submission from flashk fla...@gmail.com: Hi, I noticed that Python still uses the Windows registry to initialize sys.path, when the -E option is used. From my understanding, this option is mostly used by programs that are running an embedded version of python, and don't want it to be

[issue8901] Windows registry path not ignored with -E option

2010-06-04 Thread flashk
Changes by flashk fla...@gmail.com: Added file: http://bugs.python.org/file17559/IgnoreWindowsRegistry_32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8901 ___

<    1   2