[issue8809] smtplib should support SSL contexts

2011-04-26 Thread Kasun Herath
Kasun Herath added the comment: Thanks for the quick review. I'm submitting a new patch with changes suggested. -- Added file: http://bugs.python.org/file21791/smtp_sslcontext_updated3.patch ___ Python tracker

[issue11884] Argparse calls ngettext but doesn't import it

2011-04-26 Thread John O'Hagan
John O'Hagan added the comment: Reported to Debian, bug #624277 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat[ST_MTIME]

2011-04-26 Thread John S. Gruber
New submission from John S. Gruber : In researching a bug I was surprised that a newly created file was being replaced when being processed a second time (it shouldn't have been processed a second time). I tracked the surprise to diff Lib/distutils/dep_util.py @ 57642:9211a5d7d0b4 where a co

[issue11932] Email multipart boundary detection fails on a wrapped header

2011-04-26 Thread David Strauss
David Strauss added the comment: Never mind. I was manipulating some text that broke the parser. -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___

[issue11932] Email multipart boundary detection fails on a wrapped header

2011-04-26 Thread David Strauss
David Strauss added the comment: Replacing the file with a proper example. -- Added file: http://bugs.python.org/file21790/wrapped_multipart.txt ___ Python tracker ___ _

[issue11932] Email multipart boundary detection fails on a wrapped header

2011-04-26 Thread David Strauss
Changes by David Strauss : Removed file: http://bugs.python.org/file21789/wrapped_multipart.txt ___ Python tracker ___ ___ Python-bugs-list ma

[issue11932] Email multipart boundary detection fails on a wrapped header

2011-04-26 Thread David Strauss
New submission from David Strauss : I've attached a multipart message produced by Thunderbird. For some reason, the email.message parser doesn't properly recognize the boundary. This causes legitimate multipart messages to parse as if no boundary were specified. Simply removing the newline on

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-26 Thread Ezio Melotti
Ezio Melotti added the comment: This can be fixed by adding 'False', 'None', and 'True' to the Helper.keywords dict in Lib/pydoc.py. I'm not sure what the topic for these should be though. True/False/None are documented in the "built-in constants" section[0] of the doc. An alternative migh

[issue11834] wrong module installation dir on Windows

2011-04-26 Thread Mark Mc Mahon
Mark Mc Mahon added the comment: Reviewing the patch (issue133572.py33.patch): You have used forward slashes for the first change - but back slashes for the others. I see that other places in the existing docs use back slashes when referring to windows paths. I have never used the --prefix op

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-26 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11930] Remove time.accept2dyear

2011-04-26 Thread STINNER Victor
STINNER Victor added the comment: The next step is to update the datetime module: something like the attached patch (datetime_y2k.patch). -- Added file: http://bugs.python.org/file21788/datetime_y2k.patch ___ Python tracker

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: Scott- which platform did you observe this? I can't reproduce this on the 2.7 code on Linux. -- nosy: +orsenthil ___ Python tracker ___ _

[issue11931] Regular expression documentation patch

2011-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll do these fix-ups but wish you would shift your focus to making substantive changes. You're wasting developer time. -- ___ Python tracker

[issue11931] Regular expression documentation patch

2011-04-26 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger priority: normal -> low ___ Python tracker ___ ___ Python-bugs-l

[issue11930] Remove time.accept2dyear

2011-04-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Tue, Apr 26, 2011 at 6:09 PM, STINNER Victor wrote: .. > .. class:: struct_time (...) A year value will be handled as described under > :ref:`Year 2000 (Y2K) issues ` above. This one needs to be removed. Thanks. --

[issue11930] Remove time.accept2dyear

2011-04-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Tue, Apr 26, 2011 at 6:30 PM, STINNER Victor wrote: > > STINNER Victor added the comment: > > "What makes you say so? > > 1970" > > Don't write ">>> " using the email interface :-) > Sorry. That was the output of time.strptime('70', '%y')[0]. -

[issue10914] Python sub-interpreter test

2011-04-26 Thread STINNER Victor
STINNER Victor added the comment: test_capi pass on x86 debian parallel 3.x: I close this issue again :-) -- status: open -> closed ___ Python tracker ___ __

[issue11931] Regular expression documentation patch

2011-04-26 Thread Boštjan Mejak
Boštjan Mejak added the comment: Raymond, what about the title "search() vs. match()"? There is a dot there! Please add the dot where I added it. Or remove it here as well. Also, "Checking For a Pair" is "Checking for a Pair". The word "for" must be lowercase. --

[issue11931] Regular expression documentation patch

2011-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: The section heads should remain in title case. The colon in the octal escape section should remain, but the "If" following it should be lower cased. "Phonebook" should remain a single word. "vs" is fine without the period in a section head. It would be b

[issue11930] Remove time.accept2dyear

2011-04-26 Thread STINNER Victor
STINNER Victor added the comment: "What makes you say so? 1970" Don't write ">>> " using the email interface :-) -- >>> t time.struct_time(tm_year=70, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=3, tm_yday=1, tm_isdst=0) >>> time.mktime(t) -59958144561.0 >>> time.localtime(

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Apr 26, 2011, at 09:45 PM, Matthias Klose wrote: >Matthias Klose added the comment: > >> Barry A. Warsaw added the comment: >> >> I'm closing this as invalid for Python, since I believe this is strictly an >> Ubuntu bug caused by an out-of-date kernel on

[issue10914] Python sub-interpreter test

2011-04-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8338cfa3578 by Victor Stinner in branch 'default': Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0) http://hg.python.org/cpython/rev/c8338cfa3578 New changeset d3af2a2b621b by Victor Stinner in branch 'default': Issue #10914: Initialize cor

[issue11930] Remove time.accept2dyear

2011-04-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Tue, Apr 26, 2011 at 6:09 PM, STINNER Victor wrote: .. > > timemodule.c: > > PyDoc_STRVAR(module_doc, > "... > The tuple items are:\n\ >  year (four digits, e.g. 1998)\n\ > ...") > > => That's wrong. Example: time.gmtime(-5558220).tm_year gives 208

[issue11930] Remove time.accept2dyear

2011-04-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Tue, Apr 26, 2011 at 6:09 PM, STINNER Victor wrote: > It looks like struct_time note is wrong: the year 70 is now 70 and not > interpreted as 1970 anymore. What makes you say so? 1970 -- ___ Python track

[issue11930] Remove time.accept2dyear

2011-04-26 Thread STINNER Victor
STINNER Victor added the comment: time.rst: * **Year 2000 (Y2K) issues**: Python depends on the platform's C library, which generally doesn't have year 2000 issues, since all dates and times are represented internally as seconds since the epoch. Function :func:`strptime` can parse 2-digi

[issue11931] Regular expression documentation patch

2011-04-26 Thread Boštjan Mejak
New submission from Boštjan Mejak : I have read and fixed the regular expression documentation and made a patch. Ezio, please review it and apply it. Thanks. -- assignee: docs@python components: Documentation files: re.patch keywords: patch messages: 134506 nosy: Retro, docs@python, ezi

[issue11223] interruption of locks by signals not guaranteed when locks are implemented using POSIX condition variables

2011-04-26 Thread STINNER Victor
STINNER Victor added the comment: > Well, if it's called _info() in Python, it's private too! My patch replaces thread._info() by sys.thread_info: it becomes public. > What I mean is that the "#ifdef WITH_THREAD" could be done in > sysmodule.c rather than in thread.c PyThread_GetInfo() requir

[issue9614] _pickle is not entirely 64-bit safe

2011-04-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > The warnings at lines 284, 301, 461, 647 are benign. I agree. There is no loss of data because Py_ssize_t variable bounds are checked before these lines are reached. > The attached patch fixes them. I don't like these changes: -Pdata_poptuple(Pdata

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-26 Thread Matthias Klose
Matthias Klose added the comment: > Barry A. Warsaw added the comment: > > I'm closing this as invalid for Python, since I believe this is strictly an > Ubuntu bug caused by an out-of-date kernel on the build farm. that's where I disagree. a configure check should not be dependent on the run

[issue9614] _pickle is not entirely 64-bit safe

2011-04-26 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +rhettinger priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-26 Thread Scott Leerssen
Scott Leerssen added the comment: I just hit the same issue. This seems to work: Modified:Lib/tarfile.py === ---Lib/tarfile.py 2011-04-26 20:36:33 UTC (rev 49502) +++Lib/tarfile.py 2011-04-26 21:01:24 UTC (rev 49503)

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm closing this as invalid for Python, since I believe this is strictly an Ubuntu bug caused by an out-of-date kernel on the build farm. I'm working on an SRU to fix that. Please track further status on the Launchpad bug page given below. -- assi

[issue5115] Extend subprocess.kill to be able to kill process groups

2011-04-26 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: Note that the setpgid creation part is now somewhat redundant with Popen's start_new_session flag (which calls setsid). Also, this should probably be an option, since with that patch every subprocess is in its own process group. > I was wondering...

[issue11929] Improve usage of PEP8 in Docs/includes/*

2011-04-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5e93c5cdc378 by Raymond Hettinger in branch '3.2': Issue 11929: Minor whitespace clean-ups. http://hg.python.org/cpython/rev/5e93c5cdc378 New changeset 89fcadbc49df by Raymond Hettinger in branch 'default': Issue 11929: Minor whitespace clean-ups.

[issue11929] Improve usage of PEP8 in Docs/includes/*

2011-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I put a few of these in (ones where it looked like readability was improved). -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue11918] Drop OS/2 and VMS support in Python 3.3

2011-04-26 Thread STINNER Victor
STINNER Victor added the comment: > The patch looks fine; please add a reference to PEP 11 > into the error messages Ok, done. > "Our plan are to port, this year 2.7, then 3.x." VMS is unsupported in 3.3 and the code will be removed in 3.4. If anyone comes with patches to have a working VMS

[issue11834] wrong module installation dir on Windows

2011-04-26 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11918] Drop OS/2 and VMS support in Python 3.3

2011-04-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec754f8d2917 by Victor Stinner in branch 'default': Issue #11918: OS/2 and VMS are no more supported because of the lack of http://hg.python.org/cpython/rev/ec754f8d2917 -- nosy: +python-dev ___ Python t

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-26 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: I just noticed there's already a version of dlmalloc in Modules/_ctypes/libffi/src/dlmalloc.c Compiling with gcc -shared -fpic -o /tmp/dlmalloc.so ./Modules/_ctypes/libffi/src/dlmalloc.c Then LD_PRELOAD=/tmp/dlmalloc.so ./python works just fine (an

[issue11918] Drop OS/2 and VMS support in Python 3.3

2011-04-26 Thread Martin v . Löwis
Martin v. Löwis added the comment: > How can we help you ? Please contribute a full, complete, working VMS port to Python 3.3. I never understood whether the code that we have is supposed to be complete, in the sense that you get a working Python out of it (rather, I understood that this never

[issue11930] Remove time.accept2dyear

2011-04-26 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : As implemented in issue 10827, use of 2-digits years in timetuples to mean 4-digit years straddling year 2000 is deprecated in 3.3. There is no mechanism for issuing deprecation warning for access to a module variable, but a deprecation note was adde

[issue11929] Improve usage of PEP8 in Docs/includes/*

2011-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: > foo(x=default) vs. foo(x = default) That's fine. Most of the rest of it isn't. -- ___ Python tracker ___ ___

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > So how about a --with-dlmalloc=path/to/dlmalloc.c? Can't you just add dlmalloc to LDFLAGS or something? Or would the default malloc still be selected? > This is > similar in how python uses e.g. openssl to provide optional extra > functionality/performance.

[issue11929] Improve usage of PEP8 in Docs/includes/*

2011-04-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On the other hand, I would be +0 for the tzinfo-examples fixes of the form: foo(x=default) vs. foo(x = default) (This was also the fix suggested on the ML.) Overall, I think it is good to judicially point out to PEP 8 violations where fixes would impro

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-26 Thread Floris Bruynooghe
Floris Bruynooghe added the comment: > > So by using dlmalloc on SunOS and AIX you would get the same level > > of performance for memory operations that you already probably can > > appreciate on Linux systems. > > Yes, but with the above "trick", you can do that without patching > python nor y

[issue11929] Improve usage of PEP8 in Docs/includes/*

2011-04-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Another -1 from me. Similar changes to inline examples in the docs have been rejected in the past for the same reasons as Raymond wrote. See issue 4649. -- nosy: +belopolsky ___ Python tracker

[issue11929] Improve usage of PEP8 in Docs/includes/*

2011-04-26 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue11929] Improve usage of PEP8 in Docs/includes/*

2011-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: IMO, this is a complete waste of time and much of the code doesn't actually read any better afterwards. Some of the mathematical expressions look worse. There may be some merit to splitting the imports but that isn't worth much either, perhaps not enough

[issue11929] Improve usage of PEP8 in Docs/includes/*

2011-04-26 Thread Sandro Tosi
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-April/004032.html I made a run of pep8 on Doc/includes/ py files. i've prepared a patch against default; if it's considered worth I can prepare patches for the other branches (for sure 2.7 needs a differe

[issue10640] SystemError on pickling bytes >= 4GB

2011-04-26 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-26 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > it is possible to impact the memory allocation system on AIX using some > environment variables (MALLOCOPTIONS and others) LD_PRELOAD won't impact AIX's malloc behaviour, but allows you to replace it transparently by any other implementation you lik

[issue11223] interruption of locks by signals not guaranteed when locks are implemented using POSIX condition variables

2011-04-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le mardi 26 avril 2011 à 01:34 +, STINNER Victor a écrit : > STINNER Victor added the comment: > > > > - Rename _PyThread_Info() to PyThread_GetInfo() (consistent name with > > > PyFloat_GetInfo() and PyLong_GetInfo()) > > > > I don't think we want that

[issue9614] _pickle is not entirely 64-bit safe

2011-04-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: See also issue 10640. -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11872] cPickle gives strange error for large objects.

2011-04-26 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9614] _pickle is not entirely 64-bit safe

2011-04-26 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11564] pickle not 64-bit ready

2011-04-26 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9614] _pickle is not entirely 64-bit safe

2011-04-26 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9390] Error in sys.excepthook on windows when redirecting output of the script

2011-04-26 Thread Michal Molhanec
Michal Molhanec added the comment: Thanks, the fix looks working. The questions are: a) can this situation be detected at runtime to provide better error message? b) can it be detected during the installation so that the installation program can offer to the user to set the flag (or it could be

[issue8809] smtplib should support SSL contexts

2011-04-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: So, thanks for the new patch. I tested it with my ISP's server and it works fine! Two remaining issues though: - in the SMTP_SSL constructor, you must add the "context" argument at the end of the argument list (after "timeout"), otherwise someone passing "tim

[issue11928] fail on filename with space at the end

2011-04-26 Thread anatoly techtonik
Changes by anatoly techtonik : -- title: fail if file with space at the end is present -> fail on filename with space at the end ___ Python tracker ___ _

[issue11928] fail if file with space at the end is present

2011-04-26 Thread anatoly techtonik
New submission from anatoly techtonik : I know this is a minor bug, but still.. Windows allows creation of filenames like "use MoveBufferArea " (note space at the end). When such file is present in current directory, `setup.py sdist` fails with `error: use MoveBufferArea : The system cannot fi

[issue8809] smtplib should support SSL contexts

2011-04-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, issue11927 reminds me that test_smtpnet actually has a trivial test for SMTP-over-SSL. -- ___ Python tracker ___ __

[issue11927] SMTP_SSL doesn't use port 465 by default

2011-04-26 Thread Antoine Pitrou
New submission from Antoine Pitrou : The SMTP_SSL doc says “If port is omitted, the standard SMTP-over-SSL port (465) is used”, but actually port 25 is used by default. The fix is trivial: make "default_port" a class attribute (in both SMTP and SMTP_SSL) instead of setting it inside the constr

[issue11921] distutils2 should be able to compile an Extension based on the Python implementation version

2011-04-26 Thread Alexis Metaireau
Alexis Metaireau added the comment: This raises a concern about python specific python implementations dependencies. We probably could extend PEP 345 in order to support things such as 'platform.python_implementation == "cpython"'. -- ___ Python

[issue11921] distutils2 should be able to compile an Extension based on the Python implementation version

2011-04-26 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > How about deleting the mapping (pthread_key_delete) and recreating it > > from scratch, then? > > Sounds good. > So the idea would be to retrieve the current thread's tstate, destroy > the current autoTLSkey, re-create it, and re-associate the current > tst

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-26 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > How about deleting the mapping (pthread_key_delete) and recreating it > from scratch, then? Sounds good. So the idea would be to retrieve the current thread's tstate, destroy the current autoTLSkey, re-create it, and re-associate the current tstate

[issue11921] distutils2 should be able to compile an Extension based on the Python implementation version

2011-04-26 Thread Éric Araujo
Éric Araujo added the comment: The environment markers are specific to PEP 345, that is metadata, which includes dependencies, so that you can depend on something only on a given platform. Your proposal of putting C extensions in another distribution and optionally depend on it should work r

[issue11913] sdist should allow for README.rst

2011-04-26 Thread Éric Araujo
Éric Araujo added the comment: If it’s only a warning, just ignore it. This would be easy to fix, but as it would be considered a new feature, it can’t go into distutils, which is frozen. I am however willing to edit the documentation to tell that PyPI will accept README.rst and that people

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-26 Thread Buck Golemon
Buck Golemon added the comment: @Barry: Yes, it's still a problem. The ubuntu 10.10 python2.7 still has no multiprocessing. Since the EOL is April 2012, it needs fixed. It may be considered an invalid python bug, since it seems to be strictly related to Ubuntu packaging, but I thought the pyt

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Well, after fork, all threads have exited, so you'll be running on the > behalf of the child process' main - and only - thread, so by > definition you can't access other threads' thread-specific data, no? A rather good point :) How about deleting the mapping

[issue5723] Incomplete json tests

2011-04-26 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue11872] cPickle gives strange error for large objects.

2011-04-26 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue5115] Extend subprocess.kill to be able to kill process groups

2011-04-26 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue11837] smtplib._quote_periods triggers spurious type error in re.sub

2011-04-26 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-26 Thread Sébastien Sablé
Sébastien Sablé added the comment: Hi Charles-François, it is possible to impact the memory allocation system on AIX using some environment variables (MALLOCOPTIONS and others), but it is not very elegant (it will impact all applications running with this environment and it is difficult to e

[issue11923] gcc: unrecognized option '-n32'

2011-04-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- resolution: -> invalid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue11923] gcc: unrecognized option '-n32'

2011-04-26 Thread Paul Griffith
Paul Griffith added the comment: I found the problem, it is with my system. In the past we used to support SGI hosts and I had the SGI_ABI environmental variable set to -n32. Please consider this issue closed. -- status: open -> closed ___ Python

[issue11923] gcc: unrecognized option '-n32'

2011-04-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > CFAGS and friends are not set. How about LDFLAGS? By the way, the build should have succeeded anyway: the "python" executable should be at the root of your build directory. -- ___ Python tracker

[issue11923] gcc: unrecognized option '-n32'

2011-04-26 Thread Paul Griffith
Paul Griffith added the comment: Here is the config.log file! -- Added file: http://bugs.python.org/file21783/config.log ___ Python tracker ___ _

[issue11923] gcc: unrecognized option '-n32'

2011-04-26 Thread Paul Griffith
Paul Griffith added the comment: I have included the config.log file and a script of configure and make process. CFAGS and friends are not set. -- Added file: http://bugs.python.org/file21782/typescript.python-2.7.1 ___ Python tracker

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-04-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: Updated the NEWS entry. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-04-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b261f3bef09 by Senthil Kumaran in branch '2.7': Update NEWS for Issue11236. http://hg.python.org/cpython/rev/1b261f3bef09 -- ___ Python tracker _

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-04-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset f799530dbde7 by Senthil Kumaran in branch '3.1': Update News entry for Issue11236 http://hg.python.org/cpython/rev/f799530dbde7 -- ___ Python tracker

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-04-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have made the changes in 3.3,3.2,3.1 and 2.7 codeline. The behavior is aligned with the 2.5 (and earlier) behaviors. I cannot change this 2.6 because this is not a security issue to be back-ported. (rather it was misinterpreted problem and resulted in chan

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-04-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset a3b4887edba4 by Senthil Kumaran in branch '2.7': issue11236 getpass.getpass to respond ctrl-c or ctrl-z http://hg.python.org/cpython/rev/a3b4887edba4 -- ___ Python tracker

[issue9390] Error in sys.excepthook on windows when redirecting output of the script

2011-04-26 Thread Sijin Joseph
Sijin Joseph added the comment: @Amaury - That sounds exactly like the issue described. To summarize the error is caused because in some versions of windows there is a bug that causes the handles to stdin/stdout to not be inherited correctly for apps run from the console "via file association

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-04-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 154b323e0e7f by Senthil Kumaran in branch '3.1': Fix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z http://hg.python.org/cpython/rev/154b323e0e7f -- ___ Python tracker

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-26 Thread Sijin Joseph
Sijin Joseph added the comment: @Ezio - help(True), help(False) and help(None) all return the correct documentation for me using latest trunk. I think the quotes around True, False and None might be throwing things off in your case. -- ___ Python t

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-26 Thread Sijin Joseph
Sijin Joseph added the comment: Should True, False and None be keywords? Technically True and False are objects of type bool, in fact the only objects of that type allowed. And None is a specially designated object as well. P.S: Can anyone point me to where the help function is defined in the

[issue11907] SysLogHandler can't send long messages

2011-04-26 Thread Vinay Sajip
Vinay Sajip added the comment: Also: http://plumberjack.blogspot.com/2010/09/using-logging-with-multiprocessing.html -- ___ Python tracker ___ _

[issue11907] SysLogHandler can't send long messages

2011-04-26 Thread Vinay Sajip
Vinay Sajip added the comment: For other options you might like to consider, see: http://plumberjack.blogspot.com/2010/09/improved-queuehandler-queuelistener.html which refers to QueueHandler and QueueListener classes. These were added in 3.2 but are available for Python 2.x: http://code.goo

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-26 Thread R. David Murray
R. David Murray added the comment: So this is probably not a python problem at all, but a problem with your system c library time functions. time.mktime is a thin wrapper around the mktime libc call. Perhaps you could write a short C program to test it? I've added Barry as nosy since he has

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-26 Thread Kasun Herath
Kasun Herath added the comment: Yes problem seems to be with time.mktime(). Here is my output, >>> calendar.timegm((2000, 1, 1, 0, 0, 0, -1, -1, -1)) 946684800 >>> x = imaplib.Internaldate2tuple(b'25 (INTERNALDATE "01-Jan-2000 00:00:00 >>> +")') >>> x time.struct_time(tm_year=2000, tm_mo

[issue9390] Error in sys.excepthook on windows when redirecting output of the script

2011-04-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This post: http://stackoverflow.com/questions/3018848/cannot-run-python-script-on-windows-with-output-redirected suggests that there is a difference between "python test.py > out.log" and "test.py > out.log". It also suggests a change in the registry tha

[issue10154] locale.normalize strips "-" from UTF-8, which fails on Mac

2011-04-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Piotr Sikora wrote: > > Piotr Sikora added the comment: > > It's the same on OpenBSD (and I'm pretty sure it's true for other BSDs as > well). > locale.resetlocale() > Traceback (most recent call last): > File "", line 1, in > File "/usr/local

[issue11918] Drop OS/2 and VMS support in Python 3.3

2011-04-26 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Would be possible to publish a notice in "python insider" blog?.Enigmail -- ___ Python tracker ___ ___

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-26 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > Not necessarily. You can have several interpreters (and therefore several > thread states) in a single thread, using Py_NewInterpreter(). It's used by > mod_wsgi and probably other software. If you overwrite the old value with the > new one, it may

[issue11918] Drop OS/2 and VMS support in Python 3.3

2011-04-26 Thread Piéronne Jean-François
Piéronne Jean-François added the comment: How can we help you ? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri