[issue815646] thread unsafe file objects cause crash

2010-10-14 Thread Paul Bolle
Paul Bolle added the comment: > please open a new issue and attach your patch(s) there Issue 10111 now tracks the documentation problems. -- ___ Python tracker ___ ___

[issue10100] fromfd is now available on all platforms

2010-10-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: You already changed the test in r84449! The doc still needs updating. -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___

[issue10111] Minor problems with PyFileObject documentation (Doc/c-api/file.rst)

2010-10-14 Thread Paul Bolle
New submission from Paul Bolle : 0) I ran into some (small) problems with the documentation added by revision 62195 (see issue 815646 for background). 1) A small patch that addresses two problems with the Python 2.7 documentation should be attached: - link three occurrences of "GIL" to the GIL

[issue10076] Regex objects became uncopyable in 2.5

2010-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks reasonable to me. I was trying to find out why they got disabled after 2.5, but I don't see any reason. (There was an issue open and it was closed for no reason). So, I think, this should move forward, unless there is any technical objection

[issue9980] str(float) failure

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Interesting. I'd like to propose than that this is resolved as "won't fix", i.e. embedding Python into Delphi is declared as just not supported (or using floating-point operations in such an environment is not supported). --

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Ned Deily
Ned Deily added the comment: The problem is that, by default on OS X, Tkinter uses Tk/Aqua which is itself a bona-fide OS X application and it creates the default menu options including a standard application quit. Looks like IDLE needs to register a hook provided by Tk/Aqua for a "quit" cal

[issue9980] str(float) failure

2010-10-14 Thread Muhammad Alkarouri
Muhammad Alkarouri added the comment: I cam across another issue that was triggered by the same problem. I am explaining it here though I am not sure if it is going to affect the solution one way or the other. The issue is explained in the post http://stackoverflow.com/questions/3933851/nan-

[issue7425] [PATCH] Improve the robustness of "pydoc -k" in the face of broken modules

2010-10-14 Thread R. David Murray
R. David Murray added the comment: Yes, and I can't think of any other way to approach it. -- ___ Python tracker ___ ___ Python-bugs-l

[issue10109] itertools.product with infinite iterator cause MemoryError.

2010-10-14 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10110] Queue doesn't recognize it is full after shrinking maxsize

2010-10-14 Thread Jason R. Coombs
New submission from Jason R. Coombs : The Queue object has a maxsize parameter and attribute, but due to the test for a full queue, shrinking the maxsize could result in the Queue not recognizing that it is full. The attached patch (against the Python 3 trunk) demonstrates this limitation wit

[issue10109] itertools.product with infinite iterator cause MemoryError.

2010-10-14 Thread Jeong-Min Lee
New submission from Jeong-Min Lee : According to the documentation, itertools.product is equivalent to nested for-loops in a generator expression. But, itertools.product(itertools.count(2010)) is not. >>> import itertools >>> (year for year in itertools.count(2010)) at 0x026367D8> >>> itertool

[issue10106] missing packages

2010-10-14 Thread Brett Cannon
Changes by Brett Cannon : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: Jan, do you think we should close this as a duplicate of #8335? I’ve just read that one and it looks like the same bug. -- ___ Python tracker ___

[issue8335] distutils test_build_ext's test_get_outputs fails in bootstrap environment

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: If it still exists in 2.6, I don’t think it could be fixed, that version being in security mode now. (Barry is the release manager, he’ll chime in if I’m wrong.) Valeo, can you reproduces the bug on 2.7? Distutils code has been reverted to a prior version rec

[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2010-10-14 Thread karl
karl added the comment: This following markup creates the mistake as described earlier in the comments This markup doesn't It returns When using this markup It outputs the right markup, So the mistake occurs really when xmlns="". I have checked and the following markup

[issue7425] [PATCH] Improve the robustness of "pydoc -k" in the face of broken modules

2010-10-14 Thread Dave Malcolm
Dave Malcolm added the comment: I notice this issue is in stage "unit test needed". It's not clear to me how to add a unit test for this: one idea I had is to create a broken module in some subdir somewhere, and invoke "pydoc -k" as a subprocess with PYTHONPATH containing the extra subdir (an

[issue2919] Merge profile/cProfile in 3.0

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10106] missing packages

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10089] Add support for arbitrary -X options

2010-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Seems like a good idea to me. Would other VMs have to implement sys.xoptions > too? I don't think we should mandate that, no. -- ___ Python tracker __

[issue10089] Add support for arbitrary -X options

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: Seems like a good idea to me. Would other VMs have to implement sys.xoptions too? -- nosy: +eric.araujo ___ Python tracker ___ _

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Leo Shklovskii
Leo Shklovskii added the comment: I'm sorry, I would like to but I don't have the time in the near future. I'm running into this as a secondary symptom of a bigger issue (in our own setup, not in Python) that I'm troubleshooting. -- ___ Python trac

[issue10052] Python/dtoa.c:158: #error "Failed to find an exact-width 32-bit integer type" (FreeBSD 4.11 + gcc 2.95.4)

2010-10-14 Thread Tom O'Connor
Tom O'Connor added the comment: Same problem on SGI IRIX 6.5.28 GCC 3.3. Adding the following to pyport.h got me through as well. #define UINT32_MAX 0x #define INT32_MAX 0x7fff -- nosy: +Tom.OConnor ___ Python tracker

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Not necessarily a separate report. Would you be interested in writing a patch that clears that all up (for 2.7 and/or 3.2)? -- ___ Python tracker ___

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2010-10-14 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Leo Shklovskii
Leo Shklovskii added the comment: Looking at the docs more closely, you're right, I'm not entirely sure what error should come out in that case but my main point with the bug is that the error should be an xmlrpclib error rather than one from the specific parser that its choosing to use. Sho

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-14 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm unsure. I think when I addressed the issue, I was only concerned with symlinks. The Vista behavior sounds correct to me, so it may be that XP was left with the legacy behavior as it doesn't have native symlink support. It sounds as if the behavior on XP

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Ned Deily
Changes by Ned Deily : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue815646] thread unsafe file objects cause crash

2010-10-14 Thread Ned Deily
Ned Deily added the comment: Paul, please open a new issue and attach your patch(s) there; it should address issues in 2.7 and 3.2 only. -- nosy: +ned.deily ___ Python tracker ___

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: > From my understanding of the documentation, the expected behavior > is for xmlrpclib to raise an xmlrpclib.Fault [...] What specific wording in the documentation makes you thinks so? If anything, I'd expect a ResponseError (which appears undocumented). ---

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Leo Shklovskii
New submission from Leo Shklovskii : >From my understanding of the documentation, the expected behavior is for >xmlrpclib to raise an xmlrpclib.Fault wrapping the original error from >whatever parser it chose to use if there's an error in parsing the response. If, however, its using Expat unde

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-14 Thread Brian Curtin
Brian Curtin added the comment: Jason, any idea on #2? -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue9409] doctest in python2.7 can't handle non-ascii characters

2010-10-14 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed in 2.7 with r85496 and r85501. Thank you. (in 3.2 only tests, r85495 and r85500) -- resolution: -> fixed stage: unit test needed -> committed/rejected status: open -> closed ___ Python tracker

[issue10093] Warn when files are not explicitly closed

2010-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: I committed the test fixes to py3k, so here is an updated patch. -- Added file: http://bugs.python.org/file19238/deallocwarn3.patch ___ Python tracker

[issue10093] Warn when files are not explicitly closed

2010-10-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file19236/deallocwarn3.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue9418] Move _formatter_* methods from string type into _string module

2010-10-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9807] deriving configuration information for different builds with the same prefix

2010-10-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Let's try splitting this issue into separate patches. This first one just exposes the ABI flags in the sys module and in the python-config script. It doesn't change any installation behavior. http://codereview.appspot.com/2478042/ --

[issue10066] xmlrpclib does not handle some non-printable characters properly

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: My bad, I read too fast. Peter: Can you rework your patch to address Martin’s review? -- ___ Python tracker ___ _

[issue815646] thread unsafe file objects cause crash

2010-10-14 Thread Paul Bolle
Paul Bolle added the comment: 0) I ran into some (small) problems with the documentation added by revision 62195. It seems more efficient to reuse this issue to report these. Feel free to ask me to open another issue if that's not appreciated. 1) A small patch that addresses two problems with

[issue6098] xml.dom.minidom incorrectly claims DOM Level 3 conformance

2010-10-14 Thread karl
karl added the comment: The source of 3.1/lib/python3.1/xml/dom/__init__.py is correct === minidom -- A simple implementation of the Level 1 DOM with namespace support added (based on the Level 2 specification) and other minor Level 2 functionality. === E

[issue10093] Warn when files are not explicitly closed

2010-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch adding ResourceWarning, adding new tests, and fixing failures in existing tests. Feedback welcome. -- Added file: http://bugs.python.org/file19236/deallocwarn3.patch ___ Python tracker

[issue8293] HTTPSConnection.close() does not immediately close the connection.

2010-10-14 Thread Tiago Teresa Teodosio
Tiago Teresa Teodosio added the comment: I can make the connection really get closed by running the garbage collector. It seems that the SSL socket has some kind of lazy close. import gc gc.collect() -- nosy: +TTT ___ Python tracker

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r85489, please backport. -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Er, this patch is horrible. You should fix the generic bug, not workaround it on your particular environment. The test still fails with NO_PROXY: $ NO_PROXY=1 ./python -m test.regrtest test_urllib [1/1] test_urllib Warning -- os.environ was modified by test_ur

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-14 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Regarding fixing the issue at hand on Windows, I think Python should use the corresponding win32 API for getting the hostname: GetComputerNameEx(). It supports Unicode, so the encoding issue doesn't arise. See http://msdn.microsoft.com/en-us/library/ms72

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10097] platform.uname gives UnicodeError for non-ASCII computer names on Windows

2010-10-14 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10097] platform.uname gives UnicodeError for non-ASCII computer names on Windows

2010-10-14 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > >> More evidence that the NetBIOS name is used: >> >> http://msdn.microsoft.com/en-us/library/aa368009(VS.85).aspx >> http://msdn.microsoft.com/en-us/library/ms724295(v=VS.85).aspx >> >> One

[issue9013] Implement tzinfo.dst() method in timezone

2010-10-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: After thinking some more about this issue, I am going to withdraw this proposal. If we want to support storing dst flag in datetime instances, it should be stored in the datetime object itself, not in tzinfo. See http://mail.python.org/pipermail/pyth

[issue10097] platform.uname gives UnicodeError for non-ASCII computer names on Windows

2010-10-14 Thread Ned Deily
Ned Deily added the comment: >It's incorrect to use DNS names when implementing platform.uname(): >on POSIX, uname() *also* does not return the DNS name. If you want >some API to return the DNS name of the computer, you need a different >function (e.g. socket.getfqdn()). Even more importantly,

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: The problem occurs on Ubuntu 10.10 because there's a new environment variable called $UBUNTU_MENUPROXY in the default user environment. This is why it suddenly showed up in Python 3.1 and why it does not occur on other OS (even Ubuntu 10.04). ProxyTests.se

[issue10101] a bug in built-in function round() ?

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please note that the error is not in the third decimal position, but only in the 16th (i.e. the difference between the intended value and the actual value is smaller than 0.0001). -- nosy: +loewis ___

[issue10106] missing packages

2010-10-14 Thread Brett Cannon
Brett Cannon added the comment: I'm not a Windows user, so there might be a better way to solve this, but... Run ``python -v`` and see what it says about why 'site' was not imported. You can also verify that site.py is readable by Python by checking that its directory location is listed in sy

[issue10106] missing packages

2010-10-14 Thread Brett Cannon
Changes by Brett Cannon : -- Removed message: http://bugs.python.org/msg118702 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue10106] missing packages

2010-10-14 Thread Brett Cannon
Brett Cannon added the comment: I'm now a Windows user, so there might be a better way to solve this, but... Run ``python -v`` and see what it says about why 'site' was not imported. You can also verify that site.py is readable by Python by checking that its directory location is listed in sy

[issue4086] support %z format in time.strftime and _strptime?

2010-10-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Closing as a duplicate of (closed) issue 6641. time.strftime appears to support %z on the platforms that support it in C strftime: >>> time.strftime("%z", time.localtime()) '-0400' -- dependencies: -No obvious and correct way to get the time

[issue10106] missing packages

2010-10-14 Thread S S
S S added the comment: Brett, the installation did not had any issues. its running on windows xp, i am administrator of the machine so no permission issues. nothing got moved either as it fresh install -- ___ Python tracker

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2010-10-14 Thread Bruce Sherwood
Bruce Sherwood added the comment: Putting print statements in that part of the world shows that the reason why the list.remove fails is that while a ColorDelegator.toggle_colorize_event object is in the list, it has a different memory address than the ColorDelegator.toggle_colorize_event obje

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Bruce Sherwood
New submission from Bruce Sherwood : It has just been discovered that at least since Python 2.6 on the Mac, quitting IDLE does not prompt to save unsaved code, which is then lost. The recently submitted diff for bringing Guilherme Polo's Google Summer of Code improvements into IDLE on Python 3

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: I had seen with test_urllib, but it was inconsistent for me. Sometimes make distclean and run had worked fine. This was on Ubuntu 10.04, Intel 64 bit. It is surprising, if it is seen consistently on Ubuntu 10.10 ( I have not upgraded to this yet, so have not

[issue10097] platform.uname gives UnicodeError for non-ASCII computer names on Windows

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: > More evidence that the NetBIOS name is used: > > http://msdn.microsoft.com/en-us/library/aa368009(VS.85).aspx > http://msdn.microsoft.com/en-us/library/ms724295(v=VS.85).aspx > > One problem with this approach is that changes to the NetBIOS name > are not s

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: As a further note: I think socket.gethostname() is a special case, since this is just about a local setting (i.e. not related to DNS). We should then assume that it is encoded in the locale encoding (in particular, that it is encoded in mbcs on Windows). --

[issue9183] Intern UTC timezone

2010-10-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in r85485. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue10101] a bug in built-in function round() ?

2010-10-14 Thread Skip Montanaro
Skip Montanaro added the comment: Retro> I didn't thought about the fact that binary floating point is so Retro> imprecise and can cause the round() to "error" in some Retro> situations. Details on the limitations of floating point arithmetic are here: http://docs.python.org/tutori

[issue10097] platform.uname gives UnicodeError for non-ASCII computer names on Windows

2010-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: > There are two issues here: There are two issues, but not here :-) > 1. socket.gethostname() shouldn't raise an error on Windows, but >return the Unicode host name This is issue 9377, please keep that out of this issue. > Could someone please check whe

[issue10102] mktime adding an hour in April (naive struct)?

2010-10-14 Thread Kevin Barnhart
Kevin Barnhart added the comment: Wow. Should have caught that. Thanks for the response. Kevin -- ___ Python tracker ___ ___ Pytho

[issue10106] missing packages

2010-10-14 Thread Brett Cannon
Brett Cannon added the comment: Double-check your install. Errors like this typically means that your Python executable is not able to read the standard library files. Either that or something got moved and so the files are not where Python expects them to be. -- nosy: +brett.cannon

[issue2775] Implement PEP 3108

2010-10-14 Thread Brett Cannon
Brett Cannon added the comment: No. Best I can do is suggest you perform an internet search on the term as it makes it obvious what python-dev is. -- ___ Python tracker ___

[issue10104] test_socket failures on Debian unstable

2010-10-14 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: Agree. Already written code won't suffer, new code should be ready to use new linux kernel. -- ___ Python tracker ___ __

[issue10104] test_socket failures on Debian unstable

2010-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the research. Given that it only happens on Debian unstable, and it only happens if you explicitly use SOCK_{CLOEXEC,NONBLOCK}, I would vote for not adding a workaround until some supported OS also exhibits the issue. -- __

[issue10106] missing packages

2010-10-14 Thread S S
New submission from S S : when trying to install beutifulsoup package on windows xp x86 with python 2.6.6 getting the following error C:\Python26>python C:\temp\BeautifulSoup-3.0.8.1\setup.py install 'import site' failed; use -v for traceback Traceback (most recent call last): File "C:\temp\B

[issue10104] test_socket failures on Debian unstable

2010-10-14 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: Here's the patch from debian's issue http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529920 Patch URL: https://patches.ubuntu.com/by-release/extracted/ubuntu/n/neon27/0.28.4-2/01_runtime_detect_sock_cloexec.dpatch -- __

[issue7537] test_format fails with -j combined with -v

2010-10-14 Thread Florent Xicluna
Florent Xicluna added the comment: Unable to reproduce, here. It seems fixed. -- nosy: +haypo resolution: -> works for me status: open -> pending ___ Python tracker ___

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-14 Thread Vlastimil Brom
Vlastimil Brom added the comment: Sorry for the noise, it seems, I can go back to the 32-bit python for now then... vbr -- ___ Python tracker ___

[issue10105] Strings failing to print

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: print is a function now. See for example http://docs.python.org/py3k/whatsnew/3.0 In the future, please copy input and output in your message if it's a few line, else attache a plain text file. Text beats images. Thank you! -- nosy: +eric.araujo reso

[issue10104] test_socket failures on Debian unstable

2010-10-14 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: What about kernel version? As far as I know 2.6.27 is minimum requirement. -- ___ Python tracker ___

[issue10094] test_urllib.py fails with RuntimeError on Ubuntu 10.10

2010-10-14 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- title: test_urllib.py fails in py3k r85440 with RuntimeError -> test_urllib.py fails with RuntimeError on Ubuntu 10.10 ___ Python tracker ___ ___

[issue10105] Strings failing to print

2010-10-14 Thread RLS0812
New submission from RLS0812 : Attempting to print a string fails in 3.1.2, throwing up an "invalid syntax" I included a screen shot with the same codes ran in 2.7 and 3.1.2 . -- components: None files: 3_1_2_bug.jpg messages: 118679 nosy: RLS0812 priority: normal severity: normal statu

[issue10101] a bug in built-in function round() ?

2010-10-14 Thread Éric Araujo
Éric Araujo added the comment: Maybe something like http://docs.python.org/library/decimal ? -- nosy: +eric.araujo ___ Python tracker ___ ___

[issue10104] test_socket failures on Debian unstable

2010-10-14 Thread Antoine Pitrou
New submission from Antoine Pitrou : This is following r85480 (issue #7523). It seems the Debian unstable system on one of the buildbots has SOCK_NONBLOCK and SOCK_CLOEXEC, but doesn't support creating sockets using these flags: =

[issue10098] intermittent failure in test_os

2010-10-14 Thread Brian Curtin
Brian Curtin added the comment: I've noticed this a few times since r85315. It raises a dialog box saying "The application was unable to start correctly" for some reason. -- nosy: +ocean-city ___ Python tracker _

[issue9527] Add aware local time support to datetime module

2010-10-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Would anyone like to review this? The Rietveld link works (thanks Martin!) and I would like to get some feedback on the python version before I invest effort into coding this in C. -- ___ Python tracker

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-14 Thread Matthew Barnett
Matthew Barnett added the comment: I am not able to build or test a 64-bit version. The update was to the source files to ensure that if it is compiled for 64 bits then the string positions will also be 64-bit. This change was prompted by a poster who tried to use the re module of a 64-bit P

[issue10102] mktime adding an hour in April (naive struct)?

2010-10-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It looks like you have just discovered the joys of daylight saving time. The problem with your example is that datetime(2003,4,6,2,58,17) is not a valid time in your timezone (most likely you are in the US). In the US, prior to 2007, the clocks moved

[issue10103] use the SOABI for GNU/kfreeBSD and the GNU Hurd

2010-10-14 Thread Matthias Klose
Matthias Klose added the comment: checked in, r85481 -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ _

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Senthil, can you provide any additional information on where/when you've seen this? AFAICT, test_urllib.py is the only test it shows up, but it's totally consistent. What OS/platforms have you seen this happen on? Same test or different one? --

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have seen this in very inconsistent manner. -- nosy: +orsenthil ___ Python tracker ___ ___ Pytho

[issue10094] test_urllib.py fails in py3k r85440 with RuntimeError

2010-10-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: This may not be a Python bug. The failure is consistent on all Ubuntu 10.10 machines I've tried, including both i386 and x86_64 platforms. I've gone back many svn revisions and even pulled down earlier alpha tarballs and the failure is consistent. This doe

[issue7523] add SOCK_NONBLOCK and SOCK_CLOEXEC to socket module

2010-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed in r85480, thanks! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue10103] use the SOABI for GNU/kfreeBSD and the GNU Hurd

2010-10-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Looks good to me. -- nosy: +barry resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-

[issue10101] a bug in built-in function round() ?

2010-10-14 Thread Retro
Retro added the comment: Gee, thanks for the insight. I didn't thought about the fact that binary floating point is so imprecise and can cause the round() to "error" in some situations. In this case, the representation and the actual value are (way) off. How can that be? There are just 3 dec

[issue10103] use the SOABI for GNU/kfreeBSD and the GNU Hurd

2010-10-14 Thread Matthias Klose
New submission from Matthias Klose : use the SOABI for GNU/kfreeBSD and the GNU Hurd afaik, the only distribution for GNU/kfreeBSD and the GNU Hurd currently is Debian, and Debian already has this turned on for Linux too. -- assignee: doko components: Build files: soabi.diff keywords:

[issue10086] test_sysconfig failure with site-packages

2010-10-14 Thread Hallvard B Furuseth
Hallvard B Furuseth added the comment: It's with 'purelib' because my prefix "/site" matches "/site-packages". This fixes it for me, but maybe you should also assert that global_path.startswith(os.path.join(base, "")). --- Lib/test/test_sysconfig.py~ 2010-09-20 +++ Lib/test/test_sysconfig.py 2

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2010-10-14 Thread Alexander Ljungberg
Changes by Alexander Ljungberg : -- nosy: +aljungberg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8998] add crypto routines to stdlib

2010-10-14 Thread geremy condra
geremy condra added the comment: > Besides there are already patches available which do add the > ciphers and hashs to pyOpenSSL, so the development could be > sped up by using those as references. I don't think that's the case. I admit that development on this has been very slow (curse you, Re

[issue10101] a bug in built-in function round() ?

2010-10-14 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

  1   2   >