[issue4630] IDLE no longer respects .Xdefaults insertOffTime

2009-03-29 Thread Mark Summerfield
Mark Summerfield added the comment: I agree that control of the blink _rate_ isn't needed. I would certainly welcome a "[X] blinking cursor" checkbox that defaulted to being checked so that existing behaviour is unchanged, but at the same time offering an easier solution (i.e., no blinking if th

[issue5594] IDLE startup configuration

2009-03-29 Thread Mark Summerfield
New submission from Mark Summerfield : My suggestion is to add somewhere in the configuration dialog when users can enter a block of Python code to be executed at startup and whenever Restart Shell is executed. Use case: for people who use IDLE for calculations/experiments they might like to alw

[issue5585] implement initializer for multiprocessing.BaseManager.start()

2009-03-29 Thread lekma
lekma added the comment: AFAIK there is no equivalent to the managers api in threading. As for the tests, what kind of tests would you like to see? Jesse, some thoughts on that? -- ___ Python tracker __

[issue3427] urllib documentation: urlopen().info() return type

2009-03-29 Thread Rodolpho Eckhardt
Rodolpho Eckhardt added the comment: Patch for 2.7. -- Added file: http://bugs.python.org/file13453/urllib_doc_2.7.diff ___ Python tracker ___ ___

[issue3427] urllib documentation: urlopen().info() return type

2009-03-29 Thread Rodolpho Eckhardt
Rodolpho Eckhardt added the comment: I'm including 2.7, as it also has this documentation problem. The rest of the documentation is correct. I know there is still work to be done on Issue 4773, which might affect this doc. -- keywords: +patch nosy: +rodolpho versions: +Python 2.7 Added

[issue4630] IDLE no longer respects .Xdefaults insertOffTime

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Here is a patch. But I'm not feeling comfortable with the option "display": Cursor blink ( ) No blink( ) Blink Those are radiobuttons. If I opted for a checkbutton then it would be different from everything on the "General" config, still.. -

[issue5576] Don't use PyLong_SHIFT with _PyLong_AsScaledDouble()

2009-03-29 Thread STINNER Victor
STINNER Victor added the comment: Long double (80 bits) exponent is in range [-16382; 16383] and so would fits in an int, unsigned int, size_t or Py_ssize_t. I don't know if a signed or unsigned number is better. I know only one operation on exponents: a-b in PyLong_AsDouble. -- __

[issue5006] Duplicate UTF-16 BOM if a file is open in append mode

2009-03-29 Thread STINNER Victor
STINNER Victor added the comment: seek() has also the problem? It's really hard to encode UTF-16/32 correctly... -- ___ Python tracker ___ ___

[issue3681] Cannot read saved csv file in a single run

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Closing for lack of interest. Rahul, the bug tracker is a place to provide help not to obtain help. So if you still have the problem mentioned, consider posting to a proper mail list and if you can confirm it is really a bug then create a new issue. --

[issue934418] nametowidget throws TypeError for Tcl_Objs

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: This is a duplicate of issue799428, which is already fixed. -- nosy: +gpolo resolution: -> out of date status: open -> closed ___ Python tracker

[issue1757831] Allow opening just an editor window

2009-03-29 Thread Guilherme Polo
Changes by Guilherme Polo : -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

2009-03-29 Thread STINNER Victor
STINNER Victor added the comment: > I'm still not sure why anyone would care about getting longs > instead of ints back from int(x) It's strange that sometimes we need to write int(int(obj)) to get an integer :-/ I usually use int(x) to convert x to an integer (type 'int' and not 'long'). > (0

[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

2009-03-29 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file13455/force_int-2.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

2009-03-29 Thread STINNER Victor
STINNER Victor added the comment: (oops, my patch v2 includes an unrelated change) -- Added file: http://bugs.python.org/file13456/force_int-3.patch ___ Python tracker ___ __

[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

2009-03-29 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file13426/force_int.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Hmm. I can't reproduce this. Is this a failure that just started happening recently on this particular platform, or is this the first time you ran the math test with this setup? I can't see any recent checkins that could have precipitated this. Could you att

[issue2578] Figure out what to do with unittest's redundant APIs

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I -did- add casing for the type to the main assertEqual method so it may > make sense to make the new type specific methods private so that they're > not part of the public API (ie: I agree with pitrou that it seems > pointless). Well, that's my own aesthetic

[issue1174606] Reading /dev/zero causes SystemError

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, it should be backported to 2.6 first, then. (which is not necessarily trivial since a lot of bug fixes in 3.0/3.1 weren't backported to the 2.6/2.7 "io" module, AFAIK) -- resolution: -> accepted stage: needs patch -> committed/rejected _

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yikes. I can't reproduce it anymore. Perhaps "make distclean" is really necessary when switching a working copy from a 64-bit to a 32-bit build... Sorry for the noise. -- resolution: -> invalid status: open -> closed __

[issue5595] os.path.ismount (ntpath) gives UnboundLocalError for any input

2009-03-29 Thread Michael Newman
New submission from Michael Newman : os.path.ismount gives UnboundLocalError for any input in Python 3.0: Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import os.path >>> os.path U

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: > Sorry for the noise. Not noise. I'd still be interested in understanding where this is coming from; I seem to recall someone else having exactly the same experience (reported bug, then found that it disappeared after a clean compile). My best guess is th

[issue2953] _zip_directory_cache untested and undocumented

2009-03-29 Thread Georg Brandl
Georg Brandl added the comment: I can't find a reference to _zip_directory_cache in distutils. Do you mean setuptools? -- ___ Python tracker ___

[issue2966] pydoc doesnt show 'from module import identifier' in the docs

2009-03-29 Thread Georg Brandl
Georg Brandl added the comment: I agree. -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-lis

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Found the other report of this: see issue 3421. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue2986] difflib.SequenceMatcher not matching long sequences

2009-03-29 Thread Georg Brandl
Georg Brandl added the comment: Tim, I think you've had some enlightening comments about difflib issues in the past. -- assignee: -> tim_one nosy: +georg.brandl, tim_one ___ Python tracker

[issue3421] Test failure in test_math::testSum

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: See also issue 5593. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: > My best guess is that you somehow ended up in a situation where the math > module was using the x87 FPU for floating-point, while the interpreter > core was using SSE2. Is this possible? I should also have said that this would fit with the 32-bit/64-bit st

[issue5595] os.path.ismount (ntpath) gives UnboundLocalError for any input

2009-03-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r70676. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > My best guess is that you somehow ended up in a situation where the math > module was using the x87 FPU for floating-point, while the interpreter > core was using SSE2. Is this possible? > That would be the reverse, since this occurred on a 32-bit build,

[issue694339] Dedenting with Shift+Tab

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Patch added for allowing, and defining, Shift-Tab as the default binding for dedenting. The problem is that dedent-region may do more than one would expect. -- keywords: +patch nosy: +gpolo versions: +Python 2.7, Python 3.1 -Python 2.6 Added file: http

[issue1562092] IDLE: Dedent with Italian keyboard

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Closing in favour of 694339. -- resolution: -> duplicate status: open -> closed superseder: -> Dedenting with Shift+Tab ___ Python tracker

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: > Wouldn't it be a problem with stale pyc files then? Hah! Yes! That seems entirely likely. So what sequence of moves does one have to go through to reproduce this? -- ___ Python tracker

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > Wouldn't it be a problem with stale pyc files then? > > Hah! Yes! That seems entirely likely. > > So what sequence of moves does one have to go through > to reproduce this? I suppose: first run "-m test.regrtest -v test_math" in 64-bit mode, then rebuil

[issue5588] Add --randseed to regrtest

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Should this get a Misc/NEWS entry? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue2953] _zip_directory_cache untested and undocumented

2009-03-29 Thread Maciek Fijalkowski
Maciek Fijalkowski added the comment: Seems I meant setuptools indeed. Note that brett's importlib contains some tests for _zip_directory_cache. -- ___ Python tracker ___ ___

[issue2593] alp_ReadFrames() integer overflow leads to buffer overflow

2009-03-29 Thread R. David Murray
R. David Murray added the comment: Closed per comments in issue2591. -- nosy: +bitdancer resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue2594] alp_readsamps() overflow leads to memory corruption in ?unused? SGI extension module almodule.c

2009-03-29 Thread R. David Murray
R. David Murray added the comment: closed per comments in issue2591. -- nosy: +bitdancer resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue2995] Idle, some Linuxes, cannot position Cursor by mouseclick

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, I have compiled python-trunk in this Mandriva 2009 now and it works! I didn't change tcl/tk version, just installed the dev packages in order to compile _tkinter. I still don't know how what kind of changes were done by Mandriva in order to achieve this pr

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Antoine! Yes, I can now reproduce the testFsum failure on my MacBook Pro (OS X 10.5.6/x86_64, with Apple's gcc 4.0.1) using the following sequence of commands: (I tested this for the trunk, but I py3k should be just the same). make distclean CC="gc

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think it would be sufficient to invoke the addition through a helper function, that is: def add(x, y): return x + y if add(1e16, 2.0) != add(1e16, 2.): return Also, instead of "return", you might use the new "raise unittest.SkipTest('some messag

[issue5596] memory leaks in 3.1

2009-03-29 Thread Antoine Pitrou
New submission from Antoine Pitrou : A couple of tests exhibit some memory leaks in the py3k branch (when invoked with "-R 3:2"). test_asyncore leaked [-78, 0] references, sum=-78 test_fileio leaked [1, 1] references, sum=2 test_httpservers leaked [-210, 157] references, sum=-53 test_socket leak

[issue5585] implement initializer for multiprocessing.BaseManager.start()

2009-03-29 Thread R. David Murray
R. David Murray added the comment: Right, it's just the Thread/Process API equivalance. I'm not saying it's a stopper, but the docs would probably need to be modified accordingly. As for tests, even just one that would prove that the method will be called and do something trivial would be a go

[issue5591] global symbols in shared libpython not prefixed with Py or _Py

2009-03-29 Thread Matthias Klose
Matthias Klose added the comment: sorry, forgot to add these ... _add_one_to_index_C _add_one_to_index_F asdl_int_seq_new asdl_seq_new -- ___ Python tracker ___

[issue5585] implement initializer for multiprocessing.BaseManager.start()

2009-03-29 Thread R. David Murray
R. David Murray added the comment: By the way, in case it isn't clear, I defer to Jesse on whether or not it makes sense to accept this :) -- ___ Python tracker ___ _

[issue5591] global symbols in shared libpython not prefixed with Py or _Py

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks like this is a duplicate of #4555 actually :) -- resolution: -> duplicate status: open -> closed superseder: -> Smelly exports ___ Python tracker __

[issue4555] Smelly exports

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: #5591 is a duplicate of this. -- nosy: +doko, pitrou ___ Python tracker ___ ___ Python-bugs-list mai

[issue3101] global function _add_one_to_index_C

2009-03-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue5585] implement initializer for multiprocessing.BaseManager.start()

2009-03-29 Thread Jesse Noller
Jesse Noller added the comment: I know, but tests (like the ones you outlined) would also make it more compelling -- ___ Python tracker ___ _

[issue5261] with lock fails on multiprocessing

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5573] multiprocessing Pipe poll() and recv() semantics.

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5585] implement initializer for multiprocessing.BaseManager.start()

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5574] multiprocessing queues.py doesn't include JoinableQueue in its __all__ list

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5501] Update multiprocessing docs re: freeze_support

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5228] multiprocessing not compatible with functools.partial

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5155] Multiprocessing.Queue created by sub-process fails when used in sub-sub-process ("bad file descriptor" in q.get())

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5331] multiprocessing hangs when Pool used within Process

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5313] multiprocessing.process using os.close(sys.stdin.fileno) instead of sys.stdin.close()

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue532631] Confusions in formatfloat

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: I've replaced the fabs(x) / 1e25 >= 1e25 test with fabs(x) >= 1e50 in r70678. On IEEE 754 systems, assuming round-to-nearest, these two tests have identical meaning. I've also fixed the docs, replacing 1e25 by 1e50. Is there a good reason for '%.100f'% 1e4

[issue5463] Remove deprecated features from struct module

2009-03-29 Thread Andreas Schawo
Andreas Schawo added the comment: Yes you're right. The TypeError should be an OverflowError. It was just the copy and paste thing. Hm, I also wondering why struct.error is used. But someone already wanted to change this. The patch looks fine. Do you want to go ahead with the float coercion

[issue5162] multiprocessing cannot spawn child from a Windows service

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5177] multiprocessing: SocketListener should use SO_REUSEADDR

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5400] patches for multiprocessing module on NetBSD

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue3735] allow multiple threads to efficiently send the same requests to a processing.Pool without incurring duplicate processing

2009-03-29 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1757057] IDLE + BeautifulSoup = Error

2009-03-29 Thread Tal Einat
Tal Einat added the comment: To recreate use BeautifulSoup 3.0.4 and run the following: >>> from BeautifulSoup import BeautifulSoup >>> soup = BeautifulSoup("aa>> x = soup.find('html').contents[0] >>> x u'aa' >>> print x Traceback (most recent call last): File "", line 1, in print x Run

[issue2578] Figure out what to do with unittest's redundant APIs

2009-03-29 Thread Guido van Rossum
Guido van Rossum added the comment: The naming pattern (assertListEqual, assertDictEqual, etc.) is pretty easy to pick up so I don't think the addition of several new methods is a big deal. Making assertEqual() do the right thing all the time is hard if there are subclasses that might override

[issue532631] Confusions in formatfloat

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: The worst-case length calculations look fine to me, except that on a system with sizeof(int) == 8 (yes, they do exist!) the precision could end up being more than 10 digits. I've added a check for that in r70682. The docs also already mention the %f -> %g conv

[issue5463] Remove deprecated features from struct module

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks again, Andreas. Applied in r70688. There's no particular hurry on removing the float coercion, except that I'd like to get it in before the first 3.1 beta. -- ___ Python tracker

[issue2522] locale.format() problems with decimal separator

2009-03-29 Thread R. David Murray
R. David Murray added the comment: It occured to me last night that it could be checked using a regular expression, and indeed the locale module already has a regular expression that matches percent codes. I've uploaded a patch that uses this regex to fix this issue. I've removed 2.6 and 3.0 a

[issue5597] inspect.formatargspec crashes on missing kwonlydefaults

2009-03-29 Thread Petr Dolezal
New submission from Petr Dolezal : inspect.formatargspec is not able to handle functions with keyword only arguments without the default values (probably rare, but still allowed). This has also impact on help command which is then unable to show proper help page for such functions. Offending fu

[issue2995] Idle, some Linuxes, cannot position Cursor by mouseclick

2009-03-29 Thread Matthias Sommer
Matthias Sommer added the comment: Guilherme Polo wrote: I am the originator of this issue, and I'm back here. So I can add some text. I remember having read comments on this issue striking on other linuxes too. But I do not remember anymore what distibutions this were. I switched my Python

[issue5597] inspect.formatargspec crashes on missing kwonlydefaults

2009-03-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: This was fixed in r68647 and will appear in 3.0.2 and 3.1. -- nosy: +benjamin.peterson resolution: -> out of date status: open -> closed ___ Python tracker

[issue5390] Item 'Python x.x.x' in Add/Remove Programs list still lacks an icon

2009-03-29 Thread Retro
Retro added the comment: I think this is an easy fix. Please try to fix this issue. Thank you. -- versions: -Python 2.6, Python 3.0 ___ Python tracker ___ __

[issue5596] memory leaks in 3.1

2009-03-29 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I hope attached patch will fix test_fileio leak. -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/file13459/py3k_fix_leak_of_fileio.patch ___ Python tracker

[issue5596] memory leaks in 3.1

2009-03-29 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I hope attached patch will fix leak of test_socket.py. Leak is happening in FileObjectClassTestCase#testFullRead and testCloseAfterMakefile. (actually, IOBase#readall) -- Added file: http://bugs.python.org/file13460/py3k_fix_leak_of_test_socket.patc

[issue5596] memory leaks in 3.1

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Applied in r70690, thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Victor A couple of things: - I'm getting a test failure in test_class - you should probably be using sys.maxint rather than sys.maxsize: the two aren't necessarily the same. (E.g., on 64-bit windows, I believe that sys.maxint is 2**31-1 while sys.m

[issue1757057] IDLE + BeautifulSoup = Error

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: > IMO IDLE should check for any exception > (not just pickle.PicklingError) when trying to pickle an object for > sending to the parent process. If pickle doesn't work, for whatever > reason, IDLE can still try to work around it with str() and/or repr(). > Do y

[issue2578] Figure out what to do with unittest's redundant APIs

2009-03-29 Thread Skip Montanaro
Changes by Skip Montanaro : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/op

[issue2578] Figure out what to do with unittest's redundant APIs

2009-03-29 Thread Skip Montanaro
Skip Montanaro added the comment: Personally, I would prefer it if unittest got rid of all the various ways to spell "assert" and just let test cases use the assert statement. I use nose for most of my stuff which supports/allows use of the assert statement. I think my test cases are better for

[issue2578] Figure out what to do with unittest's redundant APIs

2009-03-29 Thread Skip Montanaro
Skip Montanaro added the comment: Just in case it can't be retrieved, here is Greg's text from msg84360: Oh for reference, i left these out but they may interest people for completeness sake. assert_ 15% assertTrue 9% assertFalse 5% We don't currently h

[issue2625] mailbox.MH.get_message() treats result of get_sequences() as list of tuples

2009-03-29 Thread R. David Murray
R. David Murray added the comment: Patch with test attached. -- keywords: +easy, patch nosy: +bitdancer stage: -> patch review versions: +Python 2.6, Python 2.7, Python 3.1 -Python 2.5 Added file: http://bugs.python.org/file13461/issue2625.patch ___

[issue5545] multiprocessing: switch to autoconf detection of platform values

2009-03-29 Thread Roumen Petrov
Roumen Petrov added the comment: Cchristian it is not about random idea. It is how to write simple readable and correct autoconf script. Compare my check for functions (see attached bootstrap.sh) with you. Also some of macros in you patch are marked as obsolete. $ CC=g++ ./bootstrap.sh ... #de

[issue2578] Figure out what to do with unittest's redundant APIs

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Skip: bugs.python.org/issuexx...@action=edit&@a...@messages=msgnum This "Remove" button... :) -- ___ Python tracker ___ ___

[issue2578] Figure out what to do with unittest's redundant APIs

2009-03-29 Thread Guido van Rossum
Guido van Rossum added the comment: I would love to use the time machine to kill the 'fail' variants as well as 'assert_'. However they are in use and we don't want to break people's tests. Breaking tests is painful. And there are a lots of tests. So we'll have to support them for a long, lo

[issue2578] Figure out what to do with unittest's redundant APIs

2009-03-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2009/3/29 Guido van Rossum : > > Guido van Rossum added the comment: > > I would love to use the time machine to kill the 'fail' variants as well > as 'assert_'.  However they are in use and we don't want to break > people's tests.  Breaking tests is painful

[issue5584] json.loads(u'3.14') fails unexpectedly (minor scanner bug)

2009-03-29 Thread Bob Ippolito
Changes by Bob Ippolito : -- resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue2531] float compared to decimal is silently incorrect.

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Removing easy keyword, since I don't think it applies here. The problem here is hashing: either we break the rule that if two objects compare equal then they hash equal, or we fix hash so that e.g., hash(Decimal('2.5')) == hash(2.5). For the latter, the least

[issue5598] "paths" argument missing in DocFileSuite documentation

2009-03-29 Thread harobed
New submission from harobed : This is DocFileSuite function source code (http://svn.python.org/view/python/trunk/Lib/doctest.py) : :: def DocFileSuite(*paths, **kw): """A unittest suite for one or more doctest files. The path to each doctest file is given as a string; the

[issue5337] Scanner class in re module undocumented

2009-03-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm sure people are already rely on the intimate details of this class, so why not? -- ___ Python tracker ___ ___

[issue1757057] IDLE + BeautifulSoup = Error

2009-03-29 Thread Tal Einat
Tal Einat added the comment: Sending a code object back to the parent process and having it deal with the situation sounds very unpleasant indeed! I think a completely different type of solution may be possible. In general, I can't think of any reason for IDLE to pickle "user objects" from the

[issue5596] memory leaks in 3.1

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: The only remaining leaks now are: test_urllib2 leaked [227, 227] references, sum=454 test_urllib2_localnet leaked [3, 3] references, sum=6 -- ___ Python tracker __

[issue3829] Tuple comparison masking exception

2009-03-29 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: I don't think the compare is actually masking an exception. The set type defines a tp_richcompare routine that gets called when comparing them as members of a tuple, but the set type also defines a tp_compare routine that does nothing but raise an exception.

[issue5563] Document bdist_msi

2009-03-29 Thread Steven Bethard
Steven Bethard added the comment: I'm thinking of stealing/condensing some of the text from here: http://www.dcl.hpi.uni-potsdam.de/home/loewis/msipackage.html Does that seem okay? Is any of that text no longer accurate? (E.g. does bdist_wininst now support Win64?) --

[issue5584] json.loads(u'3.14') fails unexpectedly (minor scanner bug)

2009-03-29 Thread Bob Ippolito
Bob Ippolito added the comment: trunk fix for 2.7 is in r70702 -- unsure about how to port this to 3.1 -- ___ Python tracker ___ ___ P

[issue5381] json needs object_pairs_hook

2009-03-29 Thread Bob Ippolito
Bob Ippolito added the comment: I fixed two problems with this that didn't show up in the test suite, this feature didn't work in load() and there was a problem with the pure python code path because the Python scanner needed a small change. Unfortunately I'm not sure how to best test the pur

[issue4295] closing stdout in a child process on cygwin means that process doesn't receive bytes from stdin anymore. I think.

2009-03-29 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: I created a simple parent/child pair using subprocess under cygwin and Python 2.5 and for me closing stdout did not affect stdin. It would appear the problem is caused by something else? -- nosy: +stutzbach Added file: http://bugs.python.org/file1346

[issue4295] closing stdout in a child process on cygwin means that process doesn't receive bytes from stdin anymore. I think.

2009-03-29 Thread Daniel Stutzbach
Changes by Daniel Stutzbach : Added file: http://bugs.python.org/file13464/child.py ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue2755] IDLE ignores module change before restart

2009-03-29 Thread Guilherme Polo
Guilherme Polo added the comment: Is there any reason to keep this open ? It is not a IDLE bug, the title is misleading, and a solution has been provided for the problem related to how Ubuntu packages IDLE. -- nosy: +gpolo ___ Python tracker

[issue5563] Document bdist_msi

2009-03-29 Thread Martin v. Löwis
Martin v. Löwis added the comment: That should all be correct still (except that the status has advanced); using it for the documentation is fine. It's just that it is more rationale than specification. -- ___ Python tracker

[issue3959] Add Google's ipaddr.py to the stdlib

2009-03-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: benjamin.peterson mentioned this in his whats new in 3.1 lightning talk at pycon today and completely by chance, I had made showing a couple examples of ipaddr the topic of my own lightning talk ~30 minutes later. :) Anyways I hope to commit this for 3.1 and

  1   2   3   >