[issue3812] py3k build fails if configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11430/py3k_workaround.patch ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3812] py3k build fails if configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, I removed workaround patch. It was not simply working.:-( ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3705] py3k fails under Windows if "-c" or "-m" is given a non-ascii value

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Applied both patches as r66331. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> _

[issue3806] LockTests in test_imp should be skipped when thread is not available

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks. Fixed in r66319(trunk) and r66334(py3k). ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3806] LockTests in test_imp should be skipped when thread is not available

2008-09-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3705] py3k fails under Windows if "-c" or "-m" is given a non-ascii value

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Unfortunately, my patch does not work: see the compile warnings in "main.c": http://www.python.org/dev/buildbot/3.0/x86%20osx.5%203.0/builds/344/step-compile/0 I reverted the change, and will try something else... -- resolution

[issue3777] long(4.2) now returns an int

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Applied as r66332 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mai

[issue3634] invalid result value of _weakref.__init__()

2008-09-09 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Add a test to check to regression. Added file: http://bugs.python.org/file11431/weakref_test.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue1516] make _ctypes work with non-gcc compilers

2008-09-09 Thread Marbod Mueller
Changes by Marbod Mueller <[EMAIL PROTECTED]>: -- nosy: +mmueller ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailin

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: On cygwin, py3k aborts if lanches it via symbolic link. message beg / Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] F

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11433/py3k_getpath_v2.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1544339] _ctypes fails to build on Solaris x86 32-bit (Sun compiler)

2008-09-09 Thread Marbod Mueller
Changes by Marbod Mueller <[EMAIL PROTECTED]>: -- nosy: +mmueller ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mai

[issue516762] have a way to search backwards for re

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Why not? I needed such a feature some time ago. But if possible, it should be a keyword argument: re.search(..., backwards=True) similar to list.sort(reverse=True) -- nosy: +amaury.forgeotdarc __

[issue3634] invalid result value of _weakref.__init__()

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I think the test should check that TypeError is actually raised: self.assertRaises(TypeError, r.__init__, 0, 0, 0, 0, 0) It's even shorter than the try/except block... -- nosy: +amaury.forgeotdarc

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-09-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-09-08 23:45, Benjamin Peterson wrote: > Benjamin Peterson <[EMAIL PROTECTED]> added the comment: > > Does this need to be merged into py3k? If so, can someone who handled > this bug do it. I met a few test failures in my attempt..

[issue3634] invalid result value of _weakref.__init__()

2008-09-09 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11434/weakref_test-2.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3634] invalid result value of _weakref.__init__()

2008-09-09 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11431/weakref_test.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3634] invalid result value of _weakref.__init__()

2008-09-09 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: amaury: oh yes, i forget to use assertRaise(). A new patch is attached. ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3786] _curses, _curses_panel & _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2008-09-09 Thread Michael Schmarck
Michael Schmarck <[EMAIL PROTECTED]> added the comment: Yes, I would _like_ to do that, but I fear that I lack the necessary skills... ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3814] Add VCS support

2008-09-09 Thread Douche
New submission from Douche <[EMAIL PROTECTED]>: This is a basic try (4h) to extract specific SVN code out of the core and add entry points for: - filters (.svn, .hg, ...) - find files in repos - get revision's number Thoughts: - if repos have 2 VCS entries (.svn and .hg for example), the first v

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: Reopening this because I disagree with the fix - I would prefer to see catch_warnings() reverted back to the API and implementation* it used prior to the test_support->warnings migration. That version had perfectly clear semantics when no warni

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: As far as the use cases go, it was moved out of test.test_support to warnings SOLELY due to the requests from the twisted folks for assistance in testing their generation of warnings. The fact that it is also useful for suppressing warnings in g

[issue3807] _multiprocessing build fails when configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I'm not sure if I'm doing right thing, but this patch works on cygwin at least. -- keywords: +patch Added file: http://bugs.python.org/file11436/skip_multiprocessing_without_threads.patch ___ P

[issue3805] sslobj.read py3k takes odd arguments

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: The same function has two distinct behaviours: - If you pass a number, it return a bytes object. - If you pass a buffer, it returns a number! Different arguments and different return types: they should have different names IMO. io.py pr

[issue3634] invalid result value of _weakref.__init__()

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Both patches look fine to me. They could be backported to 2.5 as well. -- keywords: -needs review resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]>

[issue2145] ctypes.util.find_library(): posix .so without SONAME

2008-09-09 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: You can close this issue. It's not really a bug, it's a feature :-) find_library() only finds library and not programs. libdistorm64.so is compiled as a program, not a library. ___ Python tracker <[EMAIL

[issue3814] Add VCS support

2008-09-09 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: This isn't the right place to post setuptools patches, as setuptools is not part of the standard Python distribution. There is a setuptools bug tracker at http://bugs.python.org/setuptools/ You can probably also use the distutils-sig mailing-

[issue1297193] Search is to long with regex like ^(.+|dontmatch)*$

2008-09-09 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: It's not a bug, it's a feature. I wrote a library (http://hachoir.org/wiki/hachoir-regex) to "optimize" regex, so you can close this issue. ___ Python tracker <[EMAIL PROTECTED]>

[issue3815] Python 3.0b3 - Idle doesn't start on win XPh

2008-09-09 Thread Vlastimil Brom
New submission from Vlastimil Brom <[EMAIL PROTECTED]>: Using Python 3.0b3 on windows XPH SP2 (installed form python-3.0b3.msi) Idle can't be started. Using a windows shortcut, only an error-promt is shown "Subprocess Startup Error: IDLE's subprocess dien't make connection. Either IDLE can't s

[issue2145] ctypes.util.find_library(): posix .so without SONAME

2008-09-09 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Cool. -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1297193] Search is to long with regex like ^(.+|dontmatch)*$

2008-09-09 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Fair enough :) -- nosy: +pitrou resolution: -> wont fix status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1755388] Problem with socket.gethostbyaddr() and KeyboardInterrupt

2008-09-09 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Using gdb, I dig the problem: * when CTRL+c is pressed, signal_handler (sig_num=2) at ./Modules/signalmodule.c:175 is called * signal_handler() stores the signal has a "pending call" * Linux kernel interrupts its name resolution (it looks

[issue3816] __newobj__ pickle feature is not documented

2008-09-09 Thread Christian Heimes
New submission from Christian Heimes <[EMAIL PROTECTED]>: The pickle system has an undocumented but very useful feature. When the first element of the tuple returned by __reduce__ is a function named __newobj__, a special obcode is generated. __newobj__ doesn't need to be registered as safe for u

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: With a name like catch_warnings() in the warnings module, it will definitely get used in production code to suppress warnings. If its intended to be used only by tests, then it belongs somewhere else. If not test_support then maybe unittest

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: http://man.he.net/man3/readlink says: "Conforming applications should not assume that the returned contents of the symbolic link are null-terminated" cygwin is not broken, but very (too much?) conforming in this case ;-) I think your s

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: -- keywords: +needs review priority: -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3629] Python won't compile a regex that compiles with 2.5.2 and 30b2

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- title: Py30b3 won't compile a regex that compiles with 2.5.2 and 30b2 -> Python won't compile a regex that compiles with 2.5.2 and 30b2 ___ Python tracker <[EMAIL PROTECTED]>

[issue3574] compile() cannot decode Latin-1 source encodings

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3799] Byte/string inconsistencies between different dbm modules

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: It turns out the warnings.catch_warnings version has re-entrancy issues due to the fact that it can't use @contextmanager: Python 2.6b3+ (trunk:66143M, Sep 2 2008, 20:04:43) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright

[issue2876] Write UserDict fixer for 2to3

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue2350] 'exceptions' import fixer

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3642] Objects/obmalloc.c:529: warning: comparison is always false due to limited range of data type

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1868] threading.local doesn't free attrs when assigning thread exits

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3657] pickle can pickle the wrong function

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3187] os.listdir can return byte strings

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3809] test_logging leaving a 'test.blah' file behind

2008-09-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Oh, I misunderstood the reason... readlink() can return non-null-terminated string, so mbstowcs may convert illegual memory area. I've attached py3k_getpath_v3.patch. Added file: http://bugs.python.org/file11437/py3k_getpath_v3.patch

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: I also have to comment on the "makes the API simpler to use" note in the checkin message. No, no it doesn't. See all those "warning[-1]" calls in the current unit tests? They're all unhelpful, because if a warning doesn't get raised, you're goin

[issue3812] py3k build fails if configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Simple workaround is to remove itertools from traceback module and write equivalent code to itertools.chain. I'm not sure it is acceptable put such limitation to standard library. (That is, traceback is used from build process, so should n

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Your patch is OK for me. Please apply! -- keywords: -needs review resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]> _

[issue3809] test_logging leaving a 'test.blah' file behind

2008-09-09 Thread Vinay Sajip
Vinay Sajip <[EMAIL PROTECTED]> added the comment: Fix checked into trunk - revision 66337. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> _

[issue3817] ftplib: ABOR does not consider 225 response code

2008-09-09 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' <[EMAIL PROTECTED]>: RFC-959 at chapter 5.4 includes 225 as a possible response to an ABOR command. 225 should be sent by server when a client issues an ABOR command and there's no data transfer to abort. The patch in attachment includes 225 code in the list

[issue3777] long(4.2) now returns an int

2008-09-09 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Just a quick nit, but it seems to me that since 2.6 still actually distinguishes between longs and ints that the two error messages in PyLong_FromFloat should mention "long" instead of "integer". Skip -- nosy: +skip.montanaro __

[issue3818] ftplib.FTP.abort() should consider "225" a positive response code to ABOR

2008-09-09 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' <[EMAIL PROTECTED]>: RFC-959 at chapter 5.4 includes 225 as a possible response to an ABOR command. 225 should be sent by server when a client issues an ABOR command and there's no data transfer to abort. The patch in attachment includes 225 code in the list

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66338(py3k). -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> _

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-09 Thread Jason Tishler
Jason Tishler <[EMAIL PROTECTED]> added the comment: The Cygwin build is having the same problem: http://cygwin.com/ml/cygwin/2008-09/msg00145.html In this case, the sqlite3 libraries are installed (in /usr/lib), but their suffixes do not match the expected values. Does anyone know the best w

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Changes by Nick Coghlan <[EMAIL PROTECTED]>: -- assignee: -> ncoghlan ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list m

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Jean-Paul Calderone
Jean-Paul Calderone <[EMAIL PROTECTED]> added the comment: Exposing a list seems like a great low-level API to me. There are no [-1]s in the Twisted codebase as a result of using this API because we have a higher-level API built on top of it. Having this low-level API that doesn't try to make a

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: test.test_support *is* a public API (it's even documented). ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Jean-Paul Calderone
Jean-Paul Calderone <[EMAIL PROTECTED]> added the comment: There was a discussion on python-dev about using things from the `test` package from code outside the `test` package: http://mail.python.org/pipermail/python-dev/2008-August/081860.html ___ Python tra

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: In working on the reversion patch, I just noticed that r66321 also incorrectly removed a whole pile of w.reset() calls. When using a single catch_warning() context to test two or more operations which may raise the same warning, you *must* call

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: I will put together two patches: one that reverts all the way back to what we had in the betas, and another which just reverts the Python test suite changes in the most recent checkin (instead modifying test_support.catch_warning to use the modi

[issue3777] long(4.2) now returns an int

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I suppose you meant PyLong_FromDouble()? I think the messages talk about abstract numbers, not a specific python type: "infinity/NaN cannot be converted to an integral value". -- resolution: -> fixed status: open -> closed ___

[issue3812] py3k build fails if configure --without-threads

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Agreed. I suggest that you add a comment like "itertools.chain is in an extension module and may be unavailable" just above. Otherwise, someday one will find that this code should use a function from the stdlib, and revert your change...

[issue3819] urllib2 sends Basic auth across redirects

2008-09-09 Thread Kyle McFarland
New submission from Kyle McFarland <[EMAIL PROTECTED]>: when you request a url that requests Basic authentication info HTTPBasicAuthHandler adds the Authorization header to the request as a normal (not unredirected) header, then if the server returns a 301 or 302 redirect HTTPRedirectHandler will

[issue3819] urllib2 sends Basic auth across redirects

2008-09-09 Thread Kyle McFarland
Changes by Kyle McFarland <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11442/untest.py ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3819] urllib2 sends Basic auth across redirects

2008-09-09 Thread Kyle McFarland
Changes by Kyle McFarland <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11443/bug3819.py ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: Fully reverting the relocation also required reverting r66197 (a belated checkin of test_py3kwarn for the r66135 changes). There was also a change to test_warnings that had to be reverted (it appeared to have been mistakenly checked in as part

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: Reversion patch attached - it does indeed recreate some nasty dependencies from the main areas of the standard library on to the regression test suite. That's enough to kill the idea of a complete reversion as far as I'm concerned - I'll get the

[issue3777] long(4.2) now returns an int

2008-09-09 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Amaury> I suppose you meant PyLong_FromDouble()? Yes, sorry. Amaury> I think the messages talk about abstract numbers, not a specific Amaury> python type: "infinity/NaN cannot be converted to an integral Amaury> value". Well, 2

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I don't think this needs to be resolved before 2.6, not without a pronouncement from a lawyer advising the PSF. Layman's analyses of legal issues are void. Thus lowering the priority. -- nosy: +loewis priority: release blocker -> no

[issue3526] Customized malloc implementation on SunOS and AIX

2008-09-09 Thread Sébastien Sablé
Sébastien Sablé <[EMAIL PROTECTED]> added the comment: Here is a new patch so that pymalloc can be combined with dlmalloc. I first added the --with-pymalloc-mmap option to configure.in which ensures that pymalloc arenas are allocated through mmap when possible. However I found this was not enou

[issue3820] Python 3.0b3 doesn't start on German Win XP SP3/SP2

2008-09-09 Thread Tim Pietzcker
New submission from Tim Pietzcker <[EMAIL PROTECTED]>: I have experienced the exact same thing on two different PCs, one running WinXP (German, 32bit Intel) SP2, one running SP3: When starting the Python command line or when trying to run a Python script, I immediately get the (Windows) error mes

[issue1840] Tools/i18n/msgfmt.py fixes for Python 3.0

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Closing it as fixed then. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3821] trace module bug when using --missing

2008-09-09 Thread Juan Javier
New submission from Juan Javier <[EMAIL PROTECTED]>: I get the following exception: $ /opt/python3.0b2/bin/python3.0 -m trace -c -m run.py Traceback (most recent call last): File "/opt/python3.0b2/lib/python3.0/runpy.py", line 121, in _run_module_as_main "__main__", fname, loader, pkg_name

[issue3822] zfill doc string uses inconsistent variable names

2008-09-09 Thread Toby Donaldson
New submission from Toby Donaldson <[EMAIL PROTECTED]>: The doc string for zfill use the variable name "x" when it should probably be using the variable name "S". >>> print(''.zfill.__doc__) S.zfill(width) -> str Pad a numeric string x with zeros on the left, to fill a field of the specified wi

[issue3815] Python 3.0b3 - Idle doesn't start on win XPh

2008-09-09 Thread Toby Donaldson
Toby Donaldson <[EMAIL PROTECTED]> added the comment: I also had problems running IDLE, and the fix listed here solved it for me: http://bugs.python.org/issue3628 -- nosy: +tjd ___ Python tracker <[EMAIL PROTECTED]>

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-09-09 17:54, Martin v. Löwis wrote: > Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > > I don't think this needs to be resolved before 2.6, not without a > pronouncement from a lawyer advising the PSF. Layman's analyses o

[issue3805] sslobj.read py3k takes odd arguments

2008-09-09 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: Please, guys, let's not deep-end on this. It's an admittedly eccentric but working and purely internal interface. There are actual release-blockers that need to be addressed. On Tue, Sep 9, 2008 at 4:14 AM, Amaury Forgeot d'Arc <[EMAIL PROTEC

[issue3714] nntplib module broken by str to unicode conversion

2008-09-09 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: So, in effect, if we settle for ASCII as the default encoding, then the attached patch is good enough. Someone should check this in. Should it go in py3k, release? Because, without this patch(which is again simple), nntplib is almost unusable.

[issue3805] sslobj.read py3k takes odd arguments

2008-09-09 Thread Bill Janssen
Changes by Bill Janssen <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11446/unnamed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3805] sslobj.read py3k takes odd arguments

2008-09-09 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: But I should say... Greg, I do appreciate the review and the comments. I was waiting for the bytes work in 3K to settle down before looking at that code again. When I do, I'll take your comments to heart.

[issue3805] sslobj.read py3k takes odd arguments

2008-09-09 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: yep, agreed. leave this for later. my bad for opening it with high priority in the first place. low is correct. :) i was just trying to write down comments on odd code that i came across before i forgot about it. _

[issue3815] Python 3.0b3 - Idle doesn't start on win XPh

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Closing as a duplicate of issue3628 -- nosy: +loewis resolution: -> duplicate status: open -> closed superseder: -> IDLE does not run with Py30b3 ___ Python tracker <[EMAIL PROTECTED]>

[issue3820] Python 3.0b3 doesn't start on German Win XP SP3/SP2

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Did you install it for all users, or just for yourself? -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3820] Python 3.0b3 doesn't start on German Win XP SP3/SP2

2008-09-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Ah, it seems that this installer is lacking the MS CRT. This should be fixed in the release candidate. ___ Python tracker <[EMAIL PROTECTED]>

[issue3812] py3k build fails if configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66340(py3k). -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> _

[issue3823] ssl.wrap_socket() is incompatible with unprivileged servers, due to keyfile requirement

2008-09-09 Thread Forest Wilkinson
New submission from Forest Wilkinson <[EMAIL PROTECTED]>: SSLSocket() and ssl.wrap_socket() accept private keys only as paths to their location on the file system. This means that a server can only support SSL if it has read access to its private key file at the time when client connections arri

[issue3820] Python 3.0b3 doesn't start on German Win XP SP3/SP2

2008-09-09 Thread Tim Pietzcker
Tim Pietzcker <[EMAIL PROTECTED]> added the comment: OK, thanks. I have set it to install for all users, if that's still relevant. Is there a way to manually install the MS CRT (which version), so I can use b3 until rc1 comes out? Thanks, Tim ___ Python track

[issue3819] urllib2 sends Basic auth across redirects

2008-09-09 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: 1) The section you refer to is 1.2 of RFC2617, which specifies the details on Access Authentication in General and not specific to url redirects. So, I don't think we should take it as a referece. 2) Under the section - 3.3 Digest Operation, the Aut

[issue3823] ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement

2008-09-09 Thread Forest Wilkinson
Changes by Forest Wilkinson <[EMAIL PROTECTED]>: -- title: ssl.wrap_socket() is incompatible with unprivileged servers, due to keyfile requirement -> ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement ___

[issue3817] ftplib: ABOR does not consider 225 response code

2008-09-09 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Giampaolo, should we close this one as duplicate of 3818 (that you created one minute later)? -- nosy: +facundobatista ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3815] Python 3.0b3 - Idle doesn't start on win XPh

2008-09-09 Thread Vlastimil Brom
Vlastimil Brom <[EMAIL PROTECTED]> added the comment: Sorry for the noise, somehow my search in the bug tracker didn't show this report; after fixing the mentioned line in run.py everything works ok. ___ Python tracker <[EMAIL PROTECTED]>

[issue3376] Use Python 3 lexer for 3.0 docs

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Should be fixed in r66344. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3822] zfill doc string uses inconsistent variable names

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66347. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: I can understand the amount of time it might take to revert this; merging was horrendous and stuff was partially combined into single patches as to get a review done for all related changes instead of doing more atomic commits if a review was no

[issue3800] Fix for formatter.py

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66348. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3803] Comparison operators - New rules undocumented in Python 3.0

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66349. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

  1   2   >