[issue9046] Python 2.7rc2 doesn't build on Mac OS X 10.4

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'll fire up my 10.4 system to further investigate this. -- ___ Python tracker ___ ___ Python-bugs-

[issue9045] 2.7rc1: 64-bit OSX installer is not built with 64-bit tkinter

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: A patch to fix this issue would be appreciated. However, there is are two reasons why _tkinter is build for 32-bit architectures only: 1) Apple didn't ship a 64-bit Tk until OSX 10.6, and that is Tk 8.5 while earlier releases of the OS use Tk 8.4 2) Tk 8.5

[issue9041] raised exception is misleading

2010-06-22 Thread Pauli Rikula
Pauli Rikula added the comment: I'm a newbie what it comes to Python's C-sources, so please do not take me too seriously. I fetched the sources 'svn checkout http://svn.python.org/projects/python/branches/release26-maint ' studied the issue, and my best guess is that Modules/_ctypes/cfield.c 's

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: The mac-related code in urllib is correct, it uses the SystemConfiguration framework on MacOSX to get the proxy settings. That said, the code in _scproxy is not entirly correct, it makes the wrong assumption w.r.t. the value of exclude_simple when the corres

[issue8869] execfile does not work with UNC paths

2010-06-22 Thread Tim Golden
Changes by Tim Golden : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9041] raised exception is misleading

2010-06-22 Thread Pauli Rikula
Pauli Rikula added the comment: If d_set makes the conversion, py3k does the same thing: http://svn.python.org/projects/python/branches/py3k/Modules/_ctypes/cfield.c It has a function d_set_sw, which might have same issues as well. The same function can be found from 2.6 too: http://svn.python

[issue8440] test_heapq interfering with test_import on py3k

2010-06-22 Thread Tim Golden
Tim Golden added the comment: Error no longer occurs -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python

[issue8018] Backport 3.x nonlocal keyword to 2.7

2010-06-22 Thread Mark Dickinson
Mark Dickinson added the comment: This is now out of date for 2.7. -- nosy: +mark.dickinson resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue9049] UnboundLocalError in nested function

2010-06-22 Thread Mark Dickinson
Mark Dickinson added the comment: > Is there any way to produce the desired behavior? Not directly, in Python 2.x. (But there's the 'nonlocal' keyword in 3.x.) There are various workarounds, but what's best depends on what you're doing. The python-list mailing list is probably a better pla

[issue8446] buildbot: DeprecationWarning not raised for icglue (test_py3kwarn.TestStdlibRemovals)

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: This should be fixed with r82149. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've applied my patch in r82150, which fixes the issue for me in the trunk. I'll merge the patch into the other branches if this does indeed fix the buildbot issue. -- ___ Python tracker

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Odd, unless someone already checked in a fix on the trunk. I currently have a clean test run on the trunk on OSX 10.6.4 (intel). I haven't checked this on my 10.5 VM yet. -- ___ Python tracker

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-22 Thread Stefan Krah
Stefan Krah added the comment: It is disputed on http://openradar.appspot.com/radar?id=334401 that this is an OS bug. If I understand correctly, the test program is not guaranteed to work if threads are involved. See also: http://webcache.googleusercontent.com/search?q=cache:hJo0u_Lc8wkJ:www.op

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Stefan: we already new that, see msg105018. This issue was closed as fixed because the uuid module contains a workaround for this issue (by not using the broken C API on OSX 10.6). It seems that OSX 10.5.8 and 10.4 is also affected by this issue. I'll test o

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-22 Thread Stefan Krah
Stefan Krah added the comment: Bill, could you try to add this to the tests and see if they also fail when you run them standalone? Index: Lib/test/test_uuid.py === --- Lib/test/test_uuid.py (revision 82109) +++ Lib/test/tes

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Bill, please test the patch below on a 10.5 system: Index: Lib/uuid.py === --- Lib/uuid.py (revision 82148) +++ Lib/uuid.py (working copy) @@ -416,7 +416,7 @@ import sys if sys.platform

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: scott: * Which OSX version are you using? * Which Python are you using? - What is the value of sys.prefix? - How did you install it? * Does 'import readline' work? -- ___ Python tracker

[issue8938] Mac OS dialogs(Save As..., Load) translation

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Pavel: does the problem also happen with newer versions of Python? -- ___ Python tracker ___ ___ Py

[issue9021] no copy.copy problem description

2010-06-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: I am +0 on this change. The existing introduction is fine and the discussion where shallow and deep copy is discussed is more important. It is okay to assume that the reader is aware of the assignment operation nature, i.e. it does not create a copy and you ne

[issue9047] Python 2.7rc2 includes -isysroot twice on each gcc command line

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Sigh. -isysroot was added to CPPFLAGS because Python wouldn't build as a universal binary anymore due a fix for issue 1628484. (According to the SVN log for r80187). I'll see what can be done to avoid adding -isysroot twice to the compiler flags. -

[issue7192] webbrowser.get("firefox") does not work on Mac with installed Firefox

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: R. David Murray: the issue you refer to isn't the one you intend to link to, it is related to proxy settings and doesn't contain a patch related to firefox. -- ___ Python tracker

[issue7192] webbrowser.get("firefox") does not work on Mac with installed Firefox

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: BTW. The firebox-bin binary in Firefox.app/Contents/MacOS does not support the command-line arguments that Firefox on Linux supports. That is, the following command does not work: /Applications/Firefox.app/Contents/MacOS/firefox-bin -remote 'openURL("http:/

[issue3362] locale.getpreferredencoding() gives bus error on Mac OS X 10.4.11 PPC

2010-06-22 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- assignee: -> ronaldoussoren components: +Macintosh -None ___ Python tracker ___ ___ Python-bugs-list m

[issue9048] no OS X buildbots in the stable list

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Then why bother providing binaries? I'm trying to keep the OSX port in good shape, but at times have to hunt down issues that were introduced by other bugfixes. A problem with adding OSX to the list of stable buildbots is IMHO that there seem to be very few

[issue7192] webbrowser.get("firefox") does not work on Mac with installed Firefox

2010-06-22 Thread Shashwat Anand
Shashwat Anand added the comment: 16:05:57 l0nwlf-MBP:/Applications/Firefox.app/Contents/MacOS$ ./firefox-bin 'http://www.google.com' says firefox is already running as ff is open. After we quit ff, 16:09:05 l0nwlf-MBP:/Applications/Firefox.app/Contents/MacOS$ ./firefox-bin -remote 'http://www

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

2010-06-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: I see that ismount like function on windows is provide by the various Win32 extensions. If Windows supported is added to ismount function itself, then it might be a good idea to have attributes or list_attributes function as well. But for posix, how will it

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: 1) Okay, so I’ll refactor some code in patchcheck into a grep-like function to reduce duplication and support adding new checks. 2) I’ll add more useful report. Perhaps I’ll ask first on python-dev to see if I should add a command-line option or just improve it.

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

2010-06-22 Thread Tim Golden
Tim Golden added the comment: I think we're saying the same thing :) The simplest thing to do here is to create a win_ismount function in posixmodule.c which does the attributes / reparse tag dance and returns True/False and use that wherever it's needed to support this concept under Windows. T

[issue8999] Add Mercurial support to patchcheck

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: In the absence of formal testing, a few comments on my patch to help reviewers. 1) If the code is both an svn and hg checkout, hg wins, since it’s not unheard of to use hg on top of svn, whereas the contrary does not make sense to me. 2) The hg status command do

[issue8999] Add Mercurial support to patchcheck

2010-06-22 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-22 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +needs review resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue7192] webbrowser.get("firefox") does not work on Mac with installed Firefox

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this issue: 1) webbrowser.get("firefox") currently works 2) firefox on OSX doesn't provide hooks to open tabs instead of windows (neither through the command line nor though AppleScript) which means that the 'new' and 'autoraise' options of webb

[issue7192] webbrowser.get("firefox") does not work on Mac with installed Firefox

2010-06-22 Thread Shashwat Anand
Shashwat Anand added the comment: I searched for proxy+firefox on roundup and the only two issue I got was issue 8238 and issue 1160328. None of them seems related to webbrowser. -- ___ Python tracker

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-22 Thread Stefan Krah
Stefan Krah added the comment: Ronald Oussoren wrote: > Stefan: we already new that, see msg105018. > > This issue was closed as fixed because the uuid module contains a workaround > for this issue (by not using the broken C API on OSX 10.6). Ok, my comment was partly meant to give an explan

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-22 Thread Mark Dickinson
Mark Dickinson added the comment: > I think I’ll go with replacing instead of just reporting. How about a --report-only (insert better name here) command line option to patchcheck, then? My editor doesn't delete trailing whitespace *automatically*, but it's trivial to remove trailing whitesp

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: Agreed. reindent.py has a dry-run mode too, so adding such a global flag and making it the default is okay with me. -- ___ Python tracker ___

[issue9056] Adding additional level of bookmarks and section numbers in python pdf documents.

2010-06-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: You mean "Table of Contents"? The index at the end serves as a bookmark, right? Also, Table of Contents might add up couple of more pages to traverse. -- nosy: +orsenthil ___ Python tracker

[issue8988] import + coding = failure (3.1.2/win32)

2010-06-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > now tell me how the hell can file system encoding be related > to file content encoding?! Why do you say so? I can reproduce your issue, but changing the first line of a.py: # coding: cp1252 to: # coding: utf-8 did not change anything. In the meantim

[issue9046] Python 2.7rc2 doesn't build on Mac OS X 10.4

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Marc-Andre: what version of Xcode do you use? (the version in the About menu of Xcode.app). I'm getting clean builds with '--enable-universalsdk' on OSX 10.4.11 (PPC) with Xcode 2.5 (the last Xcode for OSX 10.4). That is, all extension build, except for the

[issue1349106] email.Generators does not separates headers with "\r\n"

2010-06-22 Thread Malcolm Box
Malcolm Box added the comment: Echoing the comment of Thomas Viehmann, the current behaviour makes it impossible to use this library to generate a correct multipart/mixed message with 7_or_8_bit encoding on Unix. The MIME standard specifies that headers are to be CRLF terminated - this is in

[issue9056] Adding additional level of bookmarks and section numbers in python pdf documents.

2010-06-22 Thread pengyu.ut
pengyu.ut added the comment: On Tue, Jun 22, 2010 at 6:25 AM, Senthil Kumaran wrote: > > Senthil Kumaran added the comment: > > You mean "Table of Contents"? The index at the end serves as a > bookmark, right?  Also, Table of Contents might add up couple of more > pages to traverse. I don't n

[issue8252] add a metadata section in setup.cfg

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: I’m starting on this now. Monitor http://bitbucket.org/Merwok/distutils2-killsetup for updates. -- keywords: +gsoc resolution: -> accepted stage: -> needs patch versions: -Python 3.3 ___ Python tracker

[issue8253] add a resource+files section in setup.cfg

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: I’m doing this after #8252. Monitor that bug and http://bitbucket.org/Merwok/distutils2-killsetup for updates. -- dependencies: +add a metadata section in setup.cfg keywords: +gsoc resolution: -> accepted stage: -> needs patch versions: -Python 3.3 __

[issue8252] add a metadata section in setup.cfg

2010-06-22 Thread Shashwat Anand
Shashwat Anand added the comment: Is "+gsoc" a keyword too ? :O On Tue, Jun 22, 2010 at 7:16 PM, Éric Araujo wrote: > > Éric Araujo added the comment: > > I’m starting on this now. Monitor > http://bitbucket.org/Merwok/distutils2-killsetup for updates. > > -- > keywords: +gsoc >

[issue8252] add a metadata section in setup.cfg

2010-06-22 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file17742/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue8252] add a metadata section in setup.cfg

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: “keywords: +gsoc” means that the “gsoc” keyword has been added, yes. Tarek asked for this keyword to track things. (P.S. Please remove unnecessary quotes from your replies, it’s clutter, and don’t send HTML email to the tracker, that creates a useless unnamed f

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Reaction from scot w.r.t. my questions: os x 10.5.8 python 2.5.1 /System/Library/Frameworks/Python.framework/Versions/2.5 came default with system i'm going to try activestate python 2.6 and see if that solves the problem. import readline does work

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Some notes: The system python on OSX 10.5 and 10.6 is linked to libedit, not GNU readline, and doesn't seem to contain patches that convert stdlib usage of readline APIs to the correct way to bind keystrokes to action with libedit. This results in failure to

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: This (untested) patch should fix the issue for the cmd module: +++ Lib/cmd.py (working copy) @@ -112,7 +112,18 @@ import readline self.old_completer = readline.get_completer() readline.set_completer(self.com

[issue9056] Adding additional level of bookmarks and section numbers in python pdf documents.

2010-06-22 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: On Mon, Jun 21, 2010 at 11:00 PM, pengyu.ut wrote: > Current pdf version of python documents don't have bookmarks for > sussubsection. For example, there is no bookmark for the following > section in python_2.6.5_reference.pdf. This would be nice to have.

[issue9046] Python 2.7rc2 doesn't build on Mac OS X 10.4

2010-06-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ronald Oussoren wrote: > > Ronald Oussoren added the comment: > > Marc-Andre: what version of Xcode do you use? (the version in the About menu > of Xcode.app). We have Xcode 2.5 and all updates on the machine. Python 2.6 and older versions compile just

[issue9020] 2.7: eval hangs on AIX

2010-06-22 Thread Stefan Krah
Stefan Krah added the comment: Re: EOF checking in Py_ISXXX() for consistency with C functions. After reflecting on this a bit I think it's ultimately not a good idea. While it is possible to do the EOF check, the macros would then take either an int in [EOF, 0-UCHAR_MAX] or a signed/unsigned c

[issue8254] write a configure command

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: I have a working configure command at http://bitbucket.org/Merwok/distutils2-configure which works. (Read my short reports on https://wokslog.wordpress.com/ for more details.) It’s not completely finished, though: 1) I import build and install to get their user

[issue9046] Python 2.7rc2 doesn't build on Mac OS X 10.4

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: What I don't quite understand is why the build fails for you but passes for me. What configure flags did you use? This version should fare better: def is_macosx_sdk_path(path): """ Returns True if 'path' can be located in an OSX SDK """ retur

[issue9020] 2.7: eval hangs on AIX

2010-06-22 Thread Eric Smith
Eric Smith added the comment: I agree with this approach. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue8999] Add Mercurial support to patchcheck

2010-06-22 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: A small suggestion: rather than having bool hg which means Mercurial if true and SVN if false, consider a string valued vc variable with 'svn' for SVN and 'hg' for Mercurial. This way it will be straightforward to add support for other VC systems in t

[issue1349106] email.Generators does not separates headers with "\r\n"

2010-06-22 Thread Shashwat Anand
Changes by Shashwat Anand : -- nosy: +l0nwlf ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue8252] add a metadata section in setup.cfg

2010-06-22 Thread Shashwat Anand
Shashwat Anand added the comment: merwok: Pont noted. I replied it via Gmail, was unaware of the fact that it adds an unnamed file. -- ___ Python tracker ___ ___

[issue9057] Needs a home page

2010-06-22 Thread Dave Abrahams
New submission from Dave Abrahams : This project needs a home page. I want to link to it from Ryppl docs, but anyone following a link to, e.g. the bitbucket wiki would think this project was weak at best. -- assignee: tarek components: Distutils2 messages: 108390 nosy: dabrahams, tarek

[issue1100562] deepcopying listlike and dictlike objects

2010-06-22 Thread Michele Orrù
Michele Orrù added the comment: Ported to Py3k. -- versions: +Python 3.2 -Python 2.6, Python 2.7 Added file: http://bugs.python.org/file17744/issue1100562_py3k.patch ___ Python tracker __

[issue1100562] deepcopying listlike and dictlike objects

2010-06-22 Thread Michele Orrù
Changes by Michele Orrù : Removed file: http://bugs.python.org/file17744/issue1100562_py3k.patch ___ Python tracker ___ ___ Python-bugs-list

[issue1100562] deepcopying listlike and dictlike objects

2010-06-22 Thread Michele Orrù
Changes by Michele Orrù : Added file: http://bugs.python.org/file17745/issue1100562_py3k.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue9033] cmd module tab misbehavior

2010-06-22 Thread Shashwat Anand
Shashwat Anand added the comment: Tested the patch and it works for trunk and python3.2 alpha. Without adding SDK flag with configure readline module failed to build. Python build finished, but the necessary bits to build these modules were not found: _gdbm ossaudiodevread

[issue7900] posix.getgroups() failure on Mac OS X

2010-06-22 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Ronald, Please see my python-dev post in "red buildbots on 2.7" thread: http://mail.python.org/pipermail/python-dev/2010-June/100873.html I argue that we should apply a fix along the lines of no-darwin-ext.diff while waiting for Apple to fix their bug

[issue1749662] New byte packing format for the struct module

2010-06-22 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> rejected status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9055] test_issue_8959_b fails when run from a service

2010-06-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: To test windows callbacks, I suggest to use EnumResourceTypes() instead, which is more likely to work in any condition: def test(): from ctypes.wintypes import BOOL, HMODULE, LONG, LPARAM import ctypes EnumResourceTypes = ctypes.windll.kernel

[issue9057] Needs a home page

2010-06-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: What "project" are you talking about? This issue tracker? -- nosy: +giampaolo.rodola ___ Python tracker ___ _

[issue6715] xz compressor support

2010-06-22 Thread Ryan Coyner
Changes by Ryan Coyner : -- nosy: +rcoyner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue9057] Needs a home page

2010-06-22 Thread Dave Abrahams
Dave Abrahams added the comment: Distutils2, sorry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue3439] create a numbits() method for int and long types

2010-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Minor addendum to Mark's last message: in the near release version of 2.7 (rc2), note 2 in 5.4. "Numeric Types — int, float, long, complex" now starts "Conversion from floats using int() or long() truncates toward zero like the related function, math.trunc()"

[issue9057] Needs a home page

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: d2 is still under heavy development. It is not recommended to rely on it. We work on features including documentation, you can monitor http://packages.python.org/Distutils2/ every two weeks to get updates. -- nosy: +merwok __

[issue9046] Python 2.7rc2 doesn't build on Mac OS X 10.4

2010-06-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ronald Oussoren wrote: > > Ronald Oussoren added the comment: > > What I don't quite understand is why the build fails for you but passes for > me. What configure flags did you use? I posted the configure options in the first message on this ticket. Th

[issue9057] Distutils2 needs a home page

2010-06-22 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- components: +Documentation title: Needs a home page -> Distutils2 needs a home page type: -> feature request ___ Python tracker ___ _

[issue9057] Distutils2 needs a home page

2010-06-22 Thread Dave Abrahams
Dave Abrahams added the comment: Yes, I understand it's not ready for users. However, even a project in process can benefit from having a home page, to boost awareness and link connectivity. ATM there's no reasonably stable URL I can link to from http://ryppl.org/technology.html I would be

[issue3439] create a numbits() method for int and long types

2010-06-22 Thread Mark Dickinson
Mark Dickinson added the comment: So there are two issues here: - deprecation of int(my_float) and long(my_float) - removal of long in 3.x I'm not sure which Terry is referring to here. On the first, I don't think use of int() with float arguments actually *is* deprecated in any meaningful

[issue3439] create a numbits() method for int and long types

2010-06-22 Thread Mark Dickinson
Mark Dickinson added the comment: Aargh! 'a new builtin trunk' -> 'a new builtin trunc' -- ___ Python tracker ___ ___ Python-bugs-list

[issue9016] IDLE won't launch (Win XP)

2010-06-22 Thread Jon Seger
Jon Seger added the comment: Here's the result of doing what Martin asked (and then launching the interpreter, to confirm that it's the 2.5.4 version that I installed on Thursday just before submitting my original bug report). C:\PYTHON25 is the first item in the PATH. C:\Python25\Lib\idleli

[issue9058] PyUnicodeDecodeError_Create asserts that various arguments are less than INT_MAX

2010-06-22 Thread Dave Malcolm
New submission from Dave Malcolm : Running this code (seen via http://bugs.python.org/file10013/python-2.5.2-unicode_resize-utf16.py for issue 2620): >>> msg = 'A'*2147483647 ; msg.decode('utf16') leads to the python process exiting with an assertion failure: python: Objects/exceptions.c:1787:

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-22 Thread Mark Dickinson
Mark Dickinson added the comment: Just to confirm that with this fix test_urllib2_localnet is now passing for me. Thanks! -- ___ Python tracker ___

[issue9058] PyUnicodeDecodeError_Create asserts that various arguments are less than INT_MAX

2010-06-22 Thread Dave Malcolm
Dave Malcolm added the comment: Patch to remove the restriction that the fields be < INT_MAX Tested on x86_64 on a machine with > 12GB of RAM, leads to this exception, rather than the python process bailing out: Traceback (most recent call last): File "", line 1, in File "Lib/encodings/u

[issue9058] PyUnicodeDecodeError_Create asserts that various arguments are less than INT_MAX

2010-06-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: Actually, you should be able to just remove the asserts. -- nosy: +benjamin.peterson ___ Python tracker ___ _

[issue9051] Cannot pickle timezone instances

2010-06-22 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Python version is fixed in sandbox and committed in r82154. -- ___ Python tracker ___ ___ Pyth

[issue9058] PyUnicodeDecodeError_Create asserts that various arguments are less than INT_MAX

2010-06-22 Thread Dave Malcolm
Dave Malcolm added the comment: >>> Actually, you should be able to just remove the asserts. Aha, thanks! Yes: #define PY_SSIZE_T_CLEAN is defined at the top of Objects/exceptions.c, so yes, Py_VaBuildValue is redirected to _Py_VaBuildValue_SizeT, so that PyEval_CallFunction calls: Py_V

[issue9058] PyUnicodeDecodeError_Create asserts that various arguments are less than INT_MAX

2010-06-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: Removed them in r82157. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue6105] json.dumps doesn't respect OrderedDict's iteration order

2010-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Benjamin, it's a little late for this one for 2.7. Do you prefer to close it forever or to treat it as a bug fix for 2.7.1? -- assignee: rhettinger -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracke

[issue9055] test_issue_8959_b fails when run from a service

2010-06-22 Thread Thomas Heller
Thomas Heller added the comment: > To test windows callbacks, I suggest to use EnumResourceTypes() > instead, which is more likely to work in any condition: Unfortunately the proposed test doesn't detect the problem in Python2.7 rc1. It runs without crashing, even if enumerating the resources i

[issue9021] no copy.copy problem description

2010-06-22 Thread anatoly techtonik
anatoly techtonik added the comment: > The doc change suggested by Terry could be helpful in the tutorial > where a copy module is mentioned. Can you post a link to this tutorial here? -- ___ Python tracker __

[issue8999] Add Mercurial support to patchcheck

2010-06-22 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file17674/hg-support.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue8999] Add Mercurial support to patchcheck

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: Updated. I also changed two sets to lists, to retain usage. I’m sure that Mercurial won’t print the same filename twice, and I’m nearly sure Subversion won’t either. Retaining order will make the report a bit more readable. -- Added file: http://bugs.pyt

[issue8999] Add Mercurial support to patchcheck

2010-06-22 Thread Éric Araujo
Éric Araujo added the comment: s/usage/order/ *sigh* -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9048] no OS X buildbots in the stable list

2010-06-22 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue9018] os.path.normcase(None) does not raise an error on linux and should

2010-06-22 Thread R. David Murray
R. David Murray added the comment: My understanding is that there is a deep problem here, in that file system case (and in some cases encoding) is not OS/platform dependent, but is rather *file system* dependent. Adding lower to normcase on OS X is probably not going to break much code (he s

[issue9046] Python 2.7rc2 doesn't build on Mac OS X 10.4

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: The search code must look in the SDK and not fall back on looking into the system to avoid finding new headers and libraries when trying to build using an older SDK on a newer system. I don't think this is a problem at the moment, but it could be in the futu

[issue3439] create a numbits() method for int and long types

2010-06-22 Thread STINNER Victor
STINNER Victor added the comment: Please open a new issue for the documentation problems, it's no more related to "numbits()" method and this issue is closed. -- ___ Python tracker

[issue8990] array constructor and array.fromstring should accept bytearray.

2010-06-22 Thread Thomas Jollans
Thomas Jollans added the comment: OK, here's the new patch. I added tests for array(typecode, bytearray(b'abab')), a.extend(b'123') and a.extend(bytearray(b'123')). @Victor: int itemsize is the array's item size, buffer.itemsize is the strings' (and must be 1) PROBLEM with this patch: I ch

[issue8930] messed up formatting after reindenting

2010-06-22 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: The following command also finds files, in which tabs are preceded only by spaces: find -name '*.[ch]' -exec grep -El $'^ *\t' {} \; -- ___ Python tracker __

[issue9016] IDLE won't launch (Win XP)

2010-06-22 Thread Tal Einat
Tal Einat added the comment: Let's focus on the problem you're having with Python 2.6, with which you said IDLE won't launch. Please try to run IDLE using Python 2.6.5: 1) Install Python 2.6.5, say to C:\Python26 2) Rename/move your .idlerc directory so there isn't any such directory under C:

[issue3439] create a numbits() method for int and long types

2010-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whoops, sorry to create confusion when I was trying to put this issue to rest completely. Let me try better. In his last message, Raymond said "Other possible wording: ... so that ``k`` is approximately ``1 + int(log(abs(x), 2))``." That is what the current

[issue9046] Python 2.7rc2 doesn't build on Mac OS X 10.4

2010-06-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ronald Oussoren wrote: > > Ronald Oussoren added the comment: > > The search code must look in the SDK and not fall back on looking into the > system to avoid finding new headers and libraries when trying to build using > an older SDK on a newer system.

[issue9018] os.path.normcase(None) does not raise an error on linux and should

2010-06-22 Thread R. David Murray
R. David Murray added the comment: Ah, I see my lack of knowledge of OS X has betrayed me. Apparently you can set the case sensitivity of OS X file systemsso the deep problem is even deeper than I thought :( -- ___ Python tracker

  1   2   >