New submission from Jason Fried :
In 3.9 we can remove the deprecated pattern for accepting __enter__ and
__exit__ for locks. This will free up __await__ for Condition to use for
replacing .wait() which is wart from before awaitables.
My new proposed behavior is
await cond
which would be
Jason Fried added the comment:
For loops not supporting this throwing NotImplmentedError from the method to
enable reentrancy seems appropriate.
"You should convert all your stack to async functions..."
That may not be practical for large code bases in transition to asyncio. The
Change by Jason Haydaman :
--
keywords: +patch
pull_requests: +6690
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33238>
___
___
Py
New submission from Jason McKellar :
If time.monotonic() is yielded from a generator that is passed to
asyncio.ensure_future a segfault occurs when it's scheduled.
The example below shows time.monotonic called in the generator, however the
segfault will also occur if a function is c
New submission from Jason Fried :
Looking at the typing Module docs in the section for ByteString
This type represents the types bytes, bytearray, and memoryview.
But collections.abc.ByteString does not have memoryview registered.
Is it because memoryview doesn't support .
New submission from Jason Spencer :
Objects with __str__ but WITHOUT __format__ are string-convertible and
default-to-str formattable. But the explicit use of '{:s}' as a format string
fails to format these objects as expected. Either it is no longer the case
that '{}&
Jason Spencer added the comment:
Then I would argue that it is at least a documentation bug. The 3.6 format
spec mini language still claims that {} is equivalent to {:s}, which now is
only conditionally true.
I would also argue that having different behavior for {} and {:s}, which
are
Jason Myers added the comment:
The attached file contains a simple test for this code to make sure the test
runner is being applied. I've never submitted anything before, so it might be
totally naive.
--
nosy: +jasonamyers
Added file: http://bugs.python.org/file31059/test.
Jason Killen added the comment:
Given I'm new I wouldn't say I "evaluated" the usefulness of the new functions
but I have given them a look and didn't see anything obvious. If thats good
enough great, if not then hopefully someone with a little more exp
Jason Tishler added the comment:
I offer the attached patch for consideration. AFAICT, only the Makefile.pre.in
and build_ext.py changes are required. I included the makesetup change for
completeness and to be consistent with the other changes.
--
keywords: +patch
nosy: +jlt63
New submission from Jason Tishler :
The Cygwin build is failing during make install -- specifically, during the
regen step:
[snip]
mkdir
/home/jt/src/cygwin/cygwin-packages/1.7/python3-test/python-3.2.3-1/src/Python-3.2.3/Lib/plat-cygwin
cp
/home/jt/src/cygwin/cygwin-packages/1.7/python3
Jason Tishler added the comment:
The problem is due to Cygwin's automatic ".exe" extension handling. See the
attached patch (i.e., code comment) for the details. Is this patch acceptable?
--
keywords: +patch
stage: -> patch review
type: -> behavior
Added file: h
Jason Spiro added the comment:
Just a few comments on your new UI design <http://i.imgur.com/415Y1.png>:
== Suggestion 1 ==
It seems, from your screenshot, that you plan to hide the [ Next > ]
and [ Cancel ] buttons, and show your [ Yes ] and [ No ] buttons
instead. This is doing
Jason Spiro added the comment:
I'm glad you're willing to consider using a checkbox. It seems to fit
better with the wizard paradigm, where there are always [ < Back ], [
Next > ], and [ Cancel ] buttons onscreen.
OK, I acknowledge that a lot of third-party software still dep
Jason Spiro added the comment:
Adding Python to the end of the PATH would very much help Windows
non-experts who don't even know what a PATH is.
IMO, when Python 3.4 comes out, it'd make sense add Python to the end
of the PATH by default. This'd help those non-experts a lot.
O
New submission from Jason Baker:
The following test will pass silently:
class SomeTest(unittest.TestCase):
def testSomething(self):
yield 1
self.fail()
--
components: None
messages: 167340
nosy: Jason.Baker
priority: normal
severity: normal
status: open
Jason Baker added the comment:
I can play this game too!
Since generator functions do nothing when used as a unittest test method, there
is no value in having a test method that is a generator function. Therefore,
it is an error to give a test method that is a generator function. Since it
Jason Baker added the comment:
Who expects this behavior? Can you give me an example of when someone would
rely upon a generator test to do nothing?
--
___
Python tracker
<http://bugs.python.org/issue15
Jason Baker added the comment:
I would like to verify this. Link the specification, and highlight where it
says that the expected behavior for a test method that is a generator function
is to do nothing.
--
___
Python tracker
<h
Changes by Jason Browne :
--
nosy: +cdspace
___
Python tracker
<http://bugs.python.org/issue21261>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jason Huntley added the comment:
I'm attempting to build Python-3.3.0 with mingw64. I get a minute or two into
the build and fail with this error:
./Include/pythonrun.h:178:1: warning: function declaration isn't a prototype [-W
strict-prototypes]
./Modules/getpath.c: In functi
Jason Huntley added the comment:
Finally! I was able to get all building on mingw64, gcc 4.7.2, and python 3.3.
I had to take everybody's work here a little further, and I have produced a new
patch which will build python33 using the latest minw64 compiler in an msys
environment.
I c
Jason Huntley added the comment:
Finally! I was able to get all building on mingw64, gcc 4.7.2, and python 3.3.
I had to take everybody's work here a little further, and I have produced a new
patch which will build python33 using the latest minw64 compiler in an msys
environment.
I c
Jason Huntley added the comment:
Hey Guys,
I've furthered the progress of the patch I've been working on. THis patch
builds Python3.3 in mingw64 & msys using gcc 4.7.2 compiler. This patch can
also enable and build the following modules:
ctypes
bz2
multiprocessing
sqlite3
ss
Changes by Jason Huntley :
Removed file: http://bugs.python.org/file28699/py3k-20121227-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Pytho
Jason Huntley added the comment:
Hey Guys,
I've furthered the progress of the patch I've been working on. THis patch
builds Python3.3 in mingw64 & msys using gcc 4.7.2 compiler. This patch can
also enable and build the following modules:
ctypes
bz2
multiprocessing
sqlite3
ss
New submission from Jason Alvarado:
http://docs.python.org/3.1/library/crypto.html
The link to A.M, Kuchling URL is broken
http://www.amk.ca/python/code/crypto.html
--
assignee: docs@python
components: Documentation
messages: 179758
nosy: Jason.Alvarado, docs@python
priority: normal
Jason Tishler added the comment:
> Is this still an issue on 3.3/3.4?
I presume so.
> Does the patch still work?
I haven't tried it on 3.3 yet, so I don't know if it will apply cleanly.
--
___
Python tracker
<http://bugs.py
New submission from Jason Stumpf:
>>> re.match('(a|ab)*',('aba')).group(0)
'a'
According to the documentation, the * should match as many repetitions as
possible. 2 are possible, it matches 1.
Reversing the order of the operands of | changes the b
Changes by Jason Stumpf :
--
components: +Regular Expressions
nosy: +ezio.melotti, mrabarnett
___
Python tracker
<http://bugs.python.org/issue19055>
___
___
Pytho
Jason Stumpf added the comment:
Even with the documentation to |, the documentation to * is wrong.
>>> re.match('(a|ab)*c',('abac')).group(0)
'abac'
>From the doc: In general, if a string p matches A and another string q matches
>B, the string pq w
Jason Stumpf added the comment:
Sorry, that implication was backwards. I don't think I can prove from just the
documentation that '(a|ab)*' can match 'aba' in certain contexts.
If the docs said: "* attempts to match again after each match of the preceding
r
Jason Stumpf added the comment:
I understand what's happening, but that is not what the documentation
describes. If the behaviour is correct, the documentation is incorrect.
--
___
Python tracker
<http://bugs.python.org/is
Jason Stumpf added the comment:
I like that clearer description. "as produce matches" is more correct than "as
possible".
--
___
Python tracker
<http://bug
New submission from Jason Yeo:
My university uses python to teach sorting algorithms. It will be great if the
turtledemo comes with a visualization of some of the algorithms. I have
attached a patch for it.
--
components: Demos and Tools
files: animation.diff
keywords: patch
messages
New submission from Jason Smestad:
In the Python 3.3.2 documentation in the section "6.2.1. Regular Expression
Syntax" subsection "(?aiLmsux)" it describes flags that are set by extention
notation. 6 of the flags are described in detail with links for each flag, but
Jason Stokes added the comment:
What issues are there with the implementation as it stands? I am happy to
contribute (as I need to code a base36 implementation myself, and it's
basically the same work) but it looks like the existing implementation is fine,
except possibly some people
New submission from Jason Bray:
Hello, I am working in an IT group, attempting to automate our management of
python. This issue applies to both Python 3.4 and Python 2.7.5 and Python 2.7.4
On a Windows machine (both 7 and 8.1 have been tested) when python msi's are
installed from the co
Jason Myers added the comment:
This is a patch based on terry.reedy 's suggestion
--
keywords: +patch
nosy: +Jason.Myers
Added file: http://bugs.python.org/file32514/docstring.patch
___
Python tracker
<http://bugs.python.org/is
Jason Yeo added the comment:
> Nothing much AFAIK, except that someone must be willing to maintain the code.
I wrote the code, I guess I should be the one maintaining this.
I am new to this, what must I look out for if I want to maintain t
Jason Tishler added the comment:
AFAICT, yes.
--
___
Python tracker
<http://bugs.python.org/issue2233>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jason Heeris:
As per issue 5701, the zipfile.ZipFile.read() method will throw a
NotImplementedError if the compression scheme is not supported. However, there
is no mention of this possibility in the documentation for the read() method. I
would suggest, say, "Calling
Jason Robinson added the comment:
I took the patches and verified that;
* running the new tests without the changed code in Lib/email/feedparser.py
(head) and Lib/httplib.py, Lib/rfc822.py (2.7) fails both the new tests.
* running the new tests with the changed code passes the tests (on both
Jason Robinson added the comment:
platform.linux_distribution is being deprecated in 3.5 and removed in 3.6 as
stated in comment http://bugs.python.org/issue1322#msg207427 in issue #1322
I'm guessing this issue should be closed when that patch is merged in?
--
nosy: +ja
Jason Robinson added the comment:
platform.linux_distribution is being deprecated in 3.5 and removed in 3.6 as
stated in comment http://bugs.python.org/issue1322#msg207427 in issue #1322
I'm guessing this issue should be closed when that patch is merged in?
--
nosy: +ezio.me
Jason Robinson added the comment:
Here is a patch that hopefully does what was intended. All the tests passed
locally, hopefully the tests we're adapted correctly to the new location of the
files. My first patch :)
I added a new "data" file 'doctest_DocFileSuite_test.txt&
Jason Heeris added the comment:
@Ezio
I am pretty sure it was read(). I couldn't submit the file I used as an
example, so I'll see if I can construct a minimal example to post here.
--
___
Python tracker
<http://bugs.python.o
Changes by Jason Heeris :
Added file: http://bugs.python.org/file36279/Scheme.zip
___
Python tracker
<http://bugs.python.org/issue22046>
___
___
Python-bugs-list mailin
Changes by Jason Heeris :
Added file: http://bugs.python.org/file36280/zftest.py
___
Python tracker
<http://bugs.python.org/issue22046>
___
___
Python-bugs-list mailin
Jason Heeris added the comment:
Okay, I've attached two files:
1. Scheme.zip, from issue 5701
2. "zftest.py", a script that you run in the same dir as "Scheme.zip" to
produce this:
$ python zftest.py
Extracting: 1!SCHEME.Z64
Traceback (most recent call last):
Fil
Jason Heeris added the comment:
Sorry, that was run with Python 2.7.5+ on Ubuntu.
--
___
Python tracker
<http://bugs.python.org/issue22046>
___
___
Python-bug
Jason Heeris added the comment:
> Python documentation never document all possible exceptions raised by a
> method.
No, but clearly *some* exceptions are documented, and presumably there's some
reasoning behind which are and aren't.
In this case, the NotImplemented error is
Jason Robinson added the comment:
Ezio, here are new versions of the patch. This time I used `hg mv` command to
move the files to the new location and then copied over the correct versions.
It does look though to me that there is no difference except timestamps.
I will upload also a --git
Jason Robinson added the comment:
Here is the `hg diff --git` patch.
Hope this one applies :)
--
Added file: http://bugs.python.org/file36303/issue15907_3.patch
___
Python tracker
<http://bugs.python.org/issue15
New submission from Jason Nadeau:
I found it was useful to me to calculate and return an IPv6Address instance of
the solicited multicast address for a particular IPv6Address. So I have created
patch to do so. I am pretty new to programming in general so critiques are
totally welcome
Changes by Jason Pellerin :
--
keywords: +patch
Added file: http://bugs.python.org/file14452/6418.patch
___
Python tracker
<http://bugs.python.org/issue6
New submission from Jason Tiller :
The example provided in section 28.5.4 (warnings) of the Standard
Library documentation fails. This example assumes that the context
manager instance ('w' in "warnings.catch_warnings(record=True) as w")
supplies a list of objects, each
Changes by Jason Montleon :
--
nosy: +xaoslaad
___
Python tracker
<http://bugs.python.org/issue6802>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jason Davies added the comment:
Note: in case I didn't make it clear, the fix is to remove the offending
try/except handler and let the broken pipe error propagate.
--
___
Python tracker
<http://bugs.python.org/i
New submission from Jason Davies :
I came across this bug when trying to use CouchDB-Python to PUT an
attachment using HTTP authentication (using the httplib2 library).
Essentially what httplib2 does is this:
1. Attempt PUT with no auth credentials
2. If a 401 response is received, try again
New submission from Jason Gervich :
The Shell menu is missing from the menu bar in the Edit Window of Ubuntu
Linux IDLE. It is described in the help but is not implemented. It is
there is the various windows versions I've seen.
Why is this missing and will it be fixed?
--
compo
Jason Gervich added the comment:
Thank you. I tried it from the command line and you are right. IDLE runs
with the Shell menu.
1.Do you know why this is being done in Ubuntu? That is, why are they
setting up the menu this way?
2. Is it a bug or a "feature?" Should be reported a an
New submission from Jason Gervich :
When sing IDLE in Ubuntu (Jaunty) if you open the Class Browser and
double click on a class or function name, the corresponding section is
highlighted in the code in the Editor Window.
If you again double click on another class or function name, the new
code
Jason Gervich added the comment:
Again, thanks for your prompt explanation.
It's odd, but when I went to use Ubuntu's menu modification tool, the
command displayed in the dialog didn't show the -n option.
But when I added the Python launcher to the panel and viewed the launch
Jason Kankiewicz added the comment:
I've attached a patch, based on the original, that will fix distutils
for both GCC and ICC.
--
nosy: +jkankiewicz
Added file: http://bugs.python.org/file14250/distutils-rpath-gcc_and_icc.patch
___
Python tr
Changes by Jason Kankiewicz :
Removed file: http://bugs.python.org/file14250/distutils-rpath-gcc_and_icc.patch
___
Python tracker
<http://bugs.python.org/issue1254
Jason Kankiewicz added the comment:
I've updated my patch to resemble the patch from issue1032 and also
because profiling showed that using str.__contains__ is more efficient
than using str.find.
--
Added file: http://bugs.python.org/file14251/distutils-rpath-gcc_and_icc.
Jason Kankiewicz added the comment:
Seo, This ticket specifies Python-2.6 as the only version so using "any"
didn't seem to be a problem.
I was not aware of PEP 291 until you mentioned it and, in order to
maintain compatibility with Python-2.3, the generator expression w
New submission from Jason Pellerin :
This changeset:
http://hg.python.org/cpython/rev/c3fb79d1c036
breaks nose, as it changes the behavior of unittest.TestProgram in a
non-backwards-compatible way. Previously, when called like:
TestProgram(testRunner=None)
self.testRunner would be None when
New submission from Jason Gross :
On attempting to open files with sufficiently long file names, python throws
IOError: [Errno 27] File too large. This is misleading, and perhaps should be
relabeled as 'File name too long.'
I have only tested this on unix with Python 2.5.2. This
Jason Williams added the comment:
I'd argue that since the recipient has little control over incorrect header
padding, the traditional approach with e-mail is to fix-up bad encoding...and
this ia bug.
--
___
Python tracker
<http://bugs.py
Changes by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<http://bugs.python.org/issue28147>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jason Curtis:
When a sentinel object from unittest.mock.sentinel is passed through a
multiprocessing.Pool.map, I expect it to still be comparable.
As a user, I'd like to be able to write a unit test using sentinels on my
unparallelized code, and then see that the
Jason Curtis added the comment:
sounds right; closing as a duplicate of issue20804
--
resolution: -> duplicate
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
New submission from Jason Matthew:
Fairly new to MSIs here. Working towards extracting the same information which
is available via Orca graphical interfaces.
I believe I've hit a bug within _msi.View class, namely the inability to safely
determine the number of records in my r
Jason Matthew added the comment:
Thanks for pointing that one out Berker. I agree, this is a dup.
--
resolution: -> duplicate
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
New submission from Jason Fried:
With large tar file extracts I noticed that tarfile was slower than it should
be. Seems in linux that for large files (10MB) truncate is not always a free
operation even when it should be a no-op. ex: File is already 10mb seek to end
and truncate.
I created
Jason Fried added the comment:
I ran this on Linux ext4. I didn't see much improvement on OSX with SSD.
--
Added file: http://bugs.python.org/file43139/test.py
___
Python tracker
<http://bugs.python.org/is
New submission from Jason Fried:
The default of 16k while good for memory usage it is not well suited for all
cases. if we increased this to 4MB we saw a pretty large improvement to tar
file creation and extraction on linux servers.
For a 1gb tar file containing 1024 random files each of 10MB
Changes by Jason Fried :
--
keywords: +patch
Added file: http://bugs.python.org/file43159/copybufsize.patch
___
Python tracker
<http://bugs.python.org/issue27
New submission from Jason Yu:
Hello all,
The official doc describes `Pool.map(func, iterable[, chunksize])` as "A
parallel equivalent of the map() built-in function.".
Since the function signature of `map` is `map(function, iterable, ...)`, I
hereby suggest that `Pool.map` sho
Changes by Jason Ward :
--
keywords: +patch
Added file: http://bugs.python.org/file29471/17470.patch
___
Python tracker
<http://bugs.python.org/issue17
Changes by Jason Ward :
--
nosy: +Jason.Ward
___
Python tracker
<http://bugs.python.org/issue17470>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jason Michalski :
--
keywords: +patch
Added file: http://bugs.python.org/file29802/cpython-3.3-17341.patch
___
Python tracker
<http://bugs.python.org/issue17
Changes by Jason Michalski :
Added file: http://bugs.python.org/file29803/cpython-2.7-17341.patch
___
Python tracker
<http://bugs.python.org/issue17341>
___
___
Python-bug
Jason Michalski added the comment:
I worked on a patch that allows NUL padding for longs, floats and complex
numbers. It seems NUL was being used as a sentinel in the format string parsing
when no padding character is given. It was then replaced with a space in each
call to fill_padding if it
New submission from Jason Gross:
Files opened on Windows in mode 'wb' have a limit on the number of characters
that can be written to them (at once?); attempting to write too many bytes
gives the confusing error “IOError: [Errno 22] Invalid argument”. See
http://support.mic
Jason Morawski added the comment:
Found another issue with this in 2.7
If the socket.error gets raised from the call to self.wfile.flush(), then when
self.wfile.close() is called, self.wfile.flush() is called a second time if
self.wfile._wbuf is not empty. This will raise the socket.error
Jason Sachs added the comment:
sample file attached containing VerbatimParser
--
Added file: http://bugs.python.org/file41496/test2.py
___
Python tracker
<http://bugs.python.org/issue26
New submission from Jason Sachs:
The HTMLParser class (https://docs.python.org/2/library/htmlparser.html) is
lacking a few features to reconstruct input exactly. For the most part it can
do this, but I found two items where it falls short (there may be others):
- There is a get_starttag_text
Jason Sachs added the comment:
sample file test1.html attached.
When running test2.py on it, the output is identical except for two things:
test1.html contains
test1b.html contains
test1.html contains end tags that are capitalized e.g. or have spaces
test1b.html contains end tags that
Changes by Jason Madden :
--
nosy: +jmadden
___
Python tracker
<http://bugs.python.org/issue25940>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from jason crockett:
if datetime.time(#blah) > datetime.time(#blah):
[a][b]
does nothing.. it doesnt raise an error. it doesnt run the if function even
though the printout of variables compared says it should.
22:15:00 [a]
16:00:00 [b]
True
22
New submission from Jason Erickson:
On both 64 and 32 bit Windows OSes, the 32bit version of Python 3.5 is unable
to install extensions created with the command:
setup.py bdist_wininst
To reproduce, install the 32bit version of Python 3.5 and run the .exe
installation for an extension, such
Jason Madden added the comment:
gevent has another simple reproducer for this. I do believe it's not gevent's
fault, the fault is in the standard library; SimpleHandler._write needs to loop
until `sent += self.stdeout.write(data)` is `len(data)`.
I have written up more on this
Jason Madden added the comment:
Django uses a `wsgiref.simple_server` to serve requests, which in turn uses
`socketserver.StreamRequestHandler` to implement its `WSGIRequestHandler`. That
base class explicitly turns off buffering for writes (`wbufsize = 0` is the
class default which gets
Jason Madden added the comment:
Is there an expected `self.stdout` implementation that doesn't return the
number of bytes it writes? `sys.stdout` does, as does `io.RawIOBase`. It
doesn't seem clear to me that practically speaking there's a compatibility
problem with req
Jason Madden added the comment:
`self.stdin` and `self.stderr` are documented to be `wsgi.input` and
`wsgi.errors`, which are both described as "file-like" objects, meaning that
the `write` method should return bytes written. It seems like the same could
reasonably be said to b
Jason Madden added the comment:
I'm sorry, I'm still not following the argument that `write` is likely to
return nothing. `RawIOBase` and `BufferedIOBase` both document that `write`
must return the number of written bytes; if you don't return that, you break
anything that ass
Jason Curtis added the comment:
This is still an issue with operator.attrgetter in 3.4.3, even after clearing
sys.modules['_operator']:
$ python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits
201 - 300 of 1863 matches
Mail list logo