[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-04-29 Thread Bernhard Rosenkraenzer
Bernhard Rosenkraenzer added the comment: Not sure how to get it into verbose mode (I presume you don't mean "python -v"), but normal mode (22 tests) works fine: Python 2.7.1 (r271:86832, Apr 22 2011, 13:40:40) [GCC 4.6.0] on linux2 Type "help", "copyright", "credits" or "license" for more in

[issue11962] FreeBSD-AMD64 bot sporadic hanging

2011-04-29 Thread Stefan Krah
New submission from Stefan Krah : The FreeBSD-AMD64 bot exhibits sporadic hanging in unspecific places. FreeBSD is running under kvm in the background. When the hanging occurs, the virtual machine uses 100% CPU and I can't log in via ssh, so I have to kill the kvm process. The fact that the ssh

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-04-29 Thread Eli Bendersky
Eli Bendersky added the comment: Can this be committed and closed? [it's still an annoying problem for some Windows users who want to compile Python] -- ___ Python tracker ___

[issue10912] PyObject_RichCompare differs in behaviour from PyObject_RichCompareBool ; difference not noted in documentation

2011-04-29 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11827] mention of list2cmdline() in docs of subprocess.Popen

2011-04-29 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10912] PyObject_RichCompare differs in behaviour from PyObject_RichCompareBool ; difference not noted in documentation

2011-04-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset d27f95e3b52f by Eli Bendersky in branch '2.7': Issue #10912: add clarification for PyObject_RichCompareBool comparing identical objects http://hg.python.org/cpython/rev/d27f95e3b52f -- nosy: +python-dev ___

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Brian Curtin
Brian Curtin added the comment: Thanks for having a look, Ezio. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 609ca9d71aba by Brian Curtin in branch '3.1': Fix #11961. Document STARTUPINFO and creation flag options. http://hg.python.org/cpython/rev/609ca9d71aba New changeset f0092c611004 by Brian Curtin in branch '3.2': Fix #11961. Document STARTUPINFO and

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> brian.curtin nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue11762] Ast doc: warning and version number

2011-04-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue9723] Add shlex.quote

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: See also #11827 about subprocess.list2cmdline. -- nosy: +ezio.melotti ___ Python tracker ___ ___ Pytho

[issue11960] Python crashes when running numpy test

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: Can you try with Python 3.2 (and/or get the dev version of 3.3 from http://hg.python.org/cpython and compile it)? It would be also useful to know what test exactly causes the segfault and see its code. Note that this might also be a numpy issue, so it might be u

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: You can indent the "attribute" directives and avoid to repeat "STARTUPINFO." before every attribute. If STD_INPUT_HANDLE and the other constants are attributes of STARTUPINFO they should be indented too, otherwise a line that says that subprocess also provides

[issue11947] re.IGNORECASE does not match literal "_" (underscore)

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: See also #11957. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11957] re.sub confusion between count and flags args

2011-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: Since this has been reported already several times (see e.g. #11947), and it's a fairly common mistake, I think we should do something to avoid it. A few possibilities are: 1) add a warning in the doc; 2) make count and flag keyword-only argument (raising a

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Brian Curtin
New submission from Brian Curtin : Attached is a patch that adds documentation for a few things that have existed in subprocess for a while without documentation. The "startupinfo" parameter takes subprocess.STARTUPINFO object which takes a few different options for its attributes, but none of

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: buildbots are green again. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list m

[issue11960] Python crashes when running numpy test

2011-04-29 Thread Alex Lai
New submission from Alex Lai : Hi experts, I’m wondering if anyone would look into this issue. We recently installed Python 3.1.2 on a Solaris 10 machine. While testing numpy package, Python crashed with the following error: sbtorsvr391:~ $ cd /home/dcottr/local/tests sbtorsvr391:

[issue11959] smtpd cannot be used without affecting global state

2011-04-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The fact that you need to keep two separate maps makes me think that the approach you have in mind might be wrong, as in - that's something you usually don't want to do -. The fact that asyncore uses a global socket map is surely unfortunate, but it's some

[issue11959] smtpd cannot be used without affecting global state

2011-04-29 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- Removed message: http://bugs.python.org/msg134825 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11959] smtpd cannot be used without affecting global state

2011-04-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The fact that you need to keep two separate maps makes me think that the approach you have in mind might be wrong, as in - that's something you usually don't want to do -. The fact that asyncore uses a default socket map is surely unfortunate, but it's som

[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did you run the httplib test with your patch? Interactively >>> from test.test_httplib import test_main as f; f() (verbose mode, over 40 tests) In 3.x, the patch would be to http/client.py, line 802 in 3.2 release if isinstance(message_body, str) # becomes if i

[issue11950] logger use dict for loggers instead of WeakValueDictionary

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, this is a feature request to change the storage of loggers. A behavior issue (bug report) must report a discrepancy between doc and behavior. Vinay rejected that request as not really possible. Questions about using yum should go to a yum list or to py

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe the patch produces the following as the first sentence "When a module named :mod:`spam` is imported, the interpreter searches for a file named :file:`spam.py` in a list of directories given by the variable ``sys.path`` which is initialized from the

[issue11950] logger use dict for loggers instead of WeakValueDictionary

2011-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: #11944 is probably a duplicate of this and should be checked when this is fixed -- ___ Python tracker ___ __

[issue11957] re.sub problem with unicode string

2011-04-29 Thread Eric V. Smith
Eric V. Smith added the comment: The 4th parameter to re.sub() is a count, not flags. -- nosy: +eric.smith ___ Python tracker ___ ___

[issue11937] Interix support

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Markus, I agree with Martin that this patch would go against current policy and should be closed. Rather than close it myself, I will try to persuade you to do so. First, CPython is actually in the process of 'slimming down', of removing, not adding support

[issue11206] test_readline unconditionally calls clear_history()

2011-04-29 Thread Ned Deily
Ned Deily added the comment: Thanks for noticing! -- nosy: +ned.deily resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> test_readline fails when readline was installed after running configure (and was not re-run)

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: I had wrapped skipUnless decorator for the wrong test (test_extractall instead of test_extractall_symlinks) in the 3.x code. Corrected it and waiting for next bb reports. Thank you. -- ___ Python tracker

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2665a28643b8 by Senthil Kumaran in branch 'default': Wrap the correct test with the skip decorator for the issue10761. http://hg.python.org/cpython/rev/2665a28643b8 -- ___ Python tracker

[issue11928] fail on filename with space at the end

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Windows Explorer does not so allow, but yes, Windows does. With xp >>> os.stat('some file ') nt.stat_result(st_mode=33206, st_ino=6473924464520118, st_dev=0, st_nlink=1, st_uid=0, st_gid=0, st_size=13, st_atime=1304114221, st_mtime=1304114055, st_ctime=1304113

[issue11959] smtpd cannot be used without affecting global state

2011-04-29 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11912] Python shouldn't use the mprotect() system call

2011-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is there any reason not to close this as a CPython issue? -- nosy: +terry.reedy ___ Python tracker ___

[issue7838] Undocumented subprocess functions on Windows

2011-04-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80971f71b0d9 by Brian Curtin in branch '3.1': Further fix #7838. CREATE_NEW_CONSOLE was exposed, but none of the http://hg.python.org/cpython/rev/80971f71b0d9 -- nosy: +python-dev ___ Python tracker

[issue11959] smtpd cannot be used without affecting global state

2011-04-29 Thread Vinay Sajip
New submission from Vinay Sajip : It seems not possible to use smtpd in certain contexts, because it forces use of global state. For example, I'm looking at implementing a test SMTP server to test logging's SMTPHandler. Neither SMTPServer nor SMTPChannel allow a map to be passed in, forcing us

[issue11958] test.test_ftplib.TestIPv6Environment failure

2011-04-29 Thread Charles-Francois Natali
New submission from Charles-Francois Natali : test_ftplib fails in TestIPv6Environment: == ERROR: test_makepasv (test.test_ftplib.TestIPv6Environment) -- Traceb

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-29 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > I don't understand the point concerning trimming/fragmentation/threading by > Charles-Francois: dlmalloc will allocate its own memory segment using mmap > and handle memory inside that segment when you do a > dlmalloc/dlfree/dlrealloc. Other malloc im

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-04-29 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21836/issue11948.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-04-29 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Raymond, thanks for looking into it! What do you think of this patch? I tried to save what I think was nice in the first paragraph and collapse it into the second one. -- ___ Python tracker

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-29 Thread Sébastien Sablé
Sébastien Sablé added the comment: I share the opinion of Floris on this: just because you link your application with python does not mean you want it to handle all memory management. If you want the memory to be handled by Python, you should call PyMem_Malloc. Otherwise people may want to us

[issue11950] logger use dict for loggers instead of WeakValueDictionary

2011-04-29 Thread Марк Коренберг
Марк Коренберг added the comment: I'm not YUM developer, I'm very sad user of YUM API. Also, I'm novice in python logging complex system. 1. There is no way to remove logger once it added via getLogger(). why? 2. When yum should close handlers? In destructor (cleanup function) of module? 3. Wh

[issue11957] re.sub problem with unicode string

2011-04-29 Thread Mindaugas
New submission from Mindaugas : re.sub don't substitute not ASCII characters: Python 2.7.1 (r271:86832, Apr 15 2011, 12:11:58) Arch Linux >>>import re >>>a=u'aaa' >>>print re.search('(\w+)',a,re.U).groups() (u'aaa') >>>print re.sub('(\w+)','x',a,re.U) x BUT: >>>a=u'ąąą' >>>print re.sea

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

2011-04-29 Thread Alexis Metaireau
Alexis Metaireau added the comment: On 29/04/2011 18:20, Daniel Holth wrote: > New in version 2.6. Yep that's it. We would need to backport it in the python2 port of packaging (namely distutils2), but it would do the trick. I just started a discussion about that on the fellowship (to kno

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread R. David Murray
R. David Murray added the comment: test_distutils should not be dependent on the existence of rpm (if it references the system rpm it should skip if it doesn't exist). It is difficult to find someone willing to run a buildbot as the root user, so while we will see about fixing the test suite

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: One last niggle : when I do $ DESTDIR=`pwd`/inst make install The configure '--libdir=/usr/lib64' setting I specified is ignored and python installs itself under /usr/lib . I guess I need to raise a different bug on this ? --

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: Nope, all tests except rpm dependant test_distutils OK as non-root with the patch I submitted for #11956 - so I guess that's good enough . Please fix the python 'make test' to work when run as root user . Thank You! --

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: hmm... not sure if "make test" completely succeeds as non-root user yet: "test_subprocess" has been sitting in this state for @ 30mins : [282/354] test_subprocess . this bit of output is from a test of stdout in a different process ... and is getting rathe

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: argparse.py needs a similar fix, but I'm not sure where - I raised issue #11955 on this . -- ___ Python tracker ___ ___

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: OK, so those test_argparse.py and test_import.py tests succeed if run as a non-root user , because as the super-user one is allowed to override mode 0300 ( lack of 'w' bit for owner ) on a directory , so some tests that check if they are unable to create files w

[issue11344] Add os.path.splitpath(path) function

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

[issue11786] ConfigParser.[Raw]ConfigParser optionxform()

2011-04-29 Thread Łukasz Langa
Łukasz Langa added the comment: Sorry about that. Since I'm not technically touching the source code, I thought the security fixes restriction does not necessarily apply. Especially that my patch only updates what ends up here: http://docs.python.org/release/2.6.6/library/configparser.html -

[issue11887] unittest fails on comparing str with bytes if python has the -bb option

2011-04-29 Thread Michael Foord
Changes by Michael Foord : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue11247] Error sending packets to multicast IPV4 address

2011-04-29 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: Closing as invalid, since it's definitely not a Python issue, but much more likely a network configuration problem. -- resolution: -> invalid status: open -> closed ___ Python tracker

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

2011-04-29 Thread Daniel Holth
Daniel Holth added the comment: from docs.python.org: platform.python_implementation() Returns a string identifying the Python implementation. Possible return values are: ‘CPython’, ‘IronPython’, ‘Jython’. New in version 2.6. ... and it seems pypy identifies itself as 'PyPy'. -

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-29 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: Even worse than that, mixing to malloc implementations could lead to trouble. For example, the trimming code ensures that the heap is where it last set it. So if an allocation has been made by another implementation in the meantime, the heap won't be

[issue11955] 3.3 : test_argparse.py fails 'make test'

2011-04-29 Thread R. David Murray
R. David Murray added the comment: The six error messages tell you that six different tests failed. Yes, the failures are probably all due to the same cause, but that's just how unit testing works. (And yes, the argparse tests are a bit more terse and difficult to understand than many of ou

[issue11955] 3.3 : test_argparse.py fails 'make test'

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: Aha ! the test succeeds as a non root (super-) user . This is because as a root user I can override w bit settings on directories I own: see issue #11956 for fix I applied to test_import.py to fix same issue. Thanks ! -- __

[issue1759169] clean up Solaris port and allow C99 extension modules

2011-04-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: As noted by Martin above (he quoted the Subversion revision numbers), this was actually fixed. -- resolution: accepted -> fixed stage: patch review -> committed/rejected ___ Python tracker

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Tests -Build nosy: -brian.curtin type: crash -> behavior versions: +Python 3.3 -Python 3.4 ___ Python tracker ___ _

[issue11949] Make float('nan') unorderable

2011-04-29 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11956] 3.3 : test_import.py causes 'make test' to fail

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Tests -Build type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11945] Adopt and document consistent semantics for handling NaN values in containers

2011-04-29 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11955] 3.3 : test_argparse.py fails 'make test'

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Tests -Build type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11924] Pickle and copyreg modules don't document the interface

2011-04-29 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue1759169] clean up Solaris port and allow C99 extension modules

2011-04-29 Thread David Kirkby
David Kirkby added the comment: Is there any progress on this? I see it is marked as Status: closed Resolution: accepted Stage: patch review That apparently means: ''There is a patch, but it needs reviewing or is in the process of being reviewed. This can be done by any triager as well

[issue11956] 3.3 : test_import.py causes 'make test' to fail

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: Aha ! Yes, the test DOES succeed as a non-root user , and yes, if you are super user you can override any write bits in directory permissions if you own the directory. So the fix ? : skip 'unwritable_directory' test if you are root - here's the patch -

[issue11950] logger use dict for loggers instead of WeakValueDictionary

2011-04-29 Thread Vinay Sajip
Vinay Sajip added the comment: I had to delete my previous response to the initial post, as something got mangled in it. Here's what I meant to say: -- It sounds to me as if there's a problem in yum that needs sorting out: I'm not sure why it would n

[issue11956] 3.3 : test_import.py causes 'make test' to fail

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: oops, no sorry it was this bit from the strace log : umask(0222) = 022 stat("./@test_9634_tmp", 0x7fff7ef64130) = -1 ENOENT (No such file or directory) open("./@test_9634_tmp.cpython-33m.so", O_RDONLY) = -1 ENOENT (No such file or d

[issue11950] logger use dict for loggers instead of WeakValueDictionary

2011-04-29 Thread Vinay Sajip
Changes by Vinay Sajip : -- Removed message: http://bugs.python.org/msg134786 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11950] logger use dict for loggers instead of WeakValueDictionary

2011-04-29 Thread Vinay Sajip
Vinay Sajip added the comment: It sounds to me as if there's a problem in yum that needs sorting out: I'm not sure why it would need dozens of loggers. As your workaround snippet shows, leaking files is not due to loggers but due to handlers - they're a different animal. Handlers need not be

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > For the same reason that extension modules can choose between > PyMem_Malloc and plain malloc (or whatever else). Python has never > forced it's malloc on extension modules why should it now? We're talking about a platform-specific feature request due to the

[issue11956] 3.3 : test_import.py causes 'make test' to fail

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: So, in the statement that fails : self.assertFalse(os.path.exists(os.path.join(...))) . either self.assertFalse is failing or os.path.exists is failing or os.path.join is failing. The fact that the error message is 'AssertionError: True is not false' suggest

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-29 Thread Floris Bruynooghe
Floris Bruynooghe added the comment: On 29 April 2011 17:16, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> Yes, I was probably not clear: >> When --with-dlmalloc is activated, PyMem_MALLOC/PyMem_Malloc will call >> dlmalloc, PyMem_REALLOC/PyMem_Realloc will call dlrealloc an

[issue11956] 3.3 : test_import.py causes 'make test' to fail

2011-04-29 Thread Jason Vas Dias
Changes by Jason Vas Dias : -- components: +Build type: -> crash versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list ma

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Senthil, Windows buildbots on 3.1, 3.2 and 3.x show test failures. See e.g. http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.1/builds/1780/steps/test/logs/stdio -- assignee: lars.gustaebel -> orsenthil nosy: +pitrou status: closed -> open

[issue11956] 3.3 : test_import.py causes 'make test' to fail

2011-04-29 Thread Jason Vas Dias
New submission from Jason Vas Dias : Hi - I've been experiencing many errors trying to build any version of Python that will pass its test suite - see issues : #11946 , #11954 - and now I've been advised to raise bugs about each test failure - hence this bug. For details of my config and build pr

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Yes, I was probably not clear: > When --with-dlmalloc is activated, PyMem_MALLOC/PyMem_Malloc will call > dlmalloc, PyMem_REALLOC/PyMem_Realloc will call dlrealloc and > PyMem_FREE/PyMem_Free will call dlfree. > > While calls to malloc/free/realloc will use t

[issue11955] 3.3 : test_argparse.py fails 'make test'

2011-04-29 Thread Jason Vas Dias
New submission from Jason Vas Dias : Hi - I've been experiencing many errors trying to build any version of Python that will pass its test suite - see issues : #11946 , #11954 - and now I've been advised to raise bugs about each test failure - hence this bug. For details of my config and build pr

[issue11343] Make errors due to full parser stack identifiable

2011-04-29 Thread Andreas Stührk
Andreas Stührk added the comment: FWIW, this also affects `ast.literal_eval()`. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-29 Thread Sébastien Sablé
Sébastien Sablé added the comment: Yes, I was probably not clear: When --with-dlmalloc is activated, PyMem_MALLOC/PyMem_Malloc will call dlmalloc, PyMem_REALLOC/PyMem_Realloc will call dlrealloc and PyMem_FREE/PyMem_Free will call dlfree. While calls to malloc/free/realloc will use the platfo

[issue9756] Crash with custom __getattribute__

2011-04-29 Thread Andreas Stührk
Andreas Stührk added the comment: I think it is reasonable to restrict the self argument of method descriptors and slot wrapper descriptors to real instances of the type. The called method can't cope with the value anyway (in the general case). Alternative Python implementations like Jython a

[issue828450] sdist generates bad MANIFEST on Windows

2011-04-29 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> accepted stage: test needed -> patch review status: open -> pending ___ Python tracker ___ __

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Since I want PyMem_MALLOC to call dlmalloc, I would need to export the > "malloc" symbol from libpython so that Python extensions could use it > when calling PyMem_MALLOC, but that would impact all malloc calls in > applications which embed Python for example.

[issue3526] Customized malloc implementation on SunOS and AIX

2011-04-29 Thread Sébastien Sablé
Sébastien Sablé added the comment: > I'm just proposing an alternative that I find cleaner, simpler and easier to > maintain. I understand how LD_PRELOAD works but I find it neither clean nor simple to maintain. Also by using a wrapper to call Python you still impact all the applications th

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-04-29 Thread Éric Araujo
Éric Araujo added the comment: Indeed, I missed those two lines. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue11324] ConfigParser(interpolation=None) doesn't work

2011-04-29 Thread Éric Araujo
Éric Araujo added the comment: You forgot the Misc/NEWS entry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue11786] ConfigParser.[Raw]ConfigParser optionxform()

2011-04-29 Thread Éric Araujo
Éric Araujo added the comment: 2.5 and 2.6 are in security mode. Other bug fixes, build changes, documentation improvements, etc. should not go in these branches. Your commit does not break anything, but for process clarity, please back it out. -- nosy: +eric.araujo ___

[issue11344] Add os.path.splitpath(path) function

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

[issue11344] Add os.path.splitpath(path) function

2011-04-29 Thread blokeley
blokeley added the comment: My runtime came from the Python32 Windows installer and I don't have a C compiler on this machine. Therefore I updated to the 3.2 branch in hg and worked on that. This patch is pretty simple so should work on 3.3 without modifications. I have attached my first ite

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Brian Curtin
Brian Curtin added the comment: > I'm not confident to start using this build until I can pin down why eg > test_argparse and test_import are failing. Feel free to look into the failures in Lib/test/test_argparse.py and Lib/test/test_import.py -- nosy: +brian.curtin _

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread R. David Murray
R. David Murray added the comment: A focused bug report would focus on *one* of the test failures (as in the failures from running a single test_x). Python3 does not support Berkeley DB out of the box, you need a third party library to get bdb support. You might be interested to look at

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: 'make test' failures after $ /usr/src/cypython/configure --prefix=/usr --libdir=/usr/lib64 --enable-shared $ make -j2 && make test (make test fails) So, to run in "verbose mode", I do : $ LD_LIBRARY_PATH=`pwd` LD_PRELOAD=`pwd`/libpython3.so \ ./python -Wd -E

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: OK, so the ' vanilla configure ' build succeeds too - using DB module only gdbm , and with internal libffi: $ make clean $/usr/src/cpython/configure --prefix=/usr --libdir=/usr/lib64 --enable-shared ... $ echo $? 0 $ make -j2 ... $ echo $? 0 But exactly the sa

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: In reply to last comment : RE: > a single, focused bug What is this bug if not single and focused ? The "SINGLE FOCUS" of this bug, in case you missed it , is that there appears to be no source release of python that can build and pass its make tests on my pla

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread R. David Murray
R. David Murray added the comment: Just so you know, you aren't likely to get much help using this approach to bug reporting. A single, focused bug report is much more likely to get attention. You might also want to try starting with a "vanilla configure" and see how things go with that firs

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: [237/354] test_pyexpat test_ordered_attributes (test.test_pyexpat.SetAttributeTest) ... ok test_specified_attributes (test.test_pyexpat.SetAttributeTest) ... ok test_parse_file (test.test_pyexpat.ParseTest) ... ok test_unicode (test.test_pyexpat.ParseTest) ... o

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: test_too_high_from_package (test.test_import.RelativeImportFromImportlibTests) ... test test_import failed -- Traceback (most recent call last): File "/usr/src/cpython/Lib/test/test_import.py", line 545, in test_unwritable_directory '__pycache__', '{}.{}

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Jason Vas Dias
Jason Vas Dias added the comment: test_start_with_double_slash (test.test_httpservers.SimpleHTTPRequestHandlerTestCase) ... /usr/src/cpython/Lib/unittest/case.py:799: BytesWarning: str() on a bytes instance (i, item1, item2)) test test_httpservers failed -- multiple errors occurred ok

  1   2   >