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

2009-04-01 Thread lekma
lekma added the comment: thanks guys -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-01 Thread Hye-Shik Chang
Hye-Shik Chang added the comment: Sorry. I just found that the fix breaks few other test units. I'll check. -- ___ Python tracker ___

[issue5640] Wrong print() result when unicode error handler is not 'strict'

2009-04-01 Thread Hye-Shik Chang
Hye-Shik Chang added the comment: Right. Here I upload a patch to fix the addressed problem on cjkcodecs. Please test whether the patch corrects the behavior. -- keywords: +patch Added file: http://bugs.python.org/file13572/cjkcodecs-fix-statefulenc.diff ___

[issue5660] Cannot deepcopy unittest.TestCase instances

2009-04-01 Thread Michael Foord
Michael Foord added the comment: Fixed in revision 71043. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ P

[issue616247] More documentation for the imp module

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: As Raymond pointed out, people should not use the undocumented functions. Deprecation should be a separate issue. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue2227] time.strptime too strict? should it assume current year?

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: After having thought about this I have decided I am going to stick with the current semantics. Having the year change underneath code based solely on when it executes will cause more problems than it will solve. -- resolution: -> rejected status: open ->

[issue1641] asyncore delayed calls feature

2009-04-01 Thread Daniel Stutzbach
Changes by Daniel Stutzbach : -- nosy: +stutzbach ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue3831] Multiprocessing: Expose underlying pipe in queues

2009-04-01 Thread Jesse Noller
Jesse Noller added the comment: Can you please provide an example w.r.t to how you would handle the case where poll()/recv returns partial bytes of the object instead of a full object? -- ___ Python tracker _

[issue3619] A more informative message for ImportError

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: Closing as "won't fix" as this assumes that path information is applicable to all importers which is not correct. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue5660] Cannot deepcopy unittest.TestCase instances

2009-04-01 Thread Michael Foord
Michael Foord added the comment: We can fix this by wrapping the assert functions in our assert register as deep-copyable objects. (And then unwrapping when we fetch them.) -- ___ Python tracker ___

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

2009-04-01 Thread Jesse Noller
Jesse Noller added the comment: committed in r71041 on python trunk, provided clean buildbots, we will merge to python 3.1 -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue5442] [3.1alpha1] test_importlib fails on Mac OSX 10.5.6

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: Fixed in r71042. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue5660] Cannot deepcopy unittest.TestCase instances

2009-04-01 Thread Michael Foord
Michael Foord added the comment: This is a workaround: import copy copy._deepcopy_dispatch[types.MethodType] = copy._deepcopy_atomic -- ___ Python tracker ___ __

[issue5665] Add more pickling tests

2009-04-01 Thread Collin Winter
New submission from Collin Winter : The attached patch adds more tests for pickling: - Add tests for the module-level load() and dump() functions. - Add tests for cPickle's internal data structures, stressing workloads with many gets/puts. - Add tests for the Pickler and Unpickler classes, in par

[issue2568] Seconds range in time unit

2009-04-01 Thread R. David Murray
R. David Murray added the comment: Doc patch applied in r71037. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue5660] Cannot deepcopy unittest.TestCase instances

2009-04-01 Thread Michael Foord
Changes by Michael Foord : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1005113] test__locale fails on MacOS X

2009-04-01 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue3551] multiprocessing.Pipe terminates with ERROR_NO_SYSTEM_RESOURCES if large data is sent (win2000)

2009-04-01 Thread Jesse Noller
Jesse Noller added the comment: Patch applied in r71036 on python-trunk -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue689895] Imports can deadlock

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: Obviously we decided not to remove the import lock. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___

[issue4347] Circular dependency causes SystemError when adding new syntax

2009-04-01 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue787113] zipimport on meta_path fails with mutual importers

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: The zipimporter is not designed to work on sys.meta_path, so closing as "won't fix". -- resolution: -> wont fix status: open -> closed ___ Python tracker _

[issue809254] imp.find_module doesn't work in /tmp

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: It's because /tmp on OS X is a symlink to /private/tmp. Works fine if you specify /private as the search path. -- resolution: -> invalid status: open -> closed ___ Python tracker

[issue856103] reload() fails with modules from zips

2009-04-01 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue965206] importing dynamic modules via embedded python

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: sys.builtin_module_names lists the modules that are statically linked. -- resolution: -> invalid status: open -> closed ___ Python tracker ___

[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0

2009-04-01 Thread Jesse Noller
Jesse Noller added the comment: Closing; we've removed hard-coded platform variables for a better autoconf approach. We currently skip the test suite on platforms which don't support or have what we need. -- resolution: -> fixed status: open -> closed ___

[issue966431] import x.y inside of module x.y

2009-04-01 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> resolution: -> out of date status: open -> closed superseder: -> attribute error after non-from import ___ Python tracker _

[issue4847] csv fails when file is opened in binary mode

2009-04-01 Thread R. David Murray
Changes by R. David Murray : -- assignee: georg.brandl -> r.david.murray Added file: http://bugs.python.org/file13570/issue4847-doc.patch ___ Python tracker ___ __

[issue4847] csv fails when file is opened in binary mode

2009-04-01 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file13569/issue4847-doc.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue1641] asyncore delayed calls feature

2009-04-01 Thread Guido van Rossum
Guido van Rossum added the comment: Looking back, I think Zope and Medusa should have adopted and evolved their own copy of asynchat a long time ago... -- ___ Python tracker ___

[issue1214675] module warnings lacks a remove filter function

2009-04-01 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1419652] PyImport_AppendInittab stores pointer to parameter

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: I made the char * a const char *. Committed in r71031 & r71033 for 2.x, r71034 for 3.x. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue4847] csv fails when file is opened in binary mode

2009-04-01 Thread R. David Murray
R. David Murray added the comment: I'm attaching a proposed doc patch for comment. I replace mentions of 'rb' with "newline=''", including in the examples. I also deleted the unicode discussion (since CSV obviously handles unicode now) as well as the extensive unicode examples that are no long

[issue5663] Better failure messages for unittest assertions

2009-04-01 Thread Michael Foord
Changes by Michael Foord : -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5664] 2to3 wont convert Cookie.Cookie properly

2009-04-01 Thread Senthil
New submission from Senthil : In 2.7 code have: import Cookie c = Cookie.Cookie('abc') 2to3 would do: c = http.cookies.Cookie('abc') This is wrong as there is no class as Cookie in http.cookies. It should translated to be http.cookies.SimpleCookie. -- assignee: benjamin.peterson compon

[issue5663] Better failure messages for unittest assertions

2009-04-01 Thread Michael Foord
Michael Foord added the comment: Updated patch with better docstring for _formatMessage and docs. Patch reviewed by Brett Cannon so will commit. -- Added file: http://bugs.python.org/file13568/unittest-messages.diff ___ Python tracker

[issue4860] js_output wrong for cookies with " characters

2009-04-01 Thread Senthil
Senthil added the comment: Because SimpleCookie class is still usable (that is not deprecated), it makes sense to back port to Py2.7. Applied the patches in revision 71030 and r71029. Thanks. -- status: open -> closed versions: +Python 3.1 ___ Python

[issue4217] Add file comparisons to the unittest library

2009-04-01 Thread Georg Brandl
Georg Brandl added the comment: I'm not sure we need new unittest functions for file comparison; but a function in difflib that directly takes two filenames would perhaps be accepted. That will need a new patch however. -- assignee: -> zseil nosy: +georg.brandl, zseil resolution: ->

[issue5658] make html in doc fails because Makefile assigns python to PYTHON

2009-04-01 Thread Georg Brandl
Georg Brandl added the comment: Why is a change to the Makefile an "inconsistency"? Anyway, once 3.1 is released the naming scheme will be announced. -- ___ Python tracker ___ __

[issue701743] Reloading pseudo modules

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: Since reload is about reloading modules and sticking stuff other than modules in sys.modules is a partial hack I am closing as "rejected". -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-04-01 Thread Georg Brandl
Georg Brandl added the comment: Closing. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue1641] asyncore delayed calls feature

2009-04-01 Thread Chris McDonough
Chris McDonough added the comment: I am the developer of Supervisor (http://supervisord.org) which depends on (and extends) Medusa 0.5.4, which itself depends on some implementation details of pre-2.6 versions of asynchat (e.g. "ac_out_buffer"). I need to make sure Supervisor works with Python

[issue1514734] site.py can break the location of the python library

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: The semantics of the functions in os cannot change. And I prefer keeping it as-is since I wouldn't want to change the symlinks on a relative path. -- assignee: brett.cannon -> resolution: -> wont fix status: open -> closed _

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I recommend rejecting this one. The assert is sufficient for third-party modules to run their tests and detect bad calls. The code path is too critical to add another check. -- assignee: loewis -> georg.brandl _

[issue3110] Multiprocessing package build problem on Solaris 10

2009-04-01 Thread Jesse Noller
Jesse Noller added the comment: Additional protection checked in in r71022 -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-04-01 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-04-01 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue5657] bad repr of itertools.count object with negative value on OS X 10.4 with 10.5 build

2009-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: Martin, do you have any insight into this? The values being seen and the fact that it occurs only in a particular build suggests that pyport.h has inconsistent definitions for Py_ssize_t, PY_SSIZE_T_MAX, and PY_SSIZE_T_MIN. The values look like signed and u

[issue5654] Add C hook in PyDict_SetItem for debuggers

2009-04-01 Thread John Ehresman
John Ehresman added the comment: My hope is that the runtime performance cost will be negligible but if it isn't, it probably shouldn't go in. The issue with not putting it in another build is that many python debugger users won't want to recompile, so I see it as being of limited use if it'

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Martin, do you have any insight into this Are you sure you commenting into the right issue? How does Py_ssize_t come into play here? -- title: PyDict_SetItemString() fails when the second argument is null -> PyDict_SetItemString() fails when the se

[issue1044382] Can't raise "C API version mismatch" warning

2009-04-01 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5663] Better failure messages for unittest assertions

2009-04-01 Thread Michael Foord
Michael Foord added the comment: Reviewers: , Description: Patch for unittest on trunk. It provides better default failure messages for assertTrue and assertFalse (current is "AssertionError: None"). It also provides a new class attribute for TestCase: longMessage This defaults to False. If

[issue5663] Better failure messages for unittest assertions

2009-04-01 Thread Michael Foord
New submission from Michael Foord : Patch for unittest on trunk. It provides better default failure messages for assertTrue and assertFalse (current is "AssertionError: None"). It also provides a new class attribute for TestCase: longMessage This defaults to False. If set to True, passing in a

[issue5662] py3k interpreter leak

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

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: Martin, do you have any insight into this? The values being seen and the fact that it occurs only in a particular build suggests that pyport.h has inconsistent definitions for Py_ssize_t, PY_SSIZE_T_MAX, and PY_SSIZE_T_MIN. The values look like signed and u

[issue779191] BasicModuleLoader behaviour in Python 2.3c2

2009-04-01 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2009-04-01 Thread Jesse Noller
Jesse Noller added the comment: Closing as fixed until the buildbots prove otherwise -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue1507224] sys.path issue if sys.prefix contains a colon

2009-04-01 Thread Brett Cannon
Brett Cannon added the comment: Autoconf will not even generate a Makefile that will run with a prefix of ``/tmp/\:colon`` so closing as out of date since their is a more fundamental toolchain issue outside of our control. -- resolution: -> out of date status: open -> closed _

[issue4573] zsh-style subpattern matching for fnmatch/glob

2009-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I like glob_ext() and fnmatch_ext(). -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-

[issue4573] zsh-style subpattern matching for fnmatch/glob

2009-04-01 Thread Erick Tryzelaar
Erick Tryzelaar added the comment: I completely agree, Georg. I tried to get this in before 3.0, but it didn't work out which is a shame. I assume you also feel that we couldn't make a backwards compatible change in 3.1, right? I thought I heard that 3.1 may break some things in 3.0, but I'm not

[issue5662] py3k interpreter leak

2009-04-01 Thread George Yoshida
New submission from George Yoshida : In py3k interpreter, every time you hit enter, refcount is incremented one by one. It looks like r70823 is the culprit. (tested with py3k:70823 and release30-maint:70831) Python 3.1a1+ (py3k:70823, Apr 2 2009, 10:21:55) [GCC 4.3.2] on linux2 Type "help", "c

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

2009-04-01 Thread Jesse Noller
Jesse Noller added the comment: This is committed as of CL 71007 on trunk. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5661] asyncore should catch EPIPE while sending() and receiving()

2009-04-01 Thread Josiah Carlson
Josiah Carlson added the comment: I think that catching one more potential failure modes is reasonable. I'm probably going to apply a variant of this patch to pull the sequence into a frozenset for quick lookups, and so that we don't need to keep updating two different places if/when new fai

[issue1525549] Document additions from PEP 302

2009-04-01 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5654] Add C hook in PyDict_SetItem for debuggers

2009-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a critical path in Python and it should be kept as clean as possible. If something like this goes in, it should be #ifdef'd out by default; otherwise, we have everyone paying the price for a feature that almost no one will use. Strong -1 against thi

[issue5661] asyncore should catch EPIPE while sending() and receiving()

2009-04-01 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : I received a report from a pyftpdlib user: http://code.google.com/p/pyftpdlib/issues/detail?id=104 ...complaining that an unhandled EPIPE error might be thrown by asyncore.py on OS X in certain circumstances which are hardly reproducible. By googling a lit

[issue5391] mmap: read_byte/write_byte and object type

2009-04-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- priority: -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5410] msvcrt bytes cleanup

2009-04-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- priority: -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5660] Cannot deepcopy unittest.TestCase instances

2009-04-01 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mail

[issue5499] only accept byte for getarg('c') and unicode for getarg('C')

2009-04-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r71013. -- nosy: +benjamin.peterson resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue5660] Cannot deepcopy unittest.TestCase instances

2009-04-01 Thread Andrew Bennetts
New submission from Andrew Bennetts : Here's a demonstration of the bug: >>> from unittest import TestCase >>> class MyTest(TestCase): ... def test_foo(self): pass ... >>> tc = MyTest('test_foo') >>> import copy >>> copy.deepcopy(tc) Traceback (most recent call last): File "", line 1, in

[issue5658] make html in doc fails because Makefile assigns python to PYTHON

2009-04-01 Thread Mitchell Model
Mitchell Model added the comment: OK, makes sense. Just out of curiosity where does a user find that information? a developer? There is still an inconsistency between the Makefiles in the two versions. That seems dangerous. -- -- --- Mitchell -- title: make html in doc fa

[issue4860] js_output wrong for cookies with " characters

2009-04-01 Thread Senthil
Senthil added the comment: Cookie.Cookie is deprecated in Py2k. In Py3k, it is http.cookies.SimpleCookie. The bug was present in Py3k, the attached patch fixes it. -- assignee: -> orsenthil nosy: +orsenthil resolution: -> accepted Added file: http://bugs.python.org/file13564/issue4860

[issue5654] Add C hook in PyDict_SetItem for debuggers

2009-04-01 Thread John Ehresman
John Ehresman added the comment: Oops, the multiprocessing changes should not be in the patch -- nosy: +sdeibel ___ Python tracker ___ ___

[issue1641] asyncore delayed calls feature

2009-04-01 Thread Guido van Rossum
Guido van Rossum added the comment: Josiah, there's no need to get all defensive and passive-aggressive about it. I'm just reporting about strong feelings that were brought up at the language summit -- to my surprise too! Admitting somebody made a mistake would be step one (and I'll gladly admit

[issue1608921] PyThread_release_lock with pthreads munges errno

2009-04-01 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> invalid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue4136] merge json library with latest simplejson 2.0.x

2009-04-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: This change should be ported to py3k sometime before the first beta. -- nosy: +benjamin.peterson priority: critical -> deferred blocker ___ Python tracker __

[issue1608921] PyThread_release_lock with pthreads munges errno

2009-04-01 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: He he, well my attempts at replicating this on Linux and OS X failed using Python 2.3->2.6 so I'm closing this bug. I'm uploading the test case for what it's worth. My best guess at what happened is that there was some interaction w/ older gdb, since I do

[issue2578] additional unittest type equality methods

2009-04-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Done in r71004. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue1641] asyncore delayed calls feature

2009-04-01 Thread Josiah Carlson
Josiah Carlson added the comment: To be wholly clear about the issues, it's not with asyncore, the core asynchronous library, it's with asynchat and the internal changes to that. Any changes to asyncore were to fix corner cases and exceptions. No API, internal or external was changed. Pe

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-04-01 Thread Georg Brandl
Georg Brandl added the comment: Raymond, do you have an opinion about this? -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ _

[issue5658] make html in doc fails because Makefile assigns python to PYTHON

2009-04-01 Thread Georg Brandl
Georg Brandl added the comment: We don't recommend calling Python 3.x "python". In fact, the executable will always be called "python3" in Python 3.1+. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker

[issue5657] bad repr of itertools.count object with negative value on OS X 10.4 with 10.5 build

2009-04-01 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue5499] only accept byte for getarg('c') and unicode for getarg('C')

2009-04-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: good catch. the patch looks correct to me. -- nosy: +gregory.p.smith ___ Python tracker ___ ___ P

[issue2578] additional unittest type equality methods

2009-04-01 Thread Guido van Rossum
Guido van Rossum added the comment: Do I mind? I *insist*! I thought put a note about that in the code review but I guess Greg missed it. Thanks for noticing. -- ___ Python tracker _

[issue5656] Coverage execution fails for files not encoded with utf-8

2009-04-01 Thread Georg Brandl
Georg Brandl added the comment: Committed in r71002. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue1641] asyncore delayed calls feature

2009-04-01 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I don't know what are the problems experienced by the Zope folks (is there a place where this is discussed?) but I can guess that they're having problems with asynchat rather than with asyncore, since the latter hasn't changed too much between 2.5 and 2.6 exc

[issue4847] csv fails when file is opened in binary mode

2009-04-01 Thread R. David Murray
R. David Murray added the comment: I've added some unit tests for embedded newlines, and py3k csv passes (on linux at least) when newline='' is used. Unless someone can provide a test case that fails when newline='' is used, I propose we fix the documentation and leave the code alone.

[issue2578] additional unittest type equality methods

2009-04-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Do you mind if I rename all the double underscore methods that Greg's patch added to _ underscore matching the style of the rest of the module? -- ___ Python tracker ___

[issue5659] logging.FileHandler encoding parameter does not work as expected

2009-04-01 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> vsajip nosy: +vsajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue5659] logging.FileHandler encoding parameter does not work as expected

2009-04-01 Thread Kuno
New submission from Kuno : When attempting to use the encoding="" parameter of logging.FileHandler I always get a UnicodeError. This looks like a bug to me (otherwise I am seriously misunderstanding what the parameter is supposed to do). The attached file contains the code to reproduce this erro

[issue5215] change value of local variable in debug

2009-04-01 Thread Maru Newby
Maru Newby added the comment: Modifications to the f_locals dict are only saved at the end of traceback, and each traceback function was using the f_locals accessor that returns the dict state as of the start of traceback. The provided patch caches f_locals on setup and ensures that all traceba

[issue5654] Add C hook in PyDict_SetItem for debuggers

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis added the comment: The patch seems to contain unrelated changes to multiprocessing. -- nosy: +loewis ___ Python tracker ___ __

[issue3448] Multi-process 2to3

2009-04-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: I added some support for concurrent running in r70999. -- resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue3551] multiprocessing.Pipe terminates with ERROR_NO_SYSTEM_RESOURCES if large data is sent (win2000)

2009-04-01 Thread John Ehresman
John Ehresman added the comment: New patch which raises ValueError if WriteFile fails with ERROR_NO_SYSTEM_RESOURCES. I wasn't able to reliably write a test since putting the send_bytes in a try block seems to allow the call succeed. This is probably OS, swap file size, and timing dependent.

[issue1641] asyncore delayed calls feature

2009-04-01 Thread Guido van Rossum
Guido van Rossum added the comment: Well arguably asyncore is unsalvageable due to the undocumented internals issue, and we sure know a bit more about how to design a *good* asynchronous API than we did when asyncore was created. (One hint: don't make subclassing part of your API.) The Zope fol

[issue5139] Add combinatoric counting functions to the math module.

2009-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: Upon further thought, I'm going to withdraw this feature request. If an integer functions module surfaces at some point, it will be an obvious addition. -- resolution: -> rejected status: open -> closed ___ Pyth

[issue5205] String Formatting with namedtuple

2009-04-01 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue2531] float compared to decimal is silently incorrect.

2009-04-01 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> marketdickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue2531] float compared to decimal is silently incorrect.

2009-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: Mark, I looked at your patch again and think we should support relaxed conversions for ordering comparisons but not equality/inequality. This will improve on the current situation where we get flat-out misleading results for <, <=, >, and >=. It keeps the s

[issue1641] asyncore delayed calls feature

2009-04-01 Thread Josiah Carlson
Josiah Carlson added the comment: Here's a question: How do we fix 2.6? >From what I've read, the only answer I've heard is "revert to 2.5 in 2.6.2", which has the same issues as adding True/False in 2.2 . I agree that Zope not working in 2.6 is a problem, I agree that the documentation for

  1   2   3   >