[issue11581] buildbot error when pushing to 2.5 branch?

2011-03-17 Thread Senthil Kumaran
New submission from Senthil Kumaran : When pushed a change to 2.5 branch, I got an error, which I think has to do with buildbot not available for 2.5 codeline. It asked me to notify the tracker and here it is. remote: state = method(*args, **kw) remote: File "/data/buildbot/master/master.c

[issue11582] Boilerplate code replaced in Python/ceval.c

2011-03-17 Thread knickerkicker
New submission from knickerkicker : Replaced boilerplate implementations of several BINARY_* and INPLACE_* opcodes with two macros. The result shaves off 154 lines from Python/ceval.c. -- components: Interpreter Core files: 20110317_ceval.patch keywords: patch messages: 131230 nosy: kni

[issue11442] list_directory() in SimpleHTTPServer.py should add charset=... to Content-type header

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in all the relevant code lines. -- assignee: -> orsenthil priority: release blocker -> resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-17 Thread Ned Deily
Ned Deily added the comment: I don't have any better suggestions at the moment so let's go with it. Perhaps we'll get more insight to the root cause later. -- ___ Python tracker _

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-17 Thread Ned Deily
Ned Deily added the comment: The actual unwanted event is being generated as a result of the menu "add command" accelerator. You can see that by playing with Wish. set w .menu catch {destroy $w} toplevel $w wm title $w "Menu Shift" menu $w.menu -tearoff 0 set m $w.menu.basic $w.menu add casca

[issue4114] struct returns incorrect 4 byte float

2011-03-17 Thread Mark Dickinson
Mark Dickinson added the comment: I don't think this needs to be documented beyond the limitations of floating-point that are already documented in the tutorial. It's the obvious behaviour: double to float (when packing) converts to the nearest float; the float to double conversion is exac

[issue4114] struct returns incorrect 4 byte float

2011-03-17 Thread Mark Dickinson
Mark Dickinson added the comment: [Robert] > I have to disagree. It seems entirely reasonable to expect that > unpack should return the same value passed to pack. Robert: notice that a *Python* float (a *64-bit* C double internally) is here being stored as a *32-bit* float, losing precision.

[issue11567] http.server error message format

2011-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset db4967095f10 by Senthil Kumaran in branch '3.2': Fix issue11567: http.server DEFAULT_ERROR_MESSAGE format. Patch by Gennadiy Zlobin. http://hg.python.org/cpython/rev/db4967095f10 -- nosy: +python-dev __

[issue11567] http.server error message format

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in 3.3 and 3.2. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ P

[issue11583] os.path.isdir() is slow on windows

2011-03-17 Thread Eli Bendersky
New submission from Eli Bendersky : Report here: http://stackoverflow.com/questions/5316928/python-os-path-isdir-is-slow-on-windows It could be a problem with Windows itself, but I'm opening this to keep track of the issue, just to be on the safe side. -- components: Library (Lib) mes

[issue11557] Increase coverage in logging module

2011-03-17 Thread Gennadiy Zlobin
Changes by Gennadiy Zlobin : -- nosy: +gennad ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue4492] httplib code thinks it closes connection, but does not

2011-03-17 Thread Gennadiy Zlobin
Changes by Gennadiy Zlobin : -- nosy: +gennad ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11583] os.path.isdir() is slow on windows

2011-03-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: How do you expect this to be resolved? Or will it stay open until Microsoft improves the NTFS performance? -- nosy: +loewis ___ Python tracker __

[issue11568] docstring of select.epoll.register() is wrong

2011-03-17 Thread Gennadiy Zlobin
Changes by Gennadiy Zlobin : -- assignee: -> docs@python components: +Documentation nosy: +docs@python type: -> behavior ___ Python tracker ___

[issue11568] docstring of select.epoll.register() is wrong

2011-03-17 Thread Gennadiy Zlobin
Gennadiy Zlobin added the comment: The patch fixes the docstring -- keywords: +patch nosy: +gennad Added file: http://bugs.python.org/file21265/11568.patch ___ Python tracker __

[issue11583] os.path.isdir() is slow on windows

2011-03-17 Thread Eli Bendersky
Eli Bendersky added the comment: On Thu, Mar 17, 2011 at 12:46, Martin v. Löwis wrote: I opened this in order not to forget to look at the implementation of isdir on windows, making sure it's the most optimal thing we can do. If you know it is, the issue can be closed as far as I'm concerned.

[issue11583] os.path.isdir() is slow on windows

2011-03-17 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file21266/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue11584] email/header.py: missing str()ification, and bogus encode()s

2011-03-17 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso : My minimal failing test case dragged yet another EMAIL error to the light!!! Man, man, man - it's really great that QNX fund money so that you have the time to fix this broken thing! It's got washed away, but http://bugs.python.org/file21210/email_head

[issue11580] Add width and precision formatters to PyBytes_FromFormatV()

2011-03-17 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- assignee: -> haypo nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue1628484] Python 2.5 64 bit compile fails on Solaris 10/gcc 4.1.1

2011-03-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1676121] Problem linking to readline lib on x86(64) Solaris

2011-03-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1733484] Solaris 64 bit LD_LIBRARY_PATH_64 needs to be set

2011-03-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue847812] 64 bit solaris versus /usr/local/lib

2011-03-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1294959] Problems with /usr/lib64 builds.

2011-03-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1681333] email.header unicode fix

2011-03-17 Thread R. David Murray
R. David Murray added the comment: Yes, I can well understand that feeling. I've only relatively recently taken over maintaining the email package. I'm working my way through the old bug queue, and I can only deal with them in the context in which I find them. -- ___

[issue11584] email/header.py: missing str()ification, and bogus encode()s

2011-03-17 Thread R. David Murray
R. David Murray added the comment: I don't see a test case here, did you forget to attatch something? Also, in this: elf._msg[n] = email.header.make_header(email.header.decode_header(b)) unless 'b' is an ASCII-only string, it isn't going to work. -- ___

[issue11584] email/header.py: missing str()ification, and bogus encode()s

2011-03-17 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray stage: -> test needed type: -> behavior versions: +Python 3.2 ___ Python tracker ___ __

[issue11383] compilation seg faults on insanely large expressions

2011-03-17 Thread SilentGhost
SilentGhost added the comment: 100k is, apparently, not enough on my system (linux2). test_crashers now fails. Are any system-specific details needed? -- nosy: +SilentGhost ___ Python tracker

[issue11585] Documentation 1.8 shows Python 2 example

2011-03-17 Thread Clive Darke
New submission from Clive Darke : Python 3.2 version attached -- assignee: docs@python components: Documentation files: parrot.c messages: 131246 nosy: cdarke, docs@python priority: normal severity: normal status: open title: Documentation 1.8 shows Python 2 example versions: Python 3.1,

[issue11585] Documentation 1.8 shows Python 2 example

2011-03-17 Thread Clive Darke
Clive Darke added the comment: 1.8. Keyword Parameters for Extension Functions "Here is an example module which uses keywords, based on an example by Geoff Philbrick (philbr...@hks.com):" The example which follows will not compile on Python 3. --

[issue11383] compilation seg faults on insanely large expressions

2011-03-17 Thread SilentGhost
SilentGhost added the comment: 10**6 on the other hand seem to do the job -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11582] Boilerplate code replaced in Python/ceval.c

2011-03-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Hmm, this kind of macros make it difficult to step line by line in a debugger. From this point of view, an inlined function would be better, I'm not sure if this can have a performance impact though. -- nosy: +amaury.forgeotdarc ___

[issue10535] Enable warnings by default in unittest

2011-03-17 Thread Brian Curtin
Brian Curtin added the comment: I'm not seeing those warnings anymore, so I think the patch can be ignored. -- ___ Python tracker ___ ___

[issue11582] Boilerplate code replaced in Python/ceval.c

2011-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11586] Python/pythonrun.c: get_codec_name() typo

2011-03-17 Thread Ray.Allen
New submission from Ray.Allen : I guess there is a typo in the source of this function: Python/pythonrun.c: get_codec_name() diff -r 48970d754841 Python/pythonrun.c --- a/Python/pythonrun.cThu Mar 17 17:06:27 2011 +0800 +++ b/Python/pythonrun.cThu Mar 17 22:11:15 2011 +0800 @@ -

[issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"

2011-03-17 Thread Clive Darke
New submission from Clive Darke : In the PyMethodDef struct, METH_VARARGS | METH_KEYWORDS works fine. METH_KEYWORDS on its own gives: "SystemError: Bad call flags in PyCFunction_Call. METH_OLDARGS is no longer supported!" METH_KEYWORDS on its own tested OK on 2.6 and 2.7, fails as described on

[issue11586] Python/pythonrun.c: get_codec_name() typo

2011-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> haypo nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"

2011-03-17 Thread Ray.Allen
Ray.Allen added the comment: Looks like just the problem of error msg. -- nosy: +ysj.ray ___ Python tracker ___ ___ Python-bugs-list

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-17 Thread R. David Murray
R. David Murray added the comment: If the message contains 8bit bytes in a header, then getitem is going to return a Header object. decode_header does not operate on Header objects, as you have observed. Thinking about it some more, having decode_header operate on a Header and return its ch

[issue11505] string.py increased test coverage

2011-03-17 Thread Nick Coghlan
Nick Coghlan added the comment: Reopening to double check with Jerome's patch. -- resolution: fixed -> stage: committed/rejected -> commit review status: closed -> open ___ Python tracker

[issue11583] os.path.isdir() is slow on windows

2011-03-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ok. It's probably not the most optimal thing we can do. It opens the directory with CreateFileW (specifying OPEN_EXISTING and BACKUP_SEMANTICS), then GetFileInformationByHandle. If we only want to find out whether the file is a directory, we could just to Fi

[issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"

2011-03-17 Thread Clive Darke
Clive Darke added the comment: Same error on 3.2 with Windows MSC v.1500 and Linux gcc version 4.1.2 -- ___ Python tracker ___ ___ Py

[issue11577] testcase for exception binhex.Error

2011-03-17 Thread Nick Coghlan
Nick Coghlan added the comment: This is fixed on default as well, I just stuffed the merge so the history looks odd and the integration script didn't pick it up. You can see the additional changes I made in the linked changeset: - try/except with a flag to clean up implicitly created file obje

[issue11583] os.path.isdir() is slow on windows

2011-03-17 Thread Brian Curtin
Brian Curtin added the comment: I made a bunch of the stat changes in 3.2 so I'll assign this to myself and take a look. -- assignee: -> brian.curtin stage: -> needs patch ___ Python tracker ___

[issue4492] httplib code thinks it closes connection, but does not

2011-03-17 Thread Ray.Allen
Changes by Ray.Allen : -- nosy: +ysj.ray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue1681333] email.header unicode fix

2011-03-17 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Sadly, I agree with RDM. There are too many workarounds in the field for this bug so it can really only be fixed in email6. -- ___ Python tracker

[issue11588] Add "necessarily inclusive" groups to argparse

2011-03-17 Thread John Didion
New submission from John Didion : Just as some options are mutually exclusive, there are others that are "necessarily inclusive," i.e. all or nothing. I propose the addition of ArgumentParser.add_necessarily_inclusive_group(required=True). This also means that argparse will need to support nes

[issue11589] Unit test extensions for email module

2011-03-17 Thread Michael Henry
New submission from Michael Henry : The attached patch includes additional unit tests for the email module, and splits pre-existing test_header_encode() and test_decode() functions into individual test functions. -- components: Library (Lib) files: test_email_additional_tests.patch keywo

[issue11588] Add "necessarily inclusive" groups to argparse

2011-03-17 Thread SilentGhost
Changes by SilentGhost : -- nosy: +bethard ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue4114] struct returns incorrect 4 byte float

2011-03-17 Thread Robert Withrow
Robert Withrow added the comment: Martin: in C I have the luxury of using 32 bit floats; not an option in Python. Simple code doing the moral equivalent of NTOHL(HTONL()) works in this case for C but wouldn't help for Python. Mark: I understand about the precision truncation issue and how Py

[issue11590] email quoprimime.py patch for header_encode of empty string, decode with different eol

2011-03-17 Thread Michael Henry
New submission from Michael Henry : The attached patch adds unit tests and some minor fixes for the email module's quoprimime.py file. The header_encode() function did not properly return an empty string when given an empty string. The decode() function did not properly detect the input string'

[issue4114] struct returns incorrect 4 byte float

2011-03-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin: in C I have the luxury of using 32 bit floats; not an option > in Python. Simple code doing the moral equivalent of NTOHL(HTONL()) > works in this case for C but wouldn't help for Python. If you agree that Python actually behaves correct, I fail to

[issue10979] setUpClass exception causes explosion with "-b"

2011-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset d6abdd78d2af by Michael Foord in branch '2.7': Issue #10979. unittest stdout buffering now works for class and module fixtures. http://hg.python.org/cpython/rev/d6abdd78d2af -- nosy: +python-dev ___ Pyth

[issue11581] buildbot error when pushing to 2.5 branch?

2011-03-17 Thread Skip Montanaro
Skip Montanaro added the comment: Should you be pushing anything to 2.5? -- nosy: +skip.montanaro ___ Python tracker ___ ___ Python-b

[issue11579] python 2.5 does not build from hg - looks for subversion keywords

2011-03-17 Thread Skip Montanaro
Skip Montanaro added the comment: See Issue 11439. -- nosy: +skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-17 Thread Thomas Wouters
Thomas Wouters added the comment: New version of the patch; instead of triggering at attribute *access*, this just checks when creating types and in type_setattro. It also makes the warning a newly added CompatibilityWarning. Also, instead of warning for all non-descriptors, it now only warns

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-17 Thread Thomas Wouters
Changes by Thomas Wouters : Removed file: http://bugs.python.org/file21088/nonmethod-warn-nongit.diff ___ Python tracker ___ ___ Python-bugs-l

[issue10979] setUpClass exception causes explosion with "-b"

2011-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f7036ea0930 by Michael Foord in branch '3.2': Issue #10979. unittest stdout buffering now works with class and module setup and teardown. http://hg.python.org/cpython/rev/0f7036ea0930 -- ___ Python tra

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-03-17 Thread Andreas Stührk
Changes by Andreas Stührk : Removed file: http://bugs.python.org/file21140/issue_11506.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue11506] b'' += gives SystemError instead of SyntaxError

2011-03-17 Thread Andreas Stührk
Andreas Stührk added the comment: Added a test. Perhaps that should be done for other literals as well? -- Added file: http://bugs.python.org/file21272/issue_11506.patch ___ Python tracker

[issue4114] struct returns incorrect 4 byte float

2011-03-17 Thread Robert Withrow
Robert Withrow added the comment: > If you agree that Python actually behaves correct, I fail to > understand what it is that you disagree with in msg131195 I don't agree that Python is behaving correctly as far as the documented contract for struct is concerned. I disagree with the statement

[issue10979] setUpClass exception causes explosion with "-b"

2011-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c09ba72136e by Michael Foord in branch 'default': Closes issue 10979. unittest buffering now works with class and module setup and teardown http://hg.python.org/cpython/rev/9c09ba72136e -- resolution: -> fixed stage: -> committed/reject

[issue11583] os.path.isdir() is slow on windows

2011-03-17 Thread Daniel Stutzbach
Changes by Daniel Stutzbach : -- nosy: +stutzbach ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10812] Add some posix functions

2011-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 525320df8afb by Ross Lagerwall in branch 'default': Issue #10812: Add some extra posix functions to the os module. http://hg.python.org/cpython/rev/525320df8afb -- nosy: +python-dev ___ Python tracker <

[issue4114] struct returns incorrect 4 byte float

2011-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: The suggested examples are misleading because they use 6.24 which is not exactly representable in binary floating point. Representation issues are orthogonal to the OP's issue which is really just a simple rounding example: >>> x = float.fromhex('0x0.1234

[issue10812] Add some posix functions

2011-03-17 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- assignee: -> rosslagerwall resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-17 Thread Jeff McNeil
Jeff McNeil added the comment: So, it turned out to be more complicated than that. The HTTPConnection object returns an HTTPResponse, but never closes the underlying socket after calling makesock. Since persistent connections aren't supported, nothing actually closes the socket itself, it

[issue4114] struct returns incorrect 4 byte float

2011-03-17 Thread Robert Withrow
Robert Withrow added the comment: > it needs to be worded in a way that doesn't > imply that the struct implementation is broken or misdesigned. Agree. > A better note would focus on the basic (and obvious) > fact that downgrading from double precision to single > precision entails a loss of

[issue5421] Irritating error message by socket's sendto method

2011-03-17 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: ping? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2011-03-17 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: up! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

2011-03-17 Thread Carl Meyer
New submission from Carl Meyer : If python is run with the -S flag, that declares the intent of the user to not have site-specific additions to sys.path. However, some code in that process may have a legitimate need for a function defined in site.py - for instance, addsitedir. But the act of i

[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

2011-03-17 Thread Carl Meyer
Changes by Carl Meyer : -- keywords: +patch Added file: http://bugs.python.org/file21274/87df1d37c88e.diff ___ Python tracker ___ ___

[issue10812] Add some posix functions

2011-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8945e087a5a6 by Ross Lagerwall in branch 'default': Issue #10812: Revert os.lseek change. http://hg.python.org/cpython/rev/8945e087a5a6 -- ___ Python tracker

[issue11582] Boilerplate code replaced in Python/ceval.c

2011-03-17 Thread knickerkicker
knickerkicker added the comment: Creating a inline function would require passing the stackpointer variable so that the TOP() and POP() macros continue working, and creating variables for u, v and x. I am not sure if that will not have a performance impact - ideally it shouldn't, but can we tr

[issue5421] Irritating error message by socket's sendto method

2011-03-17 Thread Matt Joiner
Matt Joiner added the comment: This bug is very misleading in Py3, as the TypeError makes one think that a string is being passed rather than bytes (how else do you get a 2 argument function call wrong?). Very difficult to determine that this is not in fact the bug in a dynamically typed lang

[issue11582] Boilerplate code replaced in Python/ceval.c

2011-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 I think this will make the code harder to understand and maintain. -- nosy: +rhettinger ___ Python tracker ___ _

[issue11582] Boilerplate code replaced in Python/ceval.c

2011-03-17 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low versions: -Python 3.1, Python 3.2, Python 3.4 ___ Python tracker ___ ___ Py

[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

2011-03-17 Thread Éric Araujo
Éric Araujo added the comment: Thanks. Would you mind adding tests in test_site? -- nosy: +eric.araujo versions: +Python 3.3 ___ Python tracker ___

[issue11592] Compilation warnings in os module

2011-03-17 Thread Antoine Pitrou
New submission from Antoine Pitrou : Under Linux: ./Modules/posixmodule.c: In function ‘posix_readv’: ./Modules/posixmodule.c:6239: attention : implicit declaration of function ‘readv’ ./Modules/posixmodule.c: In function ‘posix_writev’: ./Modules/posixmodule.c:6583: attention : implicit declar

[issue5421] Irritating error message by socket's sendto method

2011-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset c61b72b0650d by Antoine Pitrou in branch '3.1': Issue #5421: Fix misleading error message when one of socket.sendto()'s http://hg.python.org/cpython/rev/c61b72b0650d New changeset 2af7a6d765fd by Antoine Pitrou in branch '3.2': Issue #5421: merge f

[issue5421] Irritating error message by socket's sendto method

2011-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for the patch! This is now fixed in 3.x. -- nosy: +pitrou resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: +Python 3.2, Python 3.3 ___ Python tracker

[issue11574] Unicode Fallback Encoding on Python 3.3

2011-03-17 Thread STINNER Victor
STINNER Victor added the comment: In my experience (PYTHONFSENCODING, sys.setfilesystemencoding()): Python should just use the same encoding than the locale encoding because *all* other programs on the system use the locale encoding. If none of LANG, LC_ALL or LC_CTYPE env var is set: Python

[issue11573] Improve Unicode Documentation with Known Caveats

2011-03-17 Thread STINNER Victor
STINNER Victor added the comment: Can you provide a patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sridhar: I'm sorry, but at this point you should investigate a bit more into the actual causes of the problem. I'm not going to dig in virtualenv myself. Also, since there's already #10743 for the virtualenv issue, perhaps further virtualenv-related comments

[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, Palm's example even segfaults here: Program received signal SIGSEGV, Segmentation fault. 0x772452bc in free () from /lib64/libc.so.6 (gdb) bt #0 0x772452bc in free () from /lib64/libc.so.6 #1 0x0042a591 in Py_SetPath ( path=0x8

[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

2011-03-17 Thread Carl Meyer
Carl Meyer added the comment: Adding a test is easier said than done. The behavior change here depends on python being run with -S. Currently test_site skips itself if the test suite is run with -S, and if I remove that skip it crashes under -S. Options as I see it: 1. Declare this one-liner

[issue10914] Python sub-interpreter test

2011-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset a791dd7d51f3 by Antoine Pitrou in branch '3.2': Issue #10914: fix bogus memory management in Modules/getpath.c, leading to a possible crash when calling Py_SetPath() http://hg.python.org/cpython/rev/a791dd7d51f3 -- nosy: +python-dev _

[issue10914] Python sub-interpreter test

2011-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ouch, sorry, I got my commit message wrong. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Crash fixed in a791dd7d51f3 (3.2) and b4104ffd5127 (3.3), but the original problem remains, or a variant of it. I now get: Init Fatal Python error: Py_Initialize: Unable to get the locale encoding LookupError: no codec search functions registered: can't find e

[issue11581] buildbot error when pushing to 2.5 branch?

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Thu, Mar 17, 2011 at 05:15:09PM +, Skip Montanaro wrote: > Should you be pushing anything to 2.5? I think, there is a security release planned in 2011. Also, see issue11442 which was the specific case for pushing to 2.5. -- __

[issue11579] python 2.5 does not build from hg - looks for subversion keywords

2011-03-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Thu, Mar 17, 2011 at 05:16:43PM +, Skip Montanaro wrote: > See Issue 11439. Yes, that is relevant and applies probably to code in default and other branches. Just in case, this corner case in 2.5 does not overlooked (because it does not happen in other

[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-17 Thread Éric Araujo
Éric Araujo added the comment: Some code is removed by your patch, for example a check that prevented an error for builds that don’t include complex. If this type of builds still exist, the code should be compatible. Conversely, the code mentions unicode in some places, but it’s gone now. -

[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, the issue here is that you can't call Py_SetPath() on the point returned by Py_GetPath(), since the memory refered to that pointer is free()d at the beginning of Py_SetPath(). The following works, though: main(int argc, char **argv) { wchar_t *path, *ne

[issue11320] Can't call Py_SetPath() on pointer returned by Py_GetPath()

2011-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: high -> normal title: Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony)) -> Can't call Py_SetPath() on pointer returned by Py_GetPath() type: crash -> behavior ___ Python tracker

[issue10914] Python sub-interpreter test

2011-03-17 Thread Éric Araujo
Éric Araujo added the comment: distutils sure knows how to build .o or .so files, but I don’t know about standalone executables (because I don’t know how the .o end up making an executable). If you want to try to do it, I would advise you not to use the config command but rather a compiler o

[issue11573] Improve Unicode Documentation with Known Caveats

2011-03-17 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> docs@python components: +Documentation nosy: +docs@python versions: -Python 3.4 ___ Python tracker ___

[issue11553] Docs for: import, packages, site.py, .pth files

2011-03-17 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +brett.cannon, eric.araujo, ncoghlan, pje versions: +Python 2.7 ___ Python tracker ___ ___ Python-bu

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2011-03-17 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +haypo -BreamoreBoy versions: +Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-b

[issue11588] Add "necessarily inclusive" groups to argparse

2011-03-17 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 3.3 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

  1   2   >