[issue8619] Doc bug for urllib.request._urlopener in Python 3.1+

2010-05-05 Thread sri
sri sriram.thai...@gmail.com added the comment: You missed the code part: urllib._urlopener = AppURLopener() -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8619 ___

[issue8619] Doc bug for urllib.request._urlopener in Python 3.1+

2010-05-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in r80775 and r80776 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8619 ___ ___

[issue8610] Python3/POSIX: errors if file system encoding is None

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: I don't think it's a good idea to display an fatal error at runtime. If nl_langinfo(CODESET) is not available, configure should fail or we should fallback to an hardcoded encoding (ok but which one?). If

[issue8603] Create a bytes version of os.environ and getenvb()

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: The documentation of os.environb and os.getenvb() in my last patch is very short. I'm not inspired. We told me on IRC to not use function annotations because annotation semantic was not decided yet. I will

[issue8617] Non-existent variables documented

2010-05-05 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: site definitely needs more documentation about the per-user site-packages. We need to add a section about that. I am adding Christian to the nosy list, since he added those feature. I can work on a section sometimes next week and propose a

[issue8610] Python3/POSIX: errors if file system encoding is None

2010-05-05 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: manpage for nl_langinfo() doesn't mention any errors that could be raised by it It's more about get_codeset(). This function can fail for different reasons: - nl_langinfo() result is an empty string: If item is not valid, a

[issue8603] Create a bytes version of os.environ and getenvb()

2010-05-05 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: MaL Patch looks good. +1 on adding it. Cool. I didn't understood if MvL is +1, but at least he's not -1 on this, and we are at least two at +1 :-) MaL One nit: I'd rename the keymap function to encodekey. Ok, I will also change

[issue8610] Python3/POSIX: errors if file system encoding is None

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: manpage for nl_langinfo() doesn't mention any errors that could be raised by it It's more about get_codeset(). This function can fail for different

[issue8610] Python3/POSIX: errors if file system encoding is None

2010-05-05 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I think that using ASCII is a safer choice in case of errors. I choosed UTF-8 to keep backward compatibility: PyUnicode_DecodeFSDefaultAndSize() uses utf-8 if Py_FileSystemDefaultEncoding==NULL. If the OS has no

[issue8313] unprintable AssertionError object message in unittest tracebacks

2010-05-05 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Changing traceback._some_str to return unicode rather than str seems like a bad idea. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8313

[issue8313] unprintable AssertionError object message in unittest tracebacks

2010-05-05 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8313 ___ ___ Python-bugs-list mailing list

[issue8610] Python3/POSIX: errors if file system encoding is None

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: I think that using ASCII is a safer choice in case of errors. I choosed UTF-8 to keep backward compatibility: PyUnicode_DecodeFSDefaultAndSize()

[issue8313] unprintable AssertionError object message in unittest tracebacks

2010-05-05 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: I would prefer to try str(...) first and only attempt to convert to unicode and do the backslash replace if the str(...) call fails. -- ___ Python tracker rep...@bugs.python.org

[issue8620] wrong truncation of line in Cmd.cmd

2010-05-05 Thread Mattelaer
New submission from Mattelaer olivier.mattel...@uclouvain.be: When using the Cmd module on a file. it happens that the last line is truncated from the last caracther. The problem is simply that it can happen that the last line doesn't finish by '\n' charcacter. In consequence the line which

[issue8621] Mac OS X

2010-05-05 Thread yig
New submission from yig yo...@yotamgingold.com: Calling uuid.uuid4() while using the multiprocessing module leads to the same exact UUIDs being generating in each process. It is an artifact resulting from the built-in uuid_generate_random() of my underlying platform, Mac OS X 10.6.3. A

[issue8613] Decimal module flags undetermined when a signal is trapped.

2010-05-05 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I agree that the spec is not unambiguous, but consider the Overflow and Underflow passages here: http://speleotrove.com/decimal/daexcep.html == Overflow == In all cases, Inexact and Rounded will also be raised. Raise here of

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Since r80665, a ./configure --with-pydebug seems to give compilation with -O2 (tested on OS X and Linux). Is this intentional? I'm getting, e.g., gcc -c -g -O2 -g -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE

[issue8619] Doc bug for urllib.request._urlopener in Python 3.1+

2010-05-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Why do we have a public API that begins with an '_'? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8619 ___

[issue8613] Decimal module flags undetermined when a signal is trapped.

2010-05-05 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Yes, that's a good point. It would be nice for e.g. Inexact = Rounded invariants to be, well, invariant. I agree that the cdecimal behaviour is the correct one. I'm looking for wiggle room here because I don't really want to make a set of

[issue8621] Mac OS X

2010-05-05 Thread yig
yig yo...@yotamgingold.com added the comment: For the record, I filed a bug against the underlying platform. (I wrote a simple program to reproduce this in C and filed a bug report with Apple rdar://7944700. The OpenRadar page for it is here: http://openradar.appspot.com/radar?id=334401 )

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Mark Dickinson wrote: Mark Dickinson dicki...@gmail.com added the comment: Since r80665, a ./configure --with-pydebug seems to give compilation with -O2 (tested on OS X and Linux). Is this intentional? Yes. I've restored the

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg m...@egenix.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8211 ___ ___

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Marc-Andre Lemburg wrote: Marc-Andre Lemburg m...@egenix.com added the comment: Mark Dickinson wrote: Mark Dickinson dicki...@gmail.com added the comment: Since r80665, a ./configure --with-pydebug seems to give compilation with

[issue8619] Doc bug for urllib.request._urlopener in Python 3.1+

2010-05-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: That is actually a private attribute of urllib (not urllib2) module present from the very first version. It is intended strictly for overriding purposes not for anything else. During the merge in py3k, it has taken its place in

[issue8313] unprintable AssertionError object message in unittest tracebacks

2010-05-05 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited: r80777 (trunk) and r80779 (2.6); blocked: r80778 (py3k). Open a new issue if you would like to use something better than ASCII+backslashreplace in unittest (using runner stream encoding?). -- resolution: - fixed

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Yes. I've restored the previous behavior of configure to have AC_PROG_CC determine CFLAGS defaults. Just to be clear, the previous behaviour has *not* been restored. Up until r80665, a '--with-pydebug' build did not include optimization.

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-05-05 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: As the bug is in the underlying platform the best we can do is to warn about this in the documentation, as in the attached patch. BTW. I've updated the title to be slightly more informative. -- keywords: +patch title: Mac OS X

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Ah, I understand now: -O2 started appearing in debug builds in r79218, which changed the Makefile to respect CFLAGS. I tested a variety of revision, but failed to test revision in between that and Victor's change... --

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Mark Dickinson wrote: Mark Dickinson dicki...@gmail.com added the comment: Ah, I understand now: -O2 started appearing in debug builds in r79218, which changed the Makefile to respect CFLAGS. I tested a variety of revision, but

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4661 ___ ___

[issue1467619] Header.decode_header eats up spaces

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1467619 ___

[issue1368247] unicode in email.MIMEText and email/Charset.py

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1368247 ___ ___

[issue1379416] email.Header encode() unicode P2.6

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1379416 ___ ___

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-05-05 Thread yig
yig yo...@yotamgingold.com added the comment: Why not default to not use the Python implementation on darwin instead of the underlying platform's uuid_generate_random(), until it's proven safe? -- ___ Python tracker rep...@bugs.python.org

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6521 ___ ___

[issue1685453] email package should work better with unicode

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1685453 ___

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-05-05 Thread yig
yig yo...@yotamgingold.com added the comment: Ahem. Why not use the Python implementation on darwin until its uuid_generate_random() is deemed to be safe? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8621

[issue1555570] email parser incorrectly breaks headers with a CRLF at 8192

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue170 ___ ___

[issue1693546] email.Message set_param rfc2231 encoding incorrect

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1693546 ___

[issue1459867] Message.as_string should use mangle_from_=unixfrom?

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1459867 ___ ___

[issue1349106] email.Generators does not separates headers with \r\n

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1349106 ___ ___

[issue3244] multipart/form-data encoding

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___ ___ Python-bugs-list

[issue4766] email documentation needs to be precise about strings/bytes

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4766 ___ ___

[issue6942] email.generator.Generator memory consumption

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6942 ___

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1025395 ___

[issue1672568] silent error in email.message.Message.get_payload

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1672568 ___

[issue5871] email.header.Header allow to embed raw newlines into a message

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5871 ___

[issue1440472] email.Generator is not idempotent

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1440472 ___

[issue724459] Add documentation about line endings in email messages.

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue724459 ___

[issue1078919] Email.Header encodes non-ASCII content incorrectly

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1078919 ___

[issue968430] error flattening complex smime signed message

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue968430 ___

[issue1210680] Split email headers near a space

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1210680 ___

[issue1243654] Faster output if message already has a boundary

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1243654 ___

[issue1243730] Big speedup in email message parsing

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1243730 ___

[issue1372770] email.Header should preserve original FWS

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1372770 ___

[issue1690608] email.utils.formataddr() should be rfc2047 aware

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1690608 ___

[issue1681333] email.header unicode fix

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1681333 ___

[issue504152] rfc822 long header continuation broken

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue504152 ___ ___

[issue5610] email feedparser.py CRLFLF bug: $ vs \Z

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5610 ___

[issue5612] whitespace folding in the email package could be better ; -)

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5612 ___

[issue1590744] mail message parsing glitch

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1590744 ___

[issue1443866] email 3.0+ stops parsing headers prematurely

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1443866 ___

[issue1155362] Bugs in parsedate_tz

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1155362 ___

[issue1043706] External storage protocol for large email messages

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1043706 ___

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1050268 ___

[issue975330] Inconsistent newline handling in email module

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue975330 ___

[issue795081] email.Message param parsing problem II

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue795081 ___

[issue4212] email.LazyImporter does not use absolute imports

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4212 ___

[issue1525919] email package quoted printable behaviour changed

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1525919 ___

[issue2658] decode_header() fails on multiline headers

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2658 ___

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-05-05 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Because I didn't look closely enough at the source :-( The attached patch disabled the C implementation on OSX 10.6 or later. I've tested that 10.5 is not affected by the issue. -- Added file:

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-05-05 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: Removed file: http://bugs.python.org/file17217/issue8621-doc.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8621 ___

[issue634412] RFC 2112 in email package

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue634412 ___

[issue1443875] email/charset.py convert() patch

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1443875 ___

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1823 ___

[issue740495] API enhancement: poplib.MailReader()

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue740495 ___ ___ Python-bugs-list

[issue7755] copyright clarification for audiotest.au

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: loewis - barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7755 ___ ___

[issue8622] Add PYTHONFSENCODING environment variable

2010-05-05 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg m...@egenix.com: As discussed on issue8610, we need a way to override the automatic detection of the file system encoding - for much the same reasons we also do for the I/O encoding: the detection mechanism isn't fail-safe. We should add a new

[issue8610] Python3/POSIX: errors if file system encoding is None

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: I've opened issue8622 for the env. var idea. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8610 ___

[issue8538] Add ConfigureAction to argparse

2010-05-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Are we sure we want three or four ways to spell the same thing? --foo and --no-foo seem a useful couple to me, and --with-foo/--without-foo cater to different use cases. Perhaps it would be ok to have a SwitchAction (or FlagAction) for

[issue8623] Aliasing warnings in socketmodule.c

2010-05-05 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: This is on py3k, with gcc 4.4.3: /home/antoine/py3k/__svn__/Modules/socketmodule.c: In function 'socket_gethostbyaddr': /home/antoine/py3k/__svn__/Modules/socketmodule.c:3238: warning: dereferencing pointer 'sa' does break strict-aliasing

[issue8624] Aliasing warnings in multiprocessing.c

2010-05-05 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: This is on py3k, with gcc 4.4.3: /home/antoine/py3k/__svn__/Modules/_multiprocessing/multiprocessing.c: In function 'multiprocessing_sendfd': /home/antoine/py3k/__svn__/Modules/_multiprocessing/multiprocessing.c:125: warning: dereferencing

[issue8625] --with-pydebug builds now include -O2 by default

2010-05-05 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: When doing a debug build of Python with gcc, without any previous setting of CFLAGS, the '-O2' flag is now automatically included. This behaviour started in r79218. It would be nice to restore the original behaviour, if possible, since

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-05-05 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Also added a testcase that should warn if other unix-y platforms start to suffer from the same issue. BTW. issue8621.patch uses a runtime test in the uuid module instead of a configure-check because a binary might be created on 10.5

[issue8625] --with-pydebug builds now include -O2 by default

2010-05-05 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Just double checked the gcc manual. From: http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html If you use multiple -O options, with or without level numbers, the last such option is the one that is effective. --

[issue8625] --with-pydebug builds now include -O2 by default

2010-05-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It would be nice to restore the original behaviour, if possible, since the optimization causes difficulties when debugging. One solution would be to add '-O0' to OPT for debug builds (on gcc), as in the attached patch. You then get compiler

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-05-05 Thread yig
yig yo...@yotamgingold.com added the comment: Great work! Very thorough patches. Strange that it's a regression versus 10.5. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8621 ___

[issue8626] TypeError: rsplit() takes no keyword arguments

2010-05-05 Thread Dave Abrahams
New submission from Dave Abrahams d...@boostpro.com: Based on the rsplit documentation, I'd expect 'foo bar'.rsplit(maxsplit=1) to work. This is probably a much bigger problem than just rsplit, i.e. I doubt there is a policy about whether documented parameter names need to be usable as

[issue8627] Unchecked PyErr_WarnPy3k return value in Objects/typeobject.c

2010-05-05 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: Lines 3884 and 3890 of Objects/typeobject.c (trunk, r80782), which check for a subclass overriding __eq__ (or __cmp__) but not __hash__, call PyErr_WarnPy3k but don't check the return value. [This was reported when compiling Python with

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-05-05 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8621 ___ ___

[issue7900] posix.getgroups() failure on Mac OS X

2010-05-05 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I agree with Michael that something should be done. I propose to add commit os-getgroups-v2.patch, which is the almost same as os-getgroups.patch that I posted earlier, but adds a check for large values of NGROUPS_MAX (see msg99913 for

[issue7900] posix.getgroups() failure on Mac OS X

2010-05-05 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: Added file: http://bugs.python.org/file17221/os-getgroups-v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7900 ___

[issue8627] Unchecked PyErr_WarnPy3k return value in Objects/typeobject.c

2010-05-05 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Hmm. Fixing this isn't easy: a simple 'if (inherit_slots(...) 0) goto error;' produces a huge reference leak in PyType_Ready. -- ___ Python tracker rep...@bugs.python.org

[issue8572] httplib getheader() throws error instead of default

2010-05-05 Thread Walter Woods
Walter Woods woodswal...@gmail.com added the comment: Sorry I'm just getting back to this . . . Senthil, doesn't list(None) throw an exception? That was the whole problem with list()ing the default argument. And I don't think the problem should be fixed in email.message.Message.get_all() . .

[issue1525919] email package quoted printable behaviour changed

2010-05-05 Thread Thomas Arendsen Hein
Thomas Arendsen Hein tho...@intevation.de added the comment: Roger Demetrescu, I filed the issue with Python 2.4, because the behavior changed somewhere between 2.4.2 and 2.4.3 The updated link to the MoinMoin bug entry is: http://moinmo.in/MoinMoinBugs/ResetPasswordEmailImproperlyEncoded The

[issue8622] Add PYTHONFSENCODING environment variable

2010-05-05 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/issue8622 ___

[issue8572] httplib getheader() throws error instead of default

2010-05-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Walter, just to address one of your point: +if failobj and not isinstance(failobj, list): +if isinstance(failobj, str): +failobj = [failobj] +else: +failobj

[issue8572] httplib getheader() throws error instead of default

2010-05-05 Thread Walter Woods
Walter Woods woodswal...@gmail.com added the comment: Senthil, you are correct, I gave a bad example. However, try list()ing an integer :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8572

[issue8628] Incorrect numbers.Complex.imag documentation

2010-05-05 Thread Daniel Urban
New submission from Daniel Urban urban.dani...@gmail.com: The current documentation of the imag abstract property of numbers.Complex is this: Abstract. Retrieves the Real component of this number. Of course the imag attribute is the imaginary component, not the real. -- assignee:

[issue8625] --with-pydebug builds now include -O2 by default

2010-05-05 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/issue8625 ___

  1   2   >