[issue11908] Weird `slice.stop or sys.maxint`

2011-04-25 Thread ysj.ray
ysj.ray added the comment: `step` argument for xrange() could not be 0. But `s.stop or sys.maxint` is really a problem, in the case of `s.stop == 0`. So the given `Equivalent to` python code in the doc is not precisely equivalent to the c implementation. The doc needs a fix. -- nosy:

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

2011-04-25 Thread Nils Breunese
Nils Breunese added the comment: I contacted the author of iotop and he told me iotop does not use mprotect (but it does use dlopen). Guess I'll have to do some more digging to find what is exactly doing the call to mprotect. -- ___ Python tracker

[issue11908] Weird `slice.stop or sys.maxint`

2011-04-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: I've got from here. Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue11849] glibc allocator doesn't release all free()ed memory

2011-04-25 Thread kaifeng
kaifeng added the comment: Sorry for the later update. Valgrind shows there is no memory leak (see attached valgrind.log). The following code, while True: XML(gen_xml()) has an increasing memory usage in the first 5~8 iterations, and waves around a constant level afterwards. So I

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-25 Thread ysj.ray
ysj.ray added the comment: Guess the problem is with time.mktime() and time.localtime(). Could you debug into the Internaldate2Tuple() function and see at which step the time value(a time_struct or a float which represents seconds) is wrong? -- nosy: +ysj.ray ___

[issue11662] Redirect vulnerability in urllib/urllib2

2011-04-25 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.

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2011-04-25 Thread Jonathan Hartley
Changes by Jonathan Hartley : -- nosy: +jonathan.hartley ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue11917] Test Error

2011-04-25 Thread Hamid
New submission from Hamid : == CPython 3.2 (r32:88445, Apr 24 2011, 14:27:42) [GCC 4.4.4 20100726 (Red Hat 4.4.4-13)] == Linux-2.6.32-71.el6.x86_64-x86_64-with-redhat-6.0-Santiago little-endian == /usr/local/src/Python-3.2/build/test_python_2976 Testing with flags: sys.flags(debug=0, divisio

[issue11856] Optimize parsing of JSON numbers

2011-04-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Patch seems OK. Please, commit. -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11877] Change os.fsync() to support physical backing store syncs

2011-04-25 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: I'll attach 11877.4.diff: - Docu change (i hope to be better) - Kept NetBSD after looking into http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/vfs_syscalls.c?rev=1.423&content-type=text/x-cvsweb-markup&only_with_tag=MAIN because fsync_range() wi

[issue11917] Test Error

2011-04-25 Thread Hamid
Changes by Hamid : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11849] glibc allocator doesn't release all free()ed memory

2011-04-25 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > The MALLOC_MMAP_THRESHOLD improvement is less visible here: > Are you running on 64-bit ? If yes, it could be that you're exhausting M_MMAP_MAX (malloc falls back to brk when there are too many mmap mappings). You could try with MALLOC_MMAP_THRESHOLD

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: > Correctly merging #9319 into 3.3? No, this issue was fixed differently in Python 3.3. I see that you reverted (bb62908896fe) this merge (except the test, which is a good idea). -- ___ Python tracker

[issue11882] test_imaplib failed on x86 ubuntu

2011-04-25 Thread R. David Murray
R. David Murray added the comment: Yeah, I looked at the source of calendar.gmtime, and it turns out it ignores the isdst flag, which it also seems should be irrelevant anyway, looking at the test code again. I tried setting my /etc/localtime to /usr/share/zoneinfo/posix/Asia/Calcutta, which

[issue11917] Test Error

2011-04-25 Thread R. David Murray
R. David Murray added the comment: For the record: yes this is the way regrtest works when a test named on the command line doesn't exist. Not pretty, I'll grant you. Maybe someone will propose a patch/feature request to improve the error message some day. -- nosy: +r.david.murray re

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

2011-04-25 Thread STINNER Victor
New submission from STINNER Victor : Because we don't have any OS/2 and VMS maintainer for Python 3, I propose to drop OS/2 and VMS support in Python 3.3: OSes unsupported in 3.3, code removed in 3.4 (see the PEP 11 for the process). -- components: Interpreter Core messages: 134384 nos

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Is this still a problem for people? Ubuntu 11.04's python2.7 has been fixed: @neurotica[~:1000]% type python2.7 python2.7 is /usr/bin/python2.7 @neurotica[~:1001]% python2.7 -c 'from _multiprocessing import SemLock' @neurotica[~:1002]% The Launchpad bug for

[issue10616] Change PyObject_AsCharBuffer() error message

2011-04-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 to Victor's proposal ("expected bytes, bytearray or buffer compatible object"). -- nosy: +pitrou ___ Python tracker ___ ___

[issue11919] test_imp failures

2011-04-25 Thread Antoine Pitrou
New submission from Antoine Pitrou : http://www.python.org/dev/buildbot/all/builders/AMD64%20Leopard%203.2/builds/215/steps/test/logs/stdio http://www.python.org/dev/buildbot/all/builders/AMD64%20Leopard%203.x/builds/1223/steps/test/logs/stdio

[issue11849] glibc allocator doesn't release all free()ed memory

2011-04-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > The MALLOC_MMAP_THRESHOLD improvement is less visible here: > > > > Are you running on 64-bit ? Yes. > If yes, it could be that you're exhausting M_MMAP_MAX (malloc falls > back to brk when there are too many mmap mappings). > You could try with > MALLOC_

[issue11917] Test Error

2011-04-25 Thread Hamid
Hamid added the comment: Dear sir; I will try to compile python-3.2 in REDHAT EL 6.0. There are a lot of failure in "make test". How can I fix them? for example test_import, test_httpserver, Thanks Abbaszadeh On Mon, Apr 25, 2011 at 6:36 PM, R. David Murray wrote: > > R. David Murray

[issue10616] Change PyObject_AsCharBuffer() error message

2011-04-25 Thread Sijin Joseph
Sijin Joseph added the comment: Looking at object.h the buffer interface is defined as /* buffer interface */ typedef struct bufferinfo { void *buf; PyObject *obj;/* owned reference */ Py_ssize_t len; Py_ssize_t itemsize; /* This is Py_ssize_t so it can be

[issue11917] Test Error

2011-04-25 Thread R. David Murray
R. David Murray added the comment: Your best resources would probably be the python mailing list (python-list, see http://mail.python.org) which is also comp.lang.python, or the #python irc channel on freenode. -- ___ Python tracker

[issue11849] glibc allocator doesn't release all free()ed memory

2011-04-25 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > It isn't better. Requests above 256B are directly handled by malloc, so MALLOC_MMAP_THRESHOLD_ should in fact be set to 256 (with 1024 I guess that on 64-bit every mid-sized dictionnary gets allocated with brk). -- ___

[issue11920] ctypes: Strange bitfield structure sizing issue

2011-04-25 Thread Steve Thompson
New submission from Steve Thompson : Consider the following: import ctypes class struct1( ctypes.Structure ): _pack_ = 1 _fields_ = [ ( "first", ctypes.c_uint8, 1 ), ( "second", ctypes.c_uint8, 1 ), ( "third", ctypes.c_ui

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

2011-04-25 Thread dholth
New submission from dholth : It might be useful to be able to declare optional Extensions that for example won't attempt to compile on Jython or any implementation of Python for which the extension (a) doesn't work or (b) would be slower than the Python fallback. I suppose this could be accomp

[issue2736] datetime needs an "epoch" method

2011-04-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset b55eac85e39c by Alexander Belopolsky in branch 'default': Issue #2736: Documented how to compute seconds since epoch. http://hg.python.org/cpython/rev/b55eac85e39c -- nosy: +python-dev ___ Python tracker

[issue2736] datetime needs an "epoch" method

2011-04-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- components: +Documentation -Library (Lib) resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___

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

2011-04-25 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.

[issue11856] Optimize parsing of JSON numbers

2011-04-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset d60f9d9983bb by Antoine Pitrou in branch 'default': Issue #11856: Speed up parsing of JSON numbers. http://hg.python.org/cpython/rev/d60f9d9983bb -- nosy: +python-dev ___ Python tracker

[issue11856] Optimize parsing of JSON numbers

2011-04-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

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

2011-04-25 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11834] wrong module installation dir on Windows

2011-04-25 Thread Bryce Verdier
Bryce Verdier added the comment: Here is a patch for the documentation. I'm not quite sure about the scripts and data part. Tested with Paramiko and a new install of 2.7 to see what would happen and that was the result. -- keywords: +patch nosy: +louiscipher Added file: http://bugs.py

[issue11922] Add General Index to Windows .chm help file Contents

2011-04-25 Thread Terry J. Reedy
New submission from Terry J. Reedy : The Windows distribution comes with the docs in a very nice Windows help file .chm form. When displayed, they is a left side bar with a Contents tab. The top entry is 'Python vx.y documentation' followed by 'Python Module Index' and 'What's New in Python' a

[issue11901] Docs for sys.hexversion should give the algorithm

2011-04-25 Thread Sijin Joseph
Sijin Joseph added the comment: Patch attached. -- keywords: +patch nosy: +sijinjoseph Added file: http://bugs.python.org/file21774/11901.patch ___ Python tracker ___ __

[issue11901] Docs for sys.hexversion should give the algorithm

2011-04-25 Thread Sijin Joseph
Changes by Sijin Joseph : Removed file: http://bugs.python.org/file21774/11901.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11901] Docs for sys.hexversion should give the algorithm

2011-04-25 Thread Sijin Joseph
Sijin Joseph added the comment: Fixed minor typo. -- Added file: http://bugs.python.org/file21775/11901.patch ___ Python tracker ___

[issue11908] Weird `slice.stop or sys.maxint`

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

[issue11920] ctypes: Strange bitfield structure sizing issue

2011-04-25 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker ___ ___

[issue11846] Remove non-guaranteed implementation details from docs.

2011-04-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The range of interned ints was once much smaller, but it was expanded upwards to 256 so that the bytes extracted from bytes and bytearray objects, as when indexing or iterating, would *all* be pre-allocated objects. I should presume that their indexers and it

[issue11920] ctypes: Strange bitfield structure sizing issue

2011-04-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The output is: "3 2" on windows. It is "2 2" on the linux 64bit I tried. This is consistent with what the usual compilers do on these platforms: MSVC on windows, and gcc on linux. The specification of the C language specifies that """If an adjacent bitfi

[issue11849] glibc allocator doesn't release all free()ed memory

2011-04-25 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1346874] httplib simply ignores CONTINUE

2011-04-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Carl, anyone is free to submit an incomplete patch, and people often do, but if people who are affected by an issue do not think it worth their time to complete it, or even move it along, there is no reason to expect people who are not affected by it to think

[issue10914] Python sub-interpreter test

2011-04-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset d195ff5c44f4 by Antoine Pitrou in branch '3.2': Issue #10914: Add a minimal embedding test to test_capi. http://hg.python.org/cpython/rev/d195ff5c44f4 New changeset 77cf9e4b144b by Antoine Pitrou in branch '3.2': Issue #10914: add NEWS item. http:/

[issue10914] Python sub-interpreter test

2011-04-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should be fixed. -- resolution: -> fixed stage: -> committed/rejected status: open -> pending ___ Python tracker ___

[issue1943] improved allocation of PyUnicode objects

2011-04-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I just found that the extension zope.i18nmessageid: http://pypi.python.org/pypi/zope.i18nmessageid subclasses unicode at the C level: http://svn.zope.org/zope.i18nmessageid/trunk/src/zope/i18nmessageid/_zope_i18nmessageid_message.c?rev=120914&view=markup

[issue11919] test_imp failures

2011-04-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2f2c7eb27437 by Antoine Pitrou in branch '3.2': Issue #11919: try to fix test_imp failure on some buildbots. http://hg.python.org/cpython/rev/2f2c7eb27437 -- nosy: +python-dev ___ Python tracker

[issue11919] test_imp failures

2011-04-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0c70c24750fd by Antoine Pitrou in branch 'default': Issue #11919: try to fix test_imp failure on some buildbots. http://hg.python.org/cpython/rev/0c70c24750fd -- ___ Python tracker

[issue11920] ctypes: Strange bitfield structure sizing issue

2011-04-25 Thread Santoso Wijaya
Santoso Wijaya added the comment: What compilers were used to build your Python distro and the native structure? I found out in _ctypes/cfield.c (lns. 76-95): if (bitsize /* this is a bitfield request */ && *pfield_size /* we have a bitfield open */ #ifdef MS_WIN32 /* MSVC,

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

2011-04-25 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11923] gcc: unrecognized option '-n32'

2011-04-25 Thread Paul Griffith
New submission from Paul Griffith : In compiling Python 2.7.1 on RHEL I run into the following error message when running make. gcc: unrecognized option '-n32' gcc -pthread -n32 -Xlinker -export-dynamic -o python \ Modules/python.o \ -L. -lpython

[issue11901] Docs for sys.hexversion should give the algorithm

2011-04-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 48758cd0769b by R David Murray in branch '2.7': #11901: add description of how bitfields are laid out to hexversion docs http://hg.python.org/cpython/rev/48758cd0769b New changeset b84384fbdbf0 by R David Murray in branch '3.1': #11901: add descrip

[issue11901] Docs for sys.hexversion should give the algorithm

2011-04-25 Thread R. David Murray
R. David Murray added the comment: Thanks! I tidied up the ReST formatting a bit and changed the bit numbering to the more standard left to right order (standard for bit fields...I realize hexversion is a number, but conceptually one deals with it as a bit field). -- resolution: ->

[issue11919] test_imp failures

2011-04-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue10914] Python sub-interpreter test

2011-04-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: There's a failure on certain locales that Victor, I believe, is currently investigating. -- status: pending -> open ___ Python tracker ___ ___

[issue11920] ctypes: Strange bitfield structure sizing issue

2011-04-25 Thread Steve Thompson
Steve Thompson added the comment: So, knowing there's a potential cross platform inconsistency here, is there a proposed way to deal with this that doesn't involve modifying the real c code I'm interfacing with? That's not always an option. On Mon, Apr 25, 2011 at 2:49 PM, Santoso Wijaya wrote

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

2011-04-25 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > So, if it is possible to fix this and remove this weird special case and cast > it into the abyss, then by all means, you have my 10 thumbs up. Not that it > counts for much :) Me too. We still have a couple hundred RHEL4/5 boxes at work, and I gu

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

2011-04-25 Thread Jesús Cea Avión
New submission from Jesús Cea Avión : Python 3.2 here. "copyreg" module documentation says "See the pickle module for more details on the interface expected of function and constructor.", but I don't see any useful "copyreg" reference in pickle documentation. Some examples would be useful her

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

2011-04-25 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- title: Pickle and copyreg modules doesn't document the interface -> Pickle and copyreg modules don't document the interface ___ Python tracker __

[issue10914] Python sub-interpreter test

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: Modules/_testembed fails with ISO-8859-15 locale encoding because of a bootstrap issue. The problem is that the filesystem encoding codec is implemented in Python: Python requires the codec to loads modules, but it has to load a module to load the codec. I al

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

2011-04-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I think that if we were to call PyThread_set_key_value twice on the > same key it's either an error, or we want the last version to be > stored, not the old one. Not necessarily. You can have several interpreters (and therefore several thread states) in a si

[issue8808] imaplib should support SSL contexts

2011-04-25 Thread Sijin Joseph
Sijin Joseph added the comment: Is anyone working on this? -- nosy: +sijinjoseph ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8808] imaplib should support SSL contexts

2011-04-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Is anyone working on this? I don't think so, you could try if you are interested. -- ___ Python tracker ___ _

[issue10914] Python sub-interpreter test

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: > I think that Python used interp->codecs_initialized flag Yes in PyUnicode_AsEncodedString(), in Python 3.0 and 3.1. Python 3.2 has also the test, but PyUnicode_AsEncodedString() is no more used to encode filenames. I removed the test in Python 3.3. Extract

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

2011-04-25 Thread Sijin Joseph
Sijin Joseph added the comment: I was not able to reproduce this on Python 2.7 x64 or Python 3.2 x64 on Win 7 SP1. I am curious what the output is if you just run test.py, do you still get an error? -- nosy: +sijinjoseph ___ Python tracker

[issue10914] Python sub-interpreter test

2011-04-25 Thread Graham Dumpleton
Graham Dumpleton added the comment: Hmmm, I wander if that is related to the workaround I have added in mod_wsgi recently of: /* * Force loading of codecs into interpreter. This has to be * done as not otherwise done in sub interpreters and if not * done, code running in sub

[issue9035] os.path.ismount on windows doesn't support windows mount points

2011-04-25 Thread Sijin Joseph
Changes by Sijin Joseph : -- nosy: +sijinjoseph ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11923] gcc: unrecognized option '-n32'

2011-04-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you check CFLAGS and friends? Also, attach of output of "configure"? -- nosy: +dmalcolm, pitrou ___ Python tracker ___

[issue11893] Obsolete SSLFakeFile in smtplib?

2011-04-25 Thread Sijin Joseph
Changes by Sijin Joseph : -- nosy: +sijinjoseph ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11923] gcc: unrecognized option '-n32'

2011-04-25 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.

[issue10914] Python sub-interpreter test

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: > The problem is the test on the "python initialization": > PyUnicode_EncodeFSDefault / PyUnicode_DecodeFSDefaultAndSize > check the global Py_FileSystemDefaultEncoding variable (use > C functions if it is NULL). The problem is a little bit more complex. interp

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

2011-04-25 Thread Michal Molhanec
Michal Molhanec added the comment: Running it without redirecting output, like c:\p\test.py works OK -- ___ Python tracker ___ ___ Pyt

[issue11888] Add C99's log2() function to the math library

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: > The main issue is that we'd have to provide (and maintain) our own > implementation of log2 for Windows (and other OSs that don't have all > the C99 support. Solaris?) Can't we simply use (approximation to 1/log(2)) * log(x)? Is it worse than reimplementing

[issue11888] Add C99's log2() function to the math library

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: > Can't we simply use (approximation to 1/log(2)) * log(x)? > Is it worse than reimplementing it using log(x)/log(2) in Python? Hum. With a x86 and the right compiler optimization level, log(x)/log(2) in C can be more accurate than log(x)/log(2) in Python, bec

[issue11915] test_ctypes hangs in sandbox

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: I reported the bug on Gentoo bug tracker: http://bugs.gentoo.org/show_bug.cgi?id=364877 -- ___ Python tracker ___ _

[issue11925] test_ttk_guionly.test_traversal() failed on "x86 Windows7 3.x"

2011-04-25 Thread STINNER Victor
New submission from STINNER Victor : test_ttk_guionly.test_traversal() failed on "x86 Windows7 3.x": --- [120/354] test_ttk_guionly test test_ttk_guionly failed -- Traceback (most recent call last): File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\tkinter\test\test_

[issue11925] test_ttk_guionly.test_traversal() failed on "x86 Windows7 3.x"

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: Code of the test: - class NotebookTest(unittest.TestCase): def setUp(self): support.root_deiconify() self.nb = ttk.Notebook(padding=0) self.child1 = ttk.Label() self.child2 = ttk.Label(

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

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: @loewis: Would you like to review the patch? You wrote on python-dev: "For OS/2, I propose to syntactically break the makefile" and "For VMS, I *think* the build process is configure-based (but I may misremember); if so, adding an exit into configure.in would

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

2011-04-25 Thread STINNER Victor
STINNER Victor added the comment: Oh, I just realized that the PEP 11 doesn't ask to mention unsupported OSes in the What's new document. New patch to mention that OS/2 and VMS are no more supported. -- Added file: http://bugs.python.org/file21780/unsupport_os2_vms-2.patch __

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

2011-04-25 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file21779/unsupport_os2_vms.patch ___ Python tracker ___ ___ Python-bugs-list

[issue9035] os.path.ismount on windows doesn't support windows mount points

2011-04-25 Thread Sijin Joseph
Sijin Joseph added the comment: I'd like to add the win_ismount function mentioned by Tim. Is anyone else working on this presently? -- ___ Python tracker ___ __

[issue9035] os.path.ismount on windows doesn't support windows mount points

2011-04-25 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2011-04-25 Thread STINNER Victor
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 API to be public, so it should be > _PyThread_GetInfo(). Why should it be private in C, but not in Python? Wh

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

2011-04-25 Thread Carl M. Johnson
New submission from Carl M. Johnson : In Python 3.2, help("keywords") returns the following: Here is a list of the Python keywords. Enter any keyword to get more help. and elifimport raise as elsein

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

2011-04-25 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2011-04-25 Thread Ezio Melotti
Ezio Melotti added the comment: True, False and None are also included in keyword.kwlist: >>> keyword.kwlist ['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'l

[issue6780] startswith error message is incomplete

2011-04-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ceeccbc2c3b by Ezio Melotti in branch '2.7': #6780: fix starts/endswith error message to mention that tuples are accepted too. http://hg.python.org/cpython/rev/3ceeccbc2c3b New changeset bcbf8c3c4a88 by Ezio Melotti in branch '3.1': #6780: fix st

[issue6780] startswith error message is incomplete

2011-04-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: patch review -> status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue8809] smtplib should support SSL contexts

2011-04-25 Thread Kasun Herath
Kasun Herath added the comment: I did another patch based on feedback given. A test for SMTP_SSL wasn't added; will look into it later. Tab character that were present are removed. Also SSLContext support was added to starttls() but it is slightly different from the starttls() implementation

[issue11925] test_ttk_guionly.test_traversal() failed on "x86 Windows7 3.x"

2011-04-25 Thread Ned Deily
Ned Deily added the comment: Might be a duplicate of Issue10736. -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mail

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

2011-04-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch looks fine; please add a reference to PEP 11 into the error messages, though (so that people can find out that they can volunteer to maintain it). -- resolution: -> accepted ___ Python tracker

[issue11682] PEP 380 reference implementation for 3.3

2011-04-25 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +Yury.Selivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2011-04-25 Thread Stefan Krah
Stefan Krah added the comment: I wrote to the maintainer of vmspython, and he said this: "Python on VMS is actively maintained, for example you can take a look at http://www.vmspython.org/ and http://www.vmspython.org/History Our plan are to port, this year 2.7, then 3.x." So the vmspython pr