[issue13529] Segfault inside of gc/weakref

2011-12-04 Thread Alex Gaynor
Alex Gaynor added the comment: Turns out this was a subtle bug in some raw memory manipulation code, which amaury spotted. -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue13536] ast.literal_eval fails on sets

2011-12-05 Thread Alex Gaynor
New submission from Alex Gaynor : In 2.7 ast.literal_eval blows up with a set for input: >>> import ast >>> ast.literal_eval("{1}") -- messages: 148897 nosy: alex priority: low severity: normal status: open title: ast.literal_eval fails

[issue13536] ast.literal_eval fails on sets

2011-12-05 Thread Alex Gaynor
Alex Gaynor added the comment: Patch with tests -- keywords: +patch Added file: http://bugs.python.org/file23859/x.diff ___ Python tracker <http://bugs.python.org/issue13

[issue13536] ast.literal_eval fails on sets

2011-12-05 Thread Alex Gaynor
Alex Gaynor added the comment: There's no support for comprehensions of any sort, and confusingly limited support for arithmetic ops, I'd like to keep the scope of this issue small, basically backporting 90bf0631bfb8 and adding the tests (which I can also add

[issue13603] Add prime-related and number theory functions to Python

2011-12-14 Thread Alex Gaynor
Alex Gaynor added the comment: I'll chip in my 2 cents as well and say this also seems too domain specific and not useful enough for the stdlib. -- nosy: +alex ___ Python tracker <http://bugs.python.org/is

[issue13592] repr(regex) doesn't include actual regex

2011-12-22 Thread Alex Gaynor
Alex Gaynor added the comment: Raymond, Antoine: I don't see your claims as contradictory, it's definitely true that the Python standardlib has historically tried to keep reprs as being eval-able, I think Antoine's correct that the vast majority of 3rd-party code does not

[issue13667] __contains__ method behavior

2011-12-28 Thread Alex Gaynor
Alex Gaynor added the comment: For what it's worth I proposed this on -ideas a while ago, the sticking points were what does `not in` do (no one had an answer anyone was happy with for this), and do we need a way to override it from the other perspective (e.g. if I want to do `Speci

[issue13704] Random number generator in Python core

2012-01-03 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue13704> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13703] Hash collision security issue

2012-01-03 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue13703> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13707] Clarify hash() lifetime

2012-01-03 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue13707> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13697] python RLock implementation unsafe with signals

2012-01-03 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue13697> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13703] Hash collision security issue

2012-01-04 Thread Alex Gaynor
Alex Gaynor added the comment: Except, it's a totally non-scalable approach. People have vulnerabilities all over their sites which they don't realize. Some examples: django-taggit (an application I wrote for handling tags) parses tags out an input, it stores these in a set to

[issue13703] Hash collision security issue

2012-01-05 Thread Alex Gaynor
Alex Gaynor added the comment: Perl is so paranoid they obscure their variable names! In all seriousness, both Perl and Ruby are vulnerable to the timing attacks, and as far as I know the JVM is not patching this themselves, but telling applications to fix it themselves (I know JRuby

[issue13723] Regular expressions: (?:X|\s+)*$ takes a long time

2012-01-06 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue13723> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13703] Hash collision security issue

2012-01-07 Thread Alex Gaynor
Alex Gaynor added the comment: You're seriously underestimating the number of vulnerable dicts. It has nothing to do with the module, and everything to do with the origin of the data. There's tons of user code that's

[issue6727] ImportError when package is symlinked on Windows

2012-01-09 Thread Alex Regueiro
Alex Regueiro added the comment: That's great, thanks. -- ___ Python tracker <http://bugs.python.org/issue6727> ___ ___ Python-bugs-list mailing list Unsubsc

[issue12203] isinstance not functioning as documented

2011-05-28 Thread Alex Gaynor
Alex Gaynor added the comment: I don't see why this is incorrect, type(a) -> type, and object is a superclass of type. -- nosy: +alex ___ Python tracker <http://bugs.python.org

[issue11946] 2.7.1 'test_commands' build test fails

2011-05-30 Thread Alex Leach
Alex Leach added the comment: I got the same test_commands fail when building a Python2.7.1 which I downloaded yesterday; it's on an FC13 x86_64 server. I've built python2.7 before using a similar machine, but it's not picking up my external libraries on a Sun Grid Engine,

[issue11946] 2.7.1 'test_commands' build test fails

2011-05-30 Thread Alex Leach
Alex Leach added the comment: Hey Jason, Thanks for replying so quickly, and on a bank holiday! :) This has completely diverged from the original bug, but whatever.. Thanks for the C wrapper too! It's not appropriate for my build environment, and I know no C, having only got so f

[issue12370] Use of super overwrites use of __class__ in class namespace

2011-06-19 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue12370> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12422] When deepcopying, don't store immutable objects in the memo dict

2011-06-27 Thread Alex Gaynor
New submission from Alex Gaynor : All storing immutable objects in the memo dict does is slow stuff down, due to having a larger hash table, and on some other Python's causing hilarious levels of GC pressure. Using http://paste.pocoo.org/show/421310/ as a benchmark, CPython get&#

[issue12422] When deepcopying, don't store immutable objects in the memo dict

2011-06-27 Thread Alex Gaynor
Alex Gaynor added the comment: A slightly cleverer version (or less clever, depending on how you approach the issue) that also works with tuples of immutable content. -- Added file: http://bugs.python.org/file22499/d.diff ___ Python tracker <h

[issue12422] When deepcopying, don't store immutable objects in the memo dict

2011-06-27 Thread Alex Gaynor
Alex Gaynor added the comment: Switched to using assertIs, as merwok suggested. -- Added file: http://bugs.python.org/file22500/d.diff ___ Python tracker <http://bugs.python.org/issue12

[issue12422] When deepcopying, don't store immutable objects in the memo dict

2011-06-27 Thread Alex Gaynor
Alex Gaynor added the comment: Amaury points out: this is not strictly about immutable objects, but rather objects who's deepcopy is themselves (identity-wise), in some (rare I think) cases this could provide a slowdown. Specifically a case of [(1, 2, 3)] * 1 would be slower, becau

[issue7559] TestLoader.loadTestsFromName swallows import errors

2011-07-12 Thread Alex Garel
Alex Garel added the comment: May I just add that I also ran into this and give my +1 for any fix :-) -- nosy: +alexgarel ___ Python tracker <http://bugs.python.org/issue7

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2011-07-12 Thread Alex Leon
New submission from Alex Leon : It looks like some servers using basic authentication don't include quotes around the realm (example https://api.connect2field.com) as required by rfc 2617. urllib wont handle these requests and silently fails, but a simple change to the reg

[issue12575] add a AST validator

2011-07-16 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue12575> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12615] add array.zeroes

2011-07-22 Thread Alex Gaynor
New submission from Alex Gaynor : >From python-ideas: introduce array.zeroes, a new classmethod that provides an alternative constructor, its signature is zeroes(typecode, length), which allows for preallocating an array, with a lower overhead than methods such as array(typecode,

[issue12575] add a AST validator

2011-07-22 Thread Alex Gaynor
Alex Gaynor added the comment: 1) Yes, it address a real concern that arose during Armin's GSOC project which has been developing a unified template compilation architecture (via the AST module) for Django and Jinja2. 2) Asking speed questions about this is silly IMO, if compiling func

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2011-08-03 Thread Alex Leon
Alex Leon added the comment: For some reason a caret went missing in the regex fix. It should read 'realm=(["\']?)([^"\']*)\\2', re.I) -- ___ Python tracker <

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2011-08-09 Thread Alex Leon
Alex Leon added the comment: It could have a 2 phase regex match. We match the first one, and if it fails, match the second and produce a warning. I think producing a warning is a good idea, as it allows the programmer to know that the implementation of basic auth they are trying to connect

[issue12957] mmap.resize changes memory address of mmap'd region

2011-09-10 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue12957> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9573] imporing a module that executes fork() raises RuntimeError

2010-08-11 Thread Alex Roitman
New submission from Alex Roitman : Importing the module with the following contents results in RuntimeError: == import os pid = os.fork() if pid == 0: print "In the child" else: print "In the parent" print "Done\n" == R

[issue9573] imporing a module that executes fork() raises RuntimeError

2010-08-11 Thread Alex Roitman
Alex Roitman added the comment: I guess I am missing something here. In a complex program, everything will be executed in some module or another. Consequently, the module that contains the fork() call will cause the interpreter to quit. How can this be worked around, short of placing the

[issue9573] imporing a module that executes fork() raises RuntimeError

2010-08-11 Thread Alex Roitman
Alex Roitman added the comment: I can place it in a function. But if I execute that function from anything other than main module, the fork() will be called while import lock is held, one way or another. It will just happen in another module. So what

[issue9573] importing a module that executes fork() raises RuntimeError

2010-08-11 Thread Alex Roitman
Alex Roitman added the comment: 1. If fork should not be called during import, it could raise an exception when invoked from import. But it does not. Is that a bug then? BTW, fork during import worked with python 2.4 just fine. 2. The whole issue7242 was devoted to work out import locks

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

2010-08-14 Thread Alex Willmer
Alex Willmer added the comment: On 14 August 2010 21:24, Matthew Barnett wrote: > Over to you, Alex. :-) Et voilà, an exciting Saturday evening http://pypi.python.org/pypi/regex/0.1.20100814 Matthew, I'm currently keeping regex in a private bzr repository. Do you have yours in source

[issue9573] importing a module that executes fork() raises RuntimeError

2010-08-17 Thread Alex Roitman
Alex Roitman added the comment: gregory.p.smith: This is my use case: we had the following situation with the test scripts at work. Each script is required to import TestApi module in order to run the tests. That module in turn imported the module that forks, and in the parent waits for

[issue9573] importing a module that executes fork() raises RuntimeError

2010-08-17 Thread Alex Roitman
Alex Roitman added the comment: I already worked around this for my use case. For the future, it would be nice if fork() raised an exception if called during the import, and if the documentation mentioned that forking while in import is not allowed

[issue9573] importing a module that executes fork() raises RuntimeError

2010-08-17 Thread Alex Roitman
Alex Roitman added the comment: Will starting a thread while in import also be disallowed? If so, issue 7242 will also become moot... -- ___ Python tracker <http://bugs.python.org/issue9

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-10-01 Thread Alex Quinn
Changes by Alex Quinn : -- nosy: -Alex Quinn ___ Python tracker <http://bugs.python.org/issue4661> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-11-11 Thread Alex Willmer
Alex Willmer added the comment: The re module throws an exception for re.compile(r'[\A\w]'). latest regex doesn't, but I don't think the pattern is matching correctly. Shouldn't findall(r'[\A]\w', 'a b c') return ['a'] and findall(r'

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

2010-11-11 Thread Alex Willmer
Alex Willmer added the comment: On Thu, Nov 11, 2010 at 10:20 PM, Vlastimil Brom wrote: > Maybe I am missing something, but the result in regex seem ok to me: > \A is treated like A in a character set; I think it's me who missed something. I'd assumed that all backslash patter

[issue11458] tarfile with socket incompatability

2011-03-09 Thread Alex Leach
New submission from Alex Leach : Hi, I'm trying to parse the contents of tar archives (.tgz) on the fly, and failing to do so. The tar archives in question have directory hierarchies, and only if a TarInfo object is a file (.isreg() ) will I try and read it's contents. I figured

[issue11458] tarfile with socket incompatability

2011-03-10 Thread Alex Leach
Alex Leach added the comment: Thanks! =D On Thu, Mar 10, 2011 at 3:46 AM, R. David Murray wrote: > > R. David Murray added the comment: > > I believe you are looking for mode 'r|'. > > -- > nosy: +r.david.murray > resolution: -> works for me >

[issue11549] Rewrite peephole to work on AST

2011-03-16 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue11549> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11477] Bug in code dispatching based on internal slots

2011-03-16 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue11477> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11665] Regexp findall freezes

2011-03-24 Thread Alex Gaynor
Alex Gaynor added the comment: Yes, this is known as catastrophic backtracking, and there isn't really a solution for it, some regexps can't be efficiently matched. -- nosy: +alex ___ Python tracker <http://bugs.python.o

[issue11682] PEP 380 reference implementation for 3.3

2011-03-25 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue11682> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11704] functools.partial doesn't create bound methods

2011-03-28 Thread Alex Gaynor
New submission from Alex Gaynor : This is related to the discussion we had at the PyCon language summit about C vs Python function binding. If you create a partial instance and put it on a class it doesn't create bound instances. This behavior is a tad surprising in my view. At a mi

[issue11704] functools.partial doesn't create bound methods

2011-03-28 Thread Alex Gaynor
Alex Gaynor added the comment: Indeed I completely missed the section at the bottom. A note in the above section would be a useful addition. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-04-03 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue11743> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-04-10 Thread Alex Gaynor
Alex Gaynor added the comment: FWIW in PyPy we have https://bitbucket.org/pypy/pypy/src/default/lib_pypy/disassembler.py which we use for some of our tools. -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue11

[issue9269] Cannot pickle self-referencing sets

2011-04-23 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue9269> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1062277] Pickle breakage with reduction of recursive structures

2011-04-24 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue1062277> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11949] Make float('nan') unorderable

2011-04-28 Thread Alex Gaynor
Alex Gaynor added the comment: The C standard (and/or the POSIX one, I forget) says sqrt(-0.0) returns -0.0. -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue11

[issue11960] Python crashes when running numpy test

2011-04-29 Thread Alex Lai
New submission from Alex Lai : Hi experts, I’m wondering if anyone would look into this issue. We recently installed Python 3.1.2 on a Solaris 10 machine. While testing numpy package, Python crashed with the following error: sbtorsvr391:~ $ cd /home/dcottr/local/tests sbtorsvr391

[issue11985] Document that platform.python_implementation supports PyPy

2011-05-03 Thread Alex Gaynor
Alex Gaynor added the comment: It returns "PyPy" on pypy. -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue11985> ___ ___ Python-bugs-l

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-05 Thread Alex Lai
New submission from Alex Lai : Hi guys, I was knocked down by a error related to a socket library _socket.so when I was trying to compile distribute-0.6.14: # python3 setup.py install Before install bootstrap. Scanning installed packages No setuptools distribution found running install

[issue12017] Decoding a highly-nested object with json (_speedups enabled) causes segfault

2011-05-06 Thread Alex Gaynor
Alex Gaynor added the comment: Why not use Py_EnterRecursiveCall? -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue12017> ___ ___ Python-bugs-list m

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-06 Thread Alex Lai
Alex Lai added the comment: Hi Eric, Thank you for the reply. I installed Python 3.1.2 pre-compiled by sunfreeware.com on one of our sparc servers. Would you please let me know what command I should run to test the installation? Regard, Alex

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-07 Thread Alex Lai
Alex Lai added the comment: The test fialed on my workstation while successul on another server. Both server has the same Pyton installation but different libc and libm version. I plan to reinstall the OS(solaris 10 pre-release) on my workstation next week and see how it goes. Regards

[issue12033] AttributeError: 'module' object has no attribute 'scipy'

2011-05-08 Thread Alex Lai
New submission from Alex Lai : Hi experts, I'm new to Python. I've just successfully compiled and installed NumPy and SciPy. When I run the tests, Numpy shows no issues: # python3 -c "import numpy; numpy.test()" Running unit tests for numpy NumPy version 1.5.1 NumPy

[issue12033] AttributeError: 'module' object has no attribute 'scipy'

2011-05-08 Thread Alex Gaynor
Alex Gaynor added the comment: This bug tracker is for filing bugs in Python itself, for support with 3rd party libraries you should try their mailing lists or IRC channels. -- nosy: +alex resolution: -> invalid status: open -> closed ___

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-09 Thread Alex Lai
Alex Lai added the comment: I've installed it successfully on another server. That is enough. I haven't got time to upgrade my workstation from s10 pre-release to latest s10 release yet. Thanks for the information, Alex -- ___ Pyth

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-11 Thread Alex Lai
Alex Lai added the comment: I haven't get time to upgarde my workstation yet. I don't know when I'm going to do it. I compile the software successfully on the other server. and that's enough for me. Thanks, Alex -- ___ P

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-13 Thread Alex Lai
Alex Lai added the comment: No bugs. -- ___ Python tracker <http://bugs.python.org/issue12013> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-16 Thread Alex Lai
Alex Lai added the comment: I install the Python package compiled by sunfreeware. Alex Lai Senior System Support Specialist TAG-IPM Application Support, Scotia Capital, 720 King St. West, 6th Floor, Toronto, Ontario M5V 2T3 Tel: (416) 607-4789 -Original Message- From: dario frascatani

[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-11-29 Thread Alex Rodriguez
Alex Rodriguez added the comment: I didn't see this issue resolved in the changelog for 2.7.1 release. Are we going to wait until 2.7.2 now?? -- nosy: +Alex.Rodriguez ___ Python tracker <http://bugs.python.org/i

[issue10602] csv test_register_kwargs has invalid message parameters

2010-12-01 Thread Alex Earl
New submission from Alex Earl : in test_csv.py, the follow test is declared. def test_register_kwargs(self): name = 'fedcba' csv.register_dialect(name, delimiter=';') try: self.assertTrue(csv.get_dialect(name).delimiter, '\t') self.ass

[issue10602] Wrong assert* method in test_csv.test_register_kwargs masks error

2010-12-02 Thread Alex Earl
Alex Earl added the comment: The internal _csv module which actually implements the reader method expects the first parameter to be an iterable object. Since strings are iterated by character, that is why this is occuring. So, the fix would need to be made in the _csv module, which is a C

[issue10602] Wrong assert* method in test_csv.test_register_kwargs masks error

2010-12-02 Thread Alex Earl
Alex Earl added the comment: The patch looks good to me. The only question I have is that the previous test that was passing a string, is the expected behavior what was being returned before, or would it be useful to turn the string into an iterable over "

[issue10602] Wrong assert* method in test_csv.test_register_kwargs masks error

2010-12-02 Thread Alex Earl
Alex Earl added the comment: Excellent. As long as it's documented, it works for me. -- ___ Python tracker <http://bugs.python.org/issue10602> ___ ___ Pytho

[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

2010-12-02 Thread Alex Rodriguez
Alex Rodriguez added the comment: I downloaded "python-2.7.1-macosx10.6.dmg" file and tested if Tkinter and IDLE still have same issue reported here and I did not find anymore this issue. I was able to launch IDLE and create a Tkinter GUI. From my side we can resolve and close

[issue10633] string.format() Unexpected output with numeric '#' prefix and 0 width

2010-12-05 Thread Alex Leone
New submission from Alex Leone : When using the '#' to prefix a numeric argument in format() with a '0x' or others, the 0-width padding takes into account the '0x' characters. This is unexpected - the 0-width should NOT take into account the prefix. Current Be

[issue10751] WSGIREF - REMOTE_USER and REMOTE-USER collision

2010-12-21 Thread Alex Raitz
New submission from Alex Raitz : Clients can overwrite 'REMOTE_USER' header variable value with an arbitrary 'Remote-User' value by specifying the later after the former. This has tricky implications when a proxy server is being used, namely that if the proxy passes a re

[issue10751] REMOTE_USER and Remote-User collision in wsgiref

2011-01-04 Thread Alex Raitz
Alex Raitz added the comment: Yes, I was referring to REMOTE_USER, apologies for the conflation with HTTP_REMOTE_USER, which was one of the HTTP headers that a proxy which we were testing was setting. The customer that reported this issue to us was using FireFox with Tamper Data to set

[issue10751] REMOTE_USER and Remote-User collision in wsgiref

2011-01-04 Thread Alex Raitz
Alex Raitz added the comment: Per the first line of my previous comment, please ignore HTTP_REMOTE_USER. The risk is that if the proxy does not place the user-supplied 'remote-user=VALUE1' before the proxy-supplied 'REMOTE_USER=VALUE2', wsgiref will overload REMOTE_US

[issue10751] REMOTE_USER and Remote-User collision in wsgiref

2011-01-04 Thread Alex Raitz
Alex Raitz added the comment: I had previously tested it against simple_server. However, in reviewing my test, I realized that you are correct that wsgiref headers is not misbehaving. It appears that in simple_server, the values of remote-user and remote_user both end up in

[issue11075] Turtle crash with IDLE on Mac OS X 10.6

2011-01-30 Thread Alex McNerney
New submission from Alex McNerney : Info: I have Python 2.7.1:86832 (32-bit) installed using ActiveState Tcl/Tk 8.5.9 on Mac OS X 10.6 Problem: Whenever I try to run (from the IDLE) a Python script using the turtle module, the window that shows up will draw anything passed to it, but it will

[issue11075] Turtle crash with IDLE on Mac OS X 10.6

2011-01-31 Thread Alex McNerney
Alex McNerney added the comment: It may be because the program that I am trying to run automatically exits, I do not know yet how to keep a turtle program running (waiting for input). The only way I know so far is to use the function "exitonclick()," but when using that, my I cann

[issue11075] Turtle crash with IDLE on Mac OS X 10.6

2011-02-01 Thread Alex McNerney
Alex McNerney added the comment: Sorry to keep bothering, but running Python 2.7.1:88286 (maintenance) on ActiveState Tcl/Tk 8.5.9 causes the idle to hang when a simple script like: " x = raw_input("x: ") print x " is run. Is this a bug in Tcl/Tk? Looking in the logs I see

[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread Alex McNerney
Alex McNerney added the comment: Thank you so much for pointing out the -n option! Hopefully the Tk 8.5.9 input issue will be solved soon enough. Thank you both again. I'm not sure if I'm supposed to or not, but I am marking this as closed – seeing as the main issue has b

[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread Alex McNerney
Alex McNerney added the comment: solved* or rather, a workaround has been found. -- ___ Python tracker <http://bugs.python.org/issue11075> ___ ___ Python-bug

[issue11096] Multiple turtle tracers

2011-02-01 Thread Alex McNerney
New submission from Alex McNerney : In Python 2.7 and 2.6 (only ones I have tried), there is a bug in the turtle module's tracer() function, when applying it to multiple turtles using the same value. When two turtles are defined (to draw simultaneously), and both turtles' tracers

[issue11096] Multiple turtle tracers

2011-02-02 Thread Alex McNerney
Alex McNerney added the comment: To be more clear, in the sample code, the drawing animation of the red star-spiral is smooth, whereas the drawing animation of the black star-spiral is spasmodic. -- ___ Python tracker <http://bugs.python.

[issue7915] A lists which list.sort seems to leave out of order.

2010-02-11 Thread Alex Coventry
New submission from Alex Coventry : I feel like I must be on crack, here. I apologize if so. English version: sorting this long list leaves in place element 580395, which is less than element 0. Restricting to a list of just those two elements, sorting does what I'd expect.

[issue7915] A lists which list.sort seems to leave out of order.

2010-02-11 Thread Alex Coventry
Alex Coventry added the comment: No. It's 10M, gzipped. It's constructed from genome-wide association data, which is also huge, intrinsically complex, and protected by rules regarding research on humans. If the bug tracker won't take it do I have an

[issue7915] A lists which list.sort seems to leave out of order.

2010-02-11 Thread Alex Coventry
Alex Coventry added the comment: Oh, I guess I could make it a gzipped text file. Hang on. -- ___ Python tracker <http://bugs.python.org/issue7915> ___ ___ Pytho

[issue7915] A lists which list.sort seems to leave out of order.

2010-02-11 Thread Alex Coventry
Alex Coventry added the comment: Ah, I guess I *was* on crack. Thanks for the explanation. -- ___ Python tracker <http://bugs.python.org/issue7915> ___ ___ Pytho

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

2010-02-17 Thread Alex Willmer
Alex Willmer added the comment: I've packaged this latest revision and uploaded to PyPI http://pypi.python.org/pypi/regex -- ___ Python tracker <http://bugs.python.org/i

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

2010-02-21 Thread Alex Willmer
Alex Willmer added the comment: On 17 February 2010 19:35, Matthew Barnett wrote: > The main text at http://pypi.python.org/pypi/regex appears to have lost its > backslashes, for example: > >    The Unicode escapes u and U are supported. > > instead of: &g

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

2010-02-22 Thread Alex Willmer
Alex Willmer added the comment: On 22 Feb 2010, at 21:24, Matthew Barnett wrote: > issue2636-20100222.zip is a new version of the regex module. > > This new version adds reverse searching. > > The 'features' now come in ReStructuredText (.rst) and HTML Thank you

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

2010-02-26 Thread Alex Willmer
Alex Willmer added the comment: On 26 February 2010 03:20, Matthew Barnett wrote: > Added file: http://bugs.python.org/file16375/issue2636-20100226.zip This is now uploaded to PyPI http://pypi.python.org/pypi/regex/0.1.20100226 -- Alex Willmer http://moreati.org.uk/b

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

2010-03-16 Thread Alex Willmer
Alex Willmer added the comment: I've adapted the Python 2.6.5 test_re.py as follows, from test.test_support import verbose, run_unittest -import re -from re import Scanner +import regex as re +from regex import Scanner and run it against regex-2010305. Three tests failed, and the repo

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

2010-04-13 Thread Alex Willmer
Alex Willmer added the comment: On 13 April 2010 03:21, Matthew Barnett wrote: > issue2636-20100413.zip is a new version of the regex module. Matthew, When I run test_regex.py 6 tests are failing, with Python 2.6.5 on Ubuntu Lucid and my setup.py. Attached is the output, do all the tests p

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

2010-04-13 Thread Alex Willmer
Alex Willmer added the comment: On 13 April 2010 18:10, Matthew Barnett wrote: > Anyway, do: > >    regex.match(ur"\p{Ll}", u"a") >    regex.match(ur'(?u)\w', u'\xe0') > > really return None? Your results suggest that they won'

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

2010-04-13 Thread Alex Willmer
Alex Willmer added the comment: On 14 April 2010 00:33, Matthew Barnett wrote: > I think I might have identified the cause of the problem, although I still > haven't been able to reproduce it, so I can't be certain. Performed 76 Passed Looks

[issue8397] BZ2File doesn't protect against mixed iterator and read usage

2010-04-14 Thread Alex Stapleton
New submission from Alex Stapleton : Normal files throw exceptions if you mix methods. >>> f = open("words") >>> for l in f: ... break ... >>> f.tell() 8192L >>> f.readline() Traceback (most recent call last): File "", line 1, in

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2010-05-05 Thread Alex Quinn
New submission from Alex Quinn : After using subprocess.Popen(...).communicate(), the session hangs. c:\>python31 Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license"

<    1   2   3   4   5   6   7   8   9   10   >