[issue10709] Misc/AIX-NOTES needs updating

2011-02-18 Thread Sébastien Sablé

Sébastien Sablé sa...@users.sourceforge.net added the comment:

Here is a new version of the file:
It integrates the corrections by R. David, and I also modified the memory 
limitations section in order to use ldedit rather than some flags for the 
linker.

--
Added file: http://bugs.python.org/file20782/AIX-NOTES

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



[issue11212] Python memory limit on AIX

2011-02-18 Thread Sébastien Sablé

Sébastien Sablé sa...@users.sourceforge.net added the comment:

I updated the documentation in issue 10709 so that it mentions ldedit rather 
than the linker flags (more convenient to activate support for more memory).

Once Python 3.2 is released, we may add LDR_CNTRL or ldedit in the Makefile 
when running buildbottest.

I will ask IBM if there is any reason not to activate support for 2GB in an 
application by default (impact on performances or something).
If there is none, we may systematically call ldedit -b maxdata:0x8000 
${srcdir}/python when compiling python on AIX...

--

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



[issue11242] urllib.request.url_open() doesn't support SSLContext

2011-02-18 Thread STINNER Victor

New submission from STINNER Victor victor.stin...@haypocalc.com:

Issue #9003 added cafile and capath arguments to url_open(), but it is not 
possible to reuse a SSLContext object (which would avoid to reload 
certificates, CRL, etc.).

--
components: Library (Lib)
messages: 128779
nosy: haypo, pitrou
priority: normal
severity: normal
status: open
title: urllib.request.url_open() doesn't support SSLContext
versions: Python 3.3

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



[issue9523] Improve dbm modules

2011-02-18 Thread Ray.Allen

Ray.Allen ysj@gmail.com added the comment:

An updated patch, based on latest several reviews on 
http://codereview.appspot.com/4185044/

update:
1, Refactoring the common tests between test_dbm_gnu and test_dbm_ndbm.
2, Move the abc registering in Lib/dbm/ndbm.py and Lib/dbm/gnu.py.
3, Other changes pointed out in review comments.

--
Added file: http://bugs.python.org/file20783/issue_9523.diff

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



[issue9523] Improve dbm modules

2011-02-18 Thread Ray.Allen

Changes by Ray.Allen ysj@gmail.com:


Removed file: http://bugs.python.org/file20771/issue_9523.diff

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



[issue5537] LWPCookieJar cannot handle cookies with expirations of 2038 or greater on 32-bit platforms

2011-02-18 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

Oh, my patch is incomplete: time2netscape() has the same issue.

--

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



[issue11242] urllib.request.url_open() doesn't support SSLContext

2011-02-18 Thread Senthil Kumaran

Changes by Senthil Kumaran orsent...@gmail.com:


--
nosy: +orsenthil

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



[issue11243] email/message.py str conversion [patch]

2011-02-18 Thread Steffen Daode Nurpmeso

New submission from Steffen Daode Nurpmeso sdao...@googlemail.com:

Hy David, while hacking a bit on my thing i've found two places where 
header.Header needs to be explicitely converted via str().
Have a nice weekend.

--
files: email_message.patch
keywords: patch
messages: 128782
nosy: r.david.murray, sdaoden
priority: normal
severity: normal
status: open
title: email/message.py str conversion [patch]
Added file: http://bugs.python.org/file20784/email_message.patch

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



[issue11243] email/message.py str conversion [patch]

2011-02-18 Thread Steffen Daode Nurpmeso

Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:

(Will get that tracker right as time goes by.)

--
type:  - behavior
versions: +Python 3.2

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



[issue11243] email/message.py str conversion

2011-02-18 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Thanks for the report.  I probably won't have time to look at this for a bit.

--
assignee:  - r.david.murray
stage:  - patch review
title: email/message.py str conversion [patch] - email/message.py str 
conversion
versions: +Python 3.3

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



[issue7330] PyUnicode_FromFormat segfault

2011-02-18 Thread Ray.Allen

Ray.Allen ysj@gmail.com added the comment:

 No you don't. You can copy a substring of the input string with
Py_UNICODE_COPY: just pass a smaller length.

Oh, yes, I got your meaning now. I'll follow this.


 You can truncate the input char* on the call to PyUnicode_DecodeUTF8:

Oh, what if the trunked char* cannot be decoded correctly? e.g. a tow-bytes 
character is divided in the middle? 


 Yes, but I am no more sure that it is the right thing to do.

If I understand correctly(my English ability is limited), your suggestion is to 
combine, right? I'm afraid that combine may bring us too complicated code to 
write. The currently 4 steps just divide the process into smaller and simpler 
pieces. I'm not sure.

--

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



[issue7330] PyUnicode_FromFormat segfault

2011-02-18 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 Oh, what if the trunked char* cannot be decoded correctly?
 e.g. a tow-bytes character is divided in the middle? 

Yes, but PyUnicode_FromFormatV() uses UTF-8 decoder with replace error handler, 
and so the incomplete byte sequence will be replaced by � (it doesn't fail with 
an error). Example:

 abc€.encode(utf-8)[:-1].decode(utf-8, replace)
'abc�'

--

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



[issue11243] email/message.py str conversion

2011-02-18 Thread Steffen Daode Nurpmeso

Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:

We all know EMail 6.0 will blow them off the streets in the end.

--
components: +Library (Lib)

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



[issue5537] LWPCookieJar cannot handle cookies with expirations of 2038 or greater on 32-bit platforms

2011-02-18 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

Victor,

I don't see your patch.  Did you remove it?

--
type:  - behavior

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



[issue5537] LWPCookieJar cannot handle cookies with expirations of 2038 or greater on 32-bit platforms

2011-02-18 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

No, I forgot to upload it...

--
keywords: +patch
Added file: http://bugs.python.org/file20785/cookiejar_datetime.patch

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



[issue7330] PyUnicode_FromFormat segfault

2011-02-18 Thread Ray.Allen

Ray.Allen ysj@gmail.com added the comment:

 Can you add tests for %.s? I would like to know if %.s is different than 
 %s :-)

Oh sorry~~  I made an mistake. There is no bug here. I have attached tests that 
show that '%.s' is the same as '%s'.


Here is the updated patch:
1, changed the function name unicode_format() to 
1, remove

- must be a sequence, not %200s,
+ must be a sequence, not %.200s,

in Python/ceval.c

2, Removing using PySequence_GetSlice() in unicode_format_align() and do a 
refactor to optimize the process.

3, Add tests for '%.s' and '%s', as haypo wanted.


This is obviously not the final patch just convenient for other to do a  
review. Something more need to be discussed.

--
Added file: http://bugs.python.org/file20786/issue_7330.diff

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



[issue5537] LWPCookieJar cannot handle cookies with expirations of 2038 or greater on 32-bit platforms

2011-02-18 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

While it is unlikely that a purely numeric format such as %Y-%m-%d
%H:%M:%S will be locale dependent, it is possible that some pre-C99
systems would format dates using exotic digits is some locales.  Given
that format is so simple, I would just use explicit formatting of dt
components instead of datetime.strftime.  Doing so will also eliminate
a call to system strftime which is known to be quirky on popular
platforms even in C locale.

--

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



[issue5537] LWPCookieJar cannot handle cookies with expirations of 2038 or greater on 32-bit platforms

2011-02-18 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

If datetime.strftime() is not reliable, we should maybe fix it instead of using 
a workaround?

--

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



[issue5537] LWPCookieJar cannot handle cookies with expirations of 2038 or greater on 32-bit platforms

2011-02-18 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

On Fri, Feb 18, 2011 at 11:04 AM, STINNER Victor rep...@bugs.python.org wrote:
..
 If datetime.strftime() is not reliable, we should maybe fix it instead of 
 using a workaround?

The real fix would be to rewrite strftime so that it does not call
system strftime.  See issue3173.

--

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



[issue11240] Running unit tests in a command line tool leads to infinite loop with multiprocessing on Windows

2011-02-18 Thread Matt Chaput

Matt Chaput m...@whoosh.ca added the comment:

I don't know what to tell you... to the best of my knowledge there's absolutely 
no way for my code to kick off the entire test suite -- I always do that 
through PyDev (which doesn't cause the bug, by the way). The closest thing is 
the boilerplate at the bottom of every test file:

if __name__ == __main__:
unittest.main()

...but even that would only start the tests in that file, not the entire suite.

Another thing that makes me think multiprocessing is re-running the original 
command line is that if I use python setup.py test to start the tests, when 
it gets to the MP tests it seems to run that command for each Process that gets 
started, but if I use nosetests, it seems to run nosetests for each started 
Process.

--

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Jeffrey Harper

New submission from Jeffrey Harper jhar...@yapdc.com:

In Python 3.2, a tuple like (1,-2,3) will not be optimized into a constants at 
compile time.  The tuple is built at run-time.  Earlier versions of Python 
optimized these tuples at compile time.

Here's an example program.

# test.py
from dis import dis

def x(): return (1,2,3)
def y(): return (1,-2,3)

print (dis x:)
dis(x)
print()

print(dis y:)
dis(y)

The compiler in 3.2rc3 produces code for function y() that builds the tuple at 
run-time while the tuple in x() is optimized at compile time.

C:\tmpc:\python32\python --version
Python 3.2rc3

C:\tmpc:\python32\python test.py
dis x:
  3   0 LOAD_CONST   4 ((1, 2, 3))
  3 RETURN_VALUE

dis y:
  4   0 LOAD_CONST   1 (1)
  3 LOAD_CONST   4 (-2)
  6 LOAD_CONST   3 (3)
  9 BUILD_TUPLE  3
 12 RETURN_VALUE

However, under 3.1.3, the tuples in both functions are optimized at compile 
time.

C:\tmpc:\python31\python test.py
dis x:
  3   0 LOAD_CONST   4 ((1, 2, 3))
  3 RETURN_VALUE

dis y:
  4   0 LOAD_CONST   4 ((1, -2, 3))
  3 RETURN_VALUE

Although the compiled code produced 3.2rc3 is correct, it is much slower than 
the code generated by 3.1.3.

--
messages: 128795
nosy: jdharper
priority: normal
severity: normal
status: open
title: Negative tuple elements produce inefficient code.
type: performance
versions: Python 3.2

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



[issue11238] sets - refer to sets/frozenset in stdtypes

2011-02-18 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Good catch, done in r88436.   Thanks Sandro and Davide, if you’re subscribed to 
the docs@python mailing-list and can read this.

--
assignee: sandro.tosi - eric.araujo
nosy: +docs@python, eric.araujo
resolution: accepted - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue11240] Running unit tests in a command line tool leads to infinite loop with multiprocessing on Windows

2011-02-18 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

Nose works correctly for me with multiprocessing. In a directory, I have:

== run_nose.py =
from nose import main
if __name__ == '__main__':
main()


== test_me.py ==
from multiprocessing import Pool
import os, time

def foo(x):
time.sleep(0.1)
return (x, os.getpid())

def test_me():
pool = Pool(processes=4)
x = pool.map(foo, range(10))
a, b = zip(*x)
print a, b
assert list(a) == range(10)
assert 1  len(set(b)) = 4


Now when I do: c:\python27\python run_nose.py the test runs correctly.

Can you try this test in your environment?

--

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



[issue7284] argparse - display version in usage by default

2011-02-18 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +bethard -aronacher
resolution: wont fix - 
stage: committed/rejected - 
title: optparse - display version in usage by default - argparse - display 
version in usage by default

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



[issue11203] gzip doc is behind

2011-02-18 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Thanks for the report.  Would you like to propose a patch?

--
nosy: +eric.araujo
versions: +Python 3.1, Python 3.2

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



[issue11240] Running unit tests in a command line tool leads to infinite loop with multiprocessing on Windows

2011-02-18 Thread Matt Chaput

Matt Chaput m...@whoosh.ca added the comment:

If I do c:\python27\python run_nose.py it works correctly. If I do 
nosetests I get the process explosion. Maybe the bug is in how distutils and 
nose work from the command line? I'm confused.

--

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



[issue10887] Add link to development ML

2011-02-18 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Changed.

--

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Jeffrey Harper

Jeffrey Harper jhar...@yapdc.com added the comment:

I have also determined that negative elements interfere with the frozenset 
optimization described in issue6690.  http://bugs.python.org/issue6690.

Here's an example program:

# test.py
from dis import dis

def x(var): return var in {1,2,3} # Note curly braces.  These are sets.
def y(var): return var in {1,-2,3}

print (dis x:)
dis(x)
print()

print(dis y:)
dis(y)

Running this produces:

C:\tmpc:\Python32\python.exe test.py
dis x:
  3   0 LOAD_FAST0 (var)
  3 LOAD_CONST   4 (frozenset({1, 2, 3}))
  6 COMPARE_OP   6 (in)
  9 RETURN_VALUE

dis y:
  4   0 LOAD_FAST0 (var)
  3 LOAD_CONST   1 (1)
  6 LOAD_CONST   4 (-2)
  9 LOAD_CONST   3 (3)
 12 BUILD_SET3
 15 COMPARE_OP   6 (in)
 18 RETURN_VALUE

--

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



[issue11060] distutils2 sdist does not complain about version that is not PEP 386 compliant

2011-02-18 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

I think Version should be strict, then Metadata could have an option for 
strictness (defaulting to true), so that mkcfg, sdist and other would strict 
mode but users could get more flexibility when needed.

--
nosy: +swamiyeswanth

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +rhettinger

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



[issue11240] Running unit tests in a command line tool leads to infinite loop with multiprocessing on Windows

2011-02-18 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

Ah, is 'nosetests' a .exe file? A frozen executable?
In this case, can you try the solution proposed at 
http://docs.python.org/library/multiprocessing.html#multiprocessing.freeze_support

--

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



[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-18 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +eric.araujo

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



[issue11240] Running unit tests in a command line tool leads to infinite loop with multiprocessing on Windows

2011-02-18 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

 If I do c:\python27\python run_nose.py it works correctly. If I do
 nosetests I get the process explosion. Maybe the bug is in how
 distutils and nose work from the command line? I'm confused.

The bug is in nose itself. You should report a bug there.

--
nosy: +pitrou

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

I wonder if this has anything to do with issue 9011?

--
nosy: +mark.dickinson, r.david.murray

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

The culprit is r82043: Issue #9011: Remove buggy and unnecessary ST-AST 
compilation code.

--
assignee:  - mark.dickinson
nosy: +pitrou

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



[issue11231] bytes() constructor is not correctly documented

2011-02-18 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +eric.araujo

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



[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-02-18 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Thanks for the report.  Would you like to contribute a patch?  If so, 
guidelines are found at http://docs.python.org/devguide/

--
nosy: +eric.araujo

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



[issue11204] re module: strange behaviour of space inside {m, n}

2011-02-18 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
nosy: +ezio.melotti, pitrou

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



[issue11243] email/message.py str conversion

2011-02-18 Thread Steffen Daode Nurpmeso

Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:

P.S.: maybe this completes the byte.
Have a nice weekend nevertheless - if you can.

  Traceback (most recent call last):
File /Users/steffen/usr/bin/s-postman.py, line 1419, in _walk
  self._tickets.extend(Ticket.process_message(msg))
File /Users/steffen/usr/bin/s-postman.py, line 1275, in process_message
  splitter = splitter(msg)
File /Users/steffen/usr/bin/s-postman.py, line 401, in _openbsd_text
  charset = msg.get_content_charset('iso-8859-1')
File /Users/steffen/usr/opt/py3k/lib/python3.2/email/message.py, line 
820, in get_content_charset
  charset = self.get_param('charset', missing)
File /Users/steffen/usr/opt/py3k/lib/python3.2/email/message.py, line 
628, in get_param
  for k, v in self._get_params_preserve(failobj, header):
File /Users/steffen/usr/opt/py3k/lib/python3.2/email/message.py, line 
565, in _get_params_preserve
  for p in _parseparam(';' + value):
  Exception: TypeError: Can't convert 'Header' object to str implicitly


  Traceback (most recent call last):
File /Users/steffen/usr/bin/s-postman.py, line 1419, in _walk
  self._tickets.extend(Ticket.process_message(msg))
File /Users/steffen/usr/bin/s-postman.py, line 1275, in process_message
  splitter = splitter(msg)
File /Users/steffen/usr/bin/s-postman.py, line 402, in _openbsd_text
  lines = msg.get_payload().splitlines()
File /Users/steffen/usr/opt/py3k/lib/python3.2/email/message.py, line 
244, in get_payload
  cte = self.get('content-transfer-encoding', '').lower()
  Exception: AttributeError: 'Header' object has no attribute 'lower'

--

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

The problem is that the UNARY_NEGATIVE + LOAD_CONST optimization, which 
occurs first in bytecode order, inserts a NOP and prevents the tuple 
optimization to work.

--

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Jeffrey Harper

Jeffrey Harper jhar...@yapdc.com added the comment:

I think r82043 may also explain why 3.1.3 can fold the expression 2 * -3 into 
-6 while 3.2rc3 cannot.

# test.py
from dis import dis

def y(): 2 * -3

print(dis y:)
dis(y)



C:\tmpc:\Python32\python.exe --version
Python 3.2rc3

C:\tmpc:\Python32\python.exe test.py
dis y:
  3   0 LOAD_CONST   1 (2)
  3 LOAD_CONST   3 (-3)
  6 BINARY_MULTIPLY
  7 POP_TOP
  8 LOAD_CONST   0 (None)
 11 RETURN_VALUE

C:\tmpc:\Python31\python.exe --version
Python 3.1.3

C:\tmpc:\Python31\python.exe test.py
dis y:
  3   0 LOAD_CONST   3 (-6)
  3 POP_TOP
  4 LOAD_CONST   0 (None)
  7 RETURN_VALUE

--

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



[issue11231] bytes() constructor is not correctly documented

2011-02-18 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

You sort of left out bytes() == bytes(0) == b''.
I did not know about case 5 -- not surprisingly ;-).

--
nosy: +terry.reedy

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Ouch. Obviously test_peephole doesn't have enough tests...

--

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



[issue11216] email.message.Message set_charset does not encode properly?

2011-02-18 Thread Shay Rojansky

Shay Rojansky r...@roji.org added the comment:

Sorry for disappearing, will be following this closer from now on.

Thanks for the responses (and the acknowledgement of a problem), David and 
Steffen.

I understand the API design philosophy and the need to allow the production of 
invalid messages. The main problem point to me is what seems to be an 
inconsistency in the API:
* When constructing a new message/part (i.e. in the constructor), management of 
the Content-Transfer-Encoding header and responsibility for doing base64 is 
done by the API.
* But when using mutators (set_payload, set_charset), these become the 
responsibility of the caller, etc.

So one aspect of the API is high-level, another low-level. I have no idea 
whether this was a planned thing in some way, and have a hard time estimating 
whether modifying the behavior (i.e. making set_payload/set_charset high-level 
like the constructor) would break apps that depend on the current low-level 
behavior...

One thought though... Another part of the API already allows the user to 
indicate whether they want low or high level behavior: get_payload accepts the 
boolean decode flag. Would it not make sense to add a similar encode flag to 
set_payload? To be complete such a flag could also be added to the constructor.

Apart from that, I guess a good doc patch would run along the lines of 
appending the following to set_charset's description:
Note that if a Content-Transfer-Encoding header is already present on the 
message, it is kept as is and no content transfer encoding is applied to the 
payload.



This can

--

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



[issue11245] Implementation of IMAP IDLE in imaplib?

2011-02-18 Thread Shay Rojansky

New submission from Shay Rojansky r...@roji.org:

IMAP IDLE support is not implemented in the current imaplib. A drop-in 
replacement called imaplib2 exists (), but uses internally managed threads - a 
heavy solution that is not always appropriate (e.g. when handling many IMAP 
accounts an asynchronous approach would be more efficient)

I am about to start implementation of an asynchronous select()-compatible 
approach, and was wondering if there has been any discussion over IDLE, any 
specific reasons it hasn't been implemented and if eventual integration into 
imaplib would be a desirable thing.

Proposed approach:
* Addition of a new state 'IDLE'
* Addition of an idle() method to class IMAP4, which issues the IDLE command to 
the server and returns immediately. At this point we enter the IDLE state, in 
which no normal IMAP commands may be issued.
* Users can now select() or poll() the socket as they wish
* A method can be called to retrieve any untagged responses (e.g. EXISTS) that 
have arrived since entering the IDLE state. The function returns immediately 
and does not modify the state.
* To end the IDLE state, the user calls a method (done()?) which resumes the 
previous state.

Would appreciate any sort of feedback...

--
components: Library (Lib)
messages: 128814
nosy: Shay.Rojansky
priority: normal
severity: normal
status: open
title: Implementation of IMAP IDLE in imaplib?
type: feature request

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



[issue10740] sqlite3 module should allow DDL statements in transactions

2011-02-18 Thread dholth

dholth dho...@fastmail.fm added the comment:

I want transactional DDL too. I was tremendously surprised that I could not 
duplicate the way sqlite3 behaves on the command line from witin pysqlite.

Instead of this patch, I would rather be able to instruct pysqlite to always 
begin a transaction for any kind of statement (I hear this is a requirement for 
DB-API compliance) and never perform an implicit commit for any reason. For 
example, someone on the google code project had a complaint that 'SAVEPOINT' 
(create a subtransaction) automatically commits because pysqlite doesn't know 
about it.

I tried to trick pysqlite into doing what I wanted by prepending /* update */ 
to every CREATE TABLE statement but it didn't seem to quite work. Instead, I 
would prefer a pysqlite that does not strcmp(statement) at all.

--
nosy: +dholth

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



[issue11234] Possible error in What's new Python3.2(rc3) documentation (sysconfig.get_config_var)

2011-02-18 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
assignee: docs@python - rhettinger
nosy: +georg.brandl
priority: normal - release blocker
resolution:  - accepted

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



[issue11246] PyUnicode_FromFormat(%V) decodes the byte string from ISO-8859-1

2011-02-18 Thread STINNER Victor

New submission from STINNER Victor victor.stin...@haypocalc.com:

While testing a patch fixing issue #7330, I found a bug in 
PyUnicode_FromFormat() in the %V format: it decodes the byte string from 
ISO-8859-1, whereas I would expect that the string is decodes from UTF-8, as 
the %s format.

--
messages: 128816
nosy: haypo, ysj.ray
priority: normal
severity: normal
status: open
title: PyUnicode_FromFormat(%V) decodes the byte string from ISO-8859-1
versions: Python 3.3

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



[issue11246] PyUnicode_FromFormat(%V) decodes the byte string from ISO-8859-1

2011-02-18 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@haypocalc.com:


--
components: +Library (Lib)

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Raymond Hettinger

Changes by Raymond Hettinger rhettin...@users.sourceforge.net:


--
priority: normal - high

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Jeffrey Harper

Jeffrey Harper jhar...@yapdc.com added the comment:

Here's a patch against the version of test_peepholer.py in 3.2rc3.  It verifies 
that expressions like the following are optimized:

3*-4
(1,-2,3)
a in {1,-2,3)

--
keywords: +patch
Added file: http://bugs.python.org/file20787/test_peepholer.patch

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



[issue11234] Possible error in What's new Python3.2(rc3) documentation (sysconfig.get_config_var)

2011-02-18 Thread Raymond Hettinger

Raymond Hettinger rhettin...@users.sourceforge.net added the comment:

I'll look at this later tonight.

Eric, no marking accepted for tracker items without a patch.  Accepted 
means that a patch has been reviewed and is okay to apply.

--
priority: release blocker - high
resolution: accepted - 

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



[issue11234] Possible error in What's new Python3.2(rc3) documentation (sysconfig.get_config_var)

2011-02-18 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

In this case, I thought that the suggested addition of one dot in one place was 
equivalent to a patch, and maybe more useful (we don’t know if you have local 
edits in your file that would make the diff fuzzy).  Anyway, I’m attaching the 
same fix in a diff form, for your convenience.

--
keywords: +patch
nosy: +eric.araujo
Added file: http://bugs.python.org/file20788/fix-11234.diff

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



[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-02-18 Thread Merlijn van Deen

Merlijn van Deen valhall...@gmail.com added the comment:

Sorry, I'm not going to run my patch through the entire test suite, I've got 
better things to do with my time than setting up a working 
python-development-test-bench. Especially for a one-line-revert.

The result now is:

valhallasw@dorthonion:~/src/pythonpatch$ python -c import getpass; print 
getpass.getpass().__repr__()
Password: Traceback (most recent call last):
  File string, line 1, in module
  File getpass.py, line 71, in unix_getpass
passwd = _raw_input(prompt, stream, input=input)
  File getpass.py, line 133, in _raw_input
line = input.readline()
KeyboardInterrupt


As for a patch - see attachment. It reverts one change from r76000
http://svn.python.org/view/python/trunk/Lib/getpass.py?r1=74860r2=76000pathrev=76000
 line 65

The ISIG flag is copied from getpass.c 
(http://www.koders.com/c/fid3C9D79A0C31256E7875CB8930CF8B9E49BDA8C12.aspx line 
122). According to the r76000 commit message:

This change also incorporates some additional getpass implementation
suggestions for security based on an analysis of getpass.c linked to from the 
issue.
'The issue' should probably be issue7208, but I cannot find any reference to 
getpass.c there.

--
keywords: +patch
Added file: http://bugs.python.org/file20789/issue11236.patch

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



[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-02-18 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Thanks for the patch.  Someone will write a test and we’ll check that it works 
correctly on all supported platforms.

--
keywords: +needs review
nosy: +belopolsky, gregory.p.smith, p...@fodder.org.uk, pitrou
stage: needs patch - test needed

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



[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-02-18 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

BTW, on which platforms did you notice the bug?  (python -m platform)

--

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



[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-02-18 Thread Merlijn van Deen

Merlijn van Deen valhall...@gmail.com added the comment:

Linux-2.6.22.18-co-0.7.4-i686-with-Ubuntu-10.04-lucid (the 'on linux2' 
versions) and Solaris-2.10-i86pc-i386-32bit-ELF (the 'on sunos5').

--

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



[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-02-18 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Patch fixes the bug for 3.2 on my Debian 
(Linux-2.6.32-5-amd64-x86_64-with-debian-wheezy-sid).  getpass currently has no 
unit tests.

--

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



[issue11244] Negative tuple elements produce inefficient code.

2011-02-18 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Here is a patch that enables advanced (recursive) constant folding.
Example:

python -c import dis; f=lambda x: x in 
{(3*-5)+(-1-6),(1,-2,3)*2,None};dis.dis(f)

With 3.1:
  1   0 LOAD_FAST0 (x) 
  3 LOAD_CONST   7 (-15) 
  6 LOAD_CONST   8 (-7) 
  9 BINARY_ADD   
 10 LOAD_CONST  10 ((1, -2, 3, 1, -2, 3)) 
 13 LOAD_CONST  11 (None) 
 16 BUILD_SET3 
 19 COMPARE_OP   6 (in) 
 22 RETURN_VALUE 

With 3.2+patch:
  1   0 LOAD_FAST0 (x) 
  3 LOAD_CONST  14 (frozenset({None, -22, (1, -2, 3, 1, 
-2, 3)})) 
  6 COMPARE_OP   6 (in) 
  9 RETURN_VALUE

--
Added file: http://bugs.python.org/file20790/constfold.patch

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



[issue11166] No exit when daemon thread is running.

2011-02-18 Thread Dan Mahn

Dan Mahn dan.m...@digidescorp.com added the comment:

Seems to be fixed in RC3

--

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



[issue11247] e

2011-02-18 Thread Dan Mahn

Changes by Dan Mahn dan.m...@digidescorp.com:


--
nosy: dmahn
priority: normal
severity: normal
status: open
title: e

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



[issue11247] Error sending packets to multicast IPV4 address

2011-02-18 Thread Dan Mahn

New submission from Dan Mahn dan.m...@digidescorp.com:

Can't send UDP packet to multicast address.  See traceback.

s.sendto( bytearray, (227.5.6.7, 6543))
socket.error: [Errno 10065] A socket operation was attempted to an unreachable 
host

--
components: +None
title: e - Error sending packets to multicast IPV4 address
type:  - behavior
versions: +Python 3.2

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



[issue11247] Error sending packets to multicast IPV4 address

2011-02-18 Thread Dan Mahn

Dan Mahn dan.m...@digidescorp.com added the comment:

This has occurred in RC3

--

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



[issue11217] python-32 not linked in /usr/local/bin in framework builds

2011-02-18 Thread Tom Loredo

Tom Loredo lor...@astro.cornell.edu added the comment:

I believe this is a bug.

The -32 part of Mac/Makefile.in builds and links the -32 versions here:


ifneq ($(LIPO_32BIT_FLAGS),)
lipo $(LIPO_32BIT_FLAGS) -output 
$(DESTDIR)$(prefix)/bin/python$(VERSION)-32 pythonw
lipo $(LIPO_32BIT_FLAGS) -output 
$(DESTDIR)$(prefix)/bin/pythonw$(VERSION)-32 pythonw
ln -sf python$(VERSION)-32 $(DESTDIR)$(prefix)/bin/python-32
ln -sf pythonw$(VERSION)-32 $(DESTDIR)$(prefix)/bin/pythonw-32
endif

For a framework build, the destinations are the framework location, and indeed 
the brew install does put them there.

Right after in Makefile.in is the unix tools part (which is run by default):

installunixtools:
if [ ! -d $(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin ]; then  \
$(INSTALL) -d -m $(DIRMODE) 
$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin ;\
fi
for fn in python pythonw idle pydoc python-config smtpd.py 2to3 \
  python$(VERSION) pythonw$(VERSION) idle$(VERSION) \
  pydoc$(VERSION) python$(VERSION)-config smtpd$(VERSION).py \
  2to3-$(VERSION) ;\
do \
ln -fs $(prefix)/bin/$${fn} 
$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)/bin/$${fn} ;\
done

I believe this needs an ifneq ($(LIPO_32BIT_FLAGS),) block that explicitly 
handles $(VERSION)-32, just like the pythonw section before it.

--

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



[issue11234] Possible error in What's new Python3.2(rc3) documentation (sysconfig.get_config_var)

2011-02-18 Thread Raymond Hettinger

Raymond Hettinger rhettin...@users.sourceforge.net added the comment:

Antoine, I'm traveling and don't have immediate access to my svn checkout.  Can 
you fix this please?

--
assignee: rhettinger - pitrou
nosy: +pitrou

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



[issue11247] Error sending packets to multicast IPV4 address

2011-02-18 Thread Case Van Horsen

Case Van Horsen cas...@gmail.com added the comment:

I tested multicast without any issues using the attached script. I used RC3 on 
both Windows 7 and Linux. I did need to disable the firewall on my Windows 
system before multicast would work.

Start one or more clients using: python mtest1.py client

Send data using: python mtest1.py server hello 10

--
nosy: +casevh
Added file: http://bugs.python.org/file20791/mtest1.py

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



[issue11217] python-32 not linked in /usr/local/bin in framework builds

2011-02-18 Thread Tom Loredo

Tom Loredo lor...@astro.cornell.edu added the comment:

The attached patch does the trick.

--
Added file: http://bugs.python.org/file20792/Python-2.7.1-patch.txt

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