[issue2645] httplib throws ValueError

2008-04-20 Thread Georg Brandl

Georg Brandl <[EMAIL PROTECTED]> added the comment:

I decided not to do that since it changes the exception raised, which I
guess the release managers won't view as a bugfix.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-04-20 Thread Ralf Schmitt

Ralf Schmitt <[EMAIL PROTECTED]> added the comment:

Skip, thanks for handling this.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2635] textwrap: bug in 'fix_sentence_endings' option

2008-04-20 Thread Mark Dickinson

Mark Dickinson <[EMAIL PROTECTED]> added the comment:

I can reproduce the problem, and agree with the analysis.

Giuseppe, do you have time to produce a patch that fixes
this problem and adds appropriate tests to test_textwrap.py?

--
keywords: +easy
nosy: +marketdickinson
priority:  -> normal
versions: +Python 2.5, Python 2.6

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2662] Allows HUGE_VAL as extern variable

2008-04-20 Thread Hirokazu Yamamoto

New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>:

>/* On Windows HUGE_VAL is an extern variable and not a constant. Since the
>   special value arrays need a constant we have to roll our own infinity
>   and nan. */

This patch removes this limitation.

--
components: Extension Modules
messages: 65646
nosy: ocean-city
severity: normal
status: open
title: Allows HUGE_VAL as extern variable
versions: Python 2.6

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2662] Allows HUGE_VAL as extern variable

2008-04-20 Thread Hirokazu Yamamoto

Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>:


--
keywords: +patch
Added file: http://bugs.python.org/file10064/cmathmodule.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2662] Allows HUGE_VAL as extern variable

2008-04-20 Thread Mark Dickinson

Mark Dickinson <[EMAIL PROTECTED]> added the comment:

Sounds good.

What patch?  :-)

--
nosy: +marketdickinson

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2662] Allows HUGE_VAL as extern variable

2008-04-20 Thread Mark Dickinson

Mark Dickinson <[EMAIL PROTECTED]> added the comment:

Got it. Thanks.  This may also fix the failure to build cmath on alpha 
Tru64.

--
assignee:  -> marketdickinson

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2662] Allows HUGE_VAL as extern variable

2008-04-20 Thread Mark Dickinson

Changes by Mark Dickinson <[EMAIL PROTECTED]>:


--
priority:  -> normal

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2662] Allows HUGE_VAL as extern variable

2008-04-20 Thread Mark Dickinson

Mark Dickinson <[EMAIL PROTECTED]> added the comment:

Applied in r62418.

Thank you very much!

--
resolution:  -> accepted
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-04-20 Thread Tarek Ziadé

Tarek Ziadé <[EMAIL PROTECTED]> added the comment:

I suppose the simplest way to deal with the problem is to force utf-8
encoding for the concerned fields, since this problem will dissapear in 3k.
 
Here's a simplified patch, that does it, so write_pkg_file behaves as
expected.

Added file: http://bugs.python.org/file10065/distutils.unicode.simplified.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1160] Medium size regexp crashes python

2008-04-20 Thread Greg Detre

Greg Detre <[EMAIL PROTECTED]> added the comment:

Dear all,

I've just switched from linux to a mac, and I'm suddenly starting to
experience this issue with a machine-generated regexp that I depend on.
Are there any plans to fix this in a future version of python?

Thank you,
   Greg

--
nosy: [EMAIL PROTECTED]

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2623] Patch: xmlrpclib client ignores datetime tzinfo when creating iso8601 dates

2008-04-20 Thread Ralf Schmitt

Changes by Ralf Schmitt <[EMAIL PROTECTED]>:


--
nosy: +schmir

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2663] shutil.copytree glob-style filtering [patch]

2008-04-20 Thread Tarek Ziadé

New submission from Tarek Ziadé <[EMAIL PROTECTED]>:

Here's a first draft of a small addon to shutil.copytree.

This patch allows excluding some folders or files from the copy, given
glob-style patterns. A callable can also be provided instead of the
patterns, for a more complex filtering.

I didn't upgrade Doc/shutil.rst yet in this patch, as this can be done
when the change will be accepted and in its final shape I guess.

--
components: Library (Lib)
files: shutil.copytree.filtering.patch
keywords: patch
messages: 65652
nosy: tarek
severity: normal
status: open
title: shutil.copytree glob-style filtering [patch]
type: feature request
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file10066/shutil.copytree.filtering.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2663] shutil.copytree glob-style filtering [patch]

2008-04-20 Thread Gustavo J. A. M. Carneiro

Changes by Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]>:


--
nosy: +gustavo

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2659] textwrap handling of hyphenation

2008-04-20 Thread Antoine Pitrou

Antoine Pitrou <[EMAIL PROTECTED]> added the comment:

Two things:
- I think the added argument should come at the end of the argument
list, so that code currently passing `drop_whitespace` positionally
isn't broken by the change
- it would be nice to have unit tests

--
nosy: +pitrou

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2659] textwrap handling of hyphenation

2008-04-20 Thread Sylvain Fourmanoit

Sylvain Fourmanoit <[EMAIL PROTECTED]> added the comment:

Thanks for the feedback. Enclosed patch:

- moves the added "break_on_hyphens" argument at the end of the argument
list
- adds a unit test for the new attribute

Added file: http://bugs.python.org/file10067/textwrap_break_on_hyphens_2.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2659] textwrap handling of hyphenation

2008-04-20 Thread Sylvain Fourmanoit

Changes by Sylvain Fourmanoit <[EMAIL PROTECTED]>:


Removed file: http://bugs.python.org/file10061/textwrap_hyphens_doc.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2659] textwrap handling of hyphenation

2008-04-20 Thread Sylvain Fourmanoit

Changes by Sylvain Fourmanoit <[EMAIL PROTECTED]>:


Added file: http://bugs.python.org/file10068/textwrap_hyphens_doc.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2635] textwrap: bug in 'fix_sentence_endings' option

2008-04-20 Thread Giuseppe Scelsi

Giuseppe Scelsi <[EMAIL PROTECTED]> added the comment:

Mark,

I am not familiar with the process and at this particular time I am
quite busy.  I am happy to do it if it not urgent, but that might mean
after I come back from overseas in June.  Otherwise please go ahead with
the changes, for someone familiar with the process it should be a very
simple matter.  PLease let me know.

Thanks and regards,

Giuseppe



> Mark Dickinson <[EMAIL PROTECTED]> added the comment:
>
> I can reproduce the problem, and agree with the analysis.
>
> Giuseppe, do you have time to produce a patch that fixes
> this problem and adds appropriate tests to test_textwrap.py?
>
> --
> keywords: +easy
> nosy: +marketdickinson
> priority:  -> normal
> versions: +Python 2.5, Python 2.6
>
> __
> Tracker <[EMAIL PROTECTED]>
> 
> __

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2651] Strings passed to KeyError do not round trip

2008-04-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

Attached patch changes KeyError: when it has two arguments, they are
formatted with "%s: %r". Otherwise the base repr is called, and this
allows the round trip.

Standard objects (dict, set, UserDict, namedtuple, defaultdict, weak
dictionaries) now raise something like KeyError("not in dict", key). 

At least one place in the stdlib relied on the key being the first
argument to KeyError() (in ConfigParser.py)

I don't know if this incompatibility will break much code. At least we
can say that the current behavior is not documented.

--
keywords: +patch
Added file: http://bugs.python.org/file10069/KeyError.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2664] The position of special value tables (cmathmodule.c)

2008-04-20 Thread Hirokazu Yamamoto

New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>:

If putting special value tables near function is preferable,
(as before) probably this patch helps.

--
components: Extension Modules
files: cmathmodule.patch
keywords: patch
messages: 65657
nosy: ocean-city
severity: normal
status: open
title: The position of special value tables (cmathmodule.c)
versions: Python 2.6
Added file: http://bugs.python.org/file10070/cmathmodule.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2664] The position of special value tables (cmathmodule.c)

2008-04-20 Thread Hirokazu Yamamoto

Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>:


--
assignee:  -> marketdickinson
nosy: +marketdickinson

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com