As Chris said, if your needs are simple, use SQLite back-end. It's probably
already installed on your computer and Python has a nice interface to it in
its standard library. [1]
If you decide to use MySQL back-end instead, consider using PyMySQL [2].
It's compatible with both Python 2 and Python
Hi
Which one is most recommended to use for mutex alike locking to
achieve atomic access to single resource:
- fcntl.lockf
- os.open() with O_SHLOCK and O_EXLOCK
- https://pypi.python.org/pypi/lockfile/0.9.1
- https://pypi.python.org/pypi/zc.lockfile/1.1.0
- any other ?
Thanks
/Asaf
--
Another option is PyMySQL [1]. It's developed in the open at GitHub [2].
It's pure Python, compatible with both Python 2 and Python 3. It's DB-API 2
compliant. It also implements some non-standard bits that are present in
MySQLdb, in order to be compatible with legacy code, notably Django
Le dimanche 9 février 2014 06:17:03 UTC+1, Skybuck Flying a écrit :
However there is more... Python may lack some technical language elements
like, call by reference, and perhaps other low level codes, like 8 bit, 16
bit, 32 bit integers which play a roll with interfacing with
On Sun, Feb 9, 2014 at 9:20 PM, Marcel Rodrigues marcel...@gmail.com wrote:
As Chris said, if your needs are simple, use SQLite back-end. It's probably
already installed on your computer and Python has a nice interface to it in
its standard library.
Already installed? I thought the point of
Which one is most recommended to use for mutex alike locking to
achieve atomic access to single resource:
- fcntl.lockf
- os.open() with O_SHLOCK and O_EXLOCK
- https://pypi.python.org/pypi/lockfile/0.9.1
- https://pypi.python.org/pypi/zc.lockfile/1.1.0
- any other ?
As the author of
Forget to mentioned - CentOS 6.5 Python v3.3.
--
https://mail.python.org/mailman/listinfo/python-list
On Sunday, February 9, 2014 1:00:39 PM UTC+2, Skip Montanaro wrote:
Which one is most recommended to use for mutex alike locking to
achieve atomic access to single resource:
- fcntl.lockf
- os.open() with O_SHLOCK and O_EXLOCK
- https://pypi.python.org/pypi/lockfile/0.9.1
-
Running Python 2.6 and 2.7 on Windows 7 and Server 2012
Event::wait causes a delay when used with a timeout that is not triggered
because event is set in time. I don't understand why.
Can someone explain?
The following program shows this;
'''Shows that using a timeout in Event::wait (same for
I just checked in the Python sources and apparently you're right about
SQLite3. The Python distribution includes pysqlite which seems to be a
self-contained SQLite engine. No external dependencies. Sorry for the
confusion.
2014-02-09 9:00 GMT-02:00 Chris Angelico ros...@gmail.com:
On Sun, Feb
On Sun, Feb 9, 2014 at 11:04 PM, Marcel Rodrigues marcel...@gmail.com wrote:
I just checked in the Python sources and apparently you're right about
SQLite3. The Python distribution includes pysqlite which seems to be a
self-contained SQLite engine. No external dependencies. Sorry for the
Hi guys,
Here is one question related to algorithm.
Details here:
here is input sequence like a1,a2,...,an,b1,b2,...,bn ,the ax and bx always
exist in pair. So, now, how to change the sequence to a1,b1,...,an,bn, with
time complexity as O(n) and space as O(1).
Any comments will be
I have studied python(2.7.2) till classes. I have covered most of the the
general topics. But i do not know how to apply this. Can someone help me? I
want to make something that can aid me financially. If you have done something
like this please can you provide me with the resources and the
On Sunday, February 9, 2014 2:13:50 PM UTC+2, Wesley wrote:
Hi guys,
Here is one question related to algorithm.
Details here:
here is input sequence like a1,a2,...,an,b1,b2,...,bn ,the ax and bx always
exist in pair. So, now, how to change the sequence to a1,b1,...,an,bn, with
time
On Sun, Feb 9, 2014 at 11:13 PM, Wesley nisp...@gmail.com wrote:
here is input sequence like a1,a2,...,an,b1,b2,...,bn ,the ax and bx always
exist in pair. So, now, how to change the sequence to a1,b1,...,an,bn, with
time complexity as O(n) and space as O(1).
The two halves of the list are
On Sun, Feb 9, 2014 at 11:25 PM, Moz mozthe...@gmail.com wrote:
I have studied python(2.7.2) till classes. I have covered most of the the
general topics. But i do not know how to apply this. Can someone help me? I
want to make something that can aid me financially. If you have done
On Sunday, February 9, 2014 1:00:58 PM UTC+2, Chris Angelico wrote:
The biggest downside of SQLite3 is concurrency. I haven't dug into the
exact details of the pager system and such, but it seems to be fairly
coarse in its locking. Also, stuff gets a bit complicated when you do
a single
pep 257 -- docstring conventions, as well as a myriad of books and other
resources, recommend documenting a function's or method's effect as a command
(do this, return that), not as a description (does this, returns that).
what's the logic behind this recommendation?
bagratte
--
On Sunday, February 9, 2014 5:42:09 PM UTC+5, Chris Angelico wrote:
On Sun, Feb 9, 2014 at 11:25 PM, Moz mozthe...@gmail.com wrote:
I have studied python(2.7.2) till classes. I have covered most of the the
general topics. But i do not know how to apply this. Can someone help me? I
want
On Sunday, February 9, 2014 2:25:16 PM UTC+2, Moz wrote:
I want to make something that can aid me financially. If you have
done something like this please can you provide me with the resources
and the libraries so that i may study even further.
Thanks You!
you can try similar to this :
On Sun, Feb 9, 2014 at 11:47 PM, Asaf Las roeg...@gmail.com wrote:
i simply tested running 2 independent processes started at same time in
parallel towards same sqlite database and never get 2 in that row
though used exclusive lock on DB. might be i did something wrong.
The threading locks
On Sunday, February 9, 2014 3:14:50 PM UTC+2, Chris Angelico wrote:
On Sun, Feb 9, 2014 at 11:47 PM, Asaf Las r...@gmail.com wrote:
Thanks
Also, you're connecting and disconnecting repeatedly... oh, I see why
it didn't work when I tried. You're also using two completely
different
On Mon, Feb 10, 2014 at 12:27 AM, Asaf Las roeg...@gmail.com wrote:
i did it just to test sqlite3 behavior and actually test was related to
simulation of unique incremental sequence number/counter for
independently spawned tasks accessing counter in non deterministic manner.
Sure. I would
On 9 February 2014 12:13, Wesley nisp...@gmail.com wrote:
Hi guys,
Here is one question related to algorithm.
Details here:
here is input sequence like a1,a2,...,an,b1,b2,...,bn ,the ax and bx always
exist in pair. So, now, how to change the sequence to a1,b1,...,an,bn, with
time
On Sunday, February 9, 2014 5:54:16 PM UTC+5, Asaf Las wrote:
On Sunday, February 9, 2014 2:25:16 PM UTC+2, Moz wrote:
I want to make something that can aid me financially. If you have
done something like this please can you provide me with the resources
and the libraries so that i
On 2014-02-09 22:00, Chris Angelico wrote:
On Sun, Feb 9, 2014 at 9:20 PM, Marcel Rodrigues
marcel...@gmail.com wrote:
As Chris said, if your needs are simple, use SQLite back-end.
It's probably already installed on your computer and Python has a
nice interface to it in its standard
Please reply to the list rather than directly to me so that other
people can see the answer to my question and offer you help.
On 9 February 2014 14:04, Ni Wesley nisp...@gmail.com wrote:
2014年2月9日 下午9:41于 Oscar Benjamin oscar.j.benja...@gmail.com写道:
On 9 February 2014 12:13, Wesley
Yes, with no new list, otherwise, space won't to be O(1)
Wesley
2014年2月9日 下午10:31于 Oscar Benjamin oscar.j.benja...@gmail.com写道:
Please reply to the list rather than directly to me so that other
people can see the answer to my question and offer you help.
On 9 February 2014 14:04, Ni Wesley
In article mailman.6578.1391943647.18130.python-l...@python.org,
Skip Montanaro s...@pobox.com wrote:
Which one is most recommended to use for mutex alike locking to
achieve atomic access to single resource:
- fcntl.lockf
- os.open() with O_SHLOCK and O_EXLOCK
-
In article ae372652-0f1c-4d79-82db-a522eb592...@googlegroups.com,
Wesley nisp...@gmail.com wrote:
Hi guys,
Here is one question related to algorithm.
Details here:
here is input sequence like a1,a2,...,an,b1,b2,...,bn ï¼the ax and bx always
exist in pair. So, now, how to change the
On Sun, Feb 9, 2014 at 8:45 AM, Roy Smith r...@panix.com wrote:
This is true of all mutexes, no?
Hmmm... You might well be right. I thought that use of the O_EXLOCK
flag in the open(2) system call would prevent other processes from
opening the file, but (at least on my Mac) it just blocks until
Please don't top-post.
On Feb 9, 2014 2:40 PM, Ni Wesley nisp...@gmail.com wrote:
Yes, with no new list, otherwise, space won't to be O(1)
Did you read the link I posted:
http://en.wikipedia.org/wiki/In-place_matrix_transposition
Oscar
--
On 09/02/2014 10:47, wxjmfa...@gmail.com wrote:
Le dimanche 9 février 2014 06:17:03 UTC+1, Skybuck Flying a écrit :
However there is more... Python may lack some technical language elements
like, call by reference, and perhaps other low level codes, like 8 bit, 16
bit, 32 bit integers
On 09/02/2014 13:52, Moz wrote:
On Sunday, February 9, 2014 5:54:16 PM UTC+5, Asaf Las wrote:
On Sunday, February 9, 2014 2:25:16 PM UTC+2, Moz wrote:
I want to make something that can aid me financially. If you have
done something like this please can you provide me with the resources
Asaf Las roeg...@gmail.com:
Which one is most recommended to use for mutex alike locking to
achieve atomic access to single resource:
- fcntl.lockf
I recommend fcntl.flock:
#!/usr/bin/python3
import sys, fcntl, time
In article mailman.6584.1391950328.18130.python-l...@python.org,
bagrat lazaryan bagra...@live.com wrote:
pep 257 -- docstring conventions, as well as a myriad of books and other
resources, recommend documenting a function's or method's effect as a command
(do this, return that), not as a
On 09/02/2014 12:05, bagrat lazaryan wrote:
pep 257 -- docstring conventions, as well as a myriad of books and other resources, recommend documenting a function's
or method's effect as a command (do this, return that), not as a description (does
this, returns that). what's the logic behind
Mark Lawrence writes:
On 09/02/2014 12:05, bagrat lazaryan wrote:
pep 257 -- docstring conventions, as well as a myriad of books and
other resources, recommend documenting a function's or method's
effect as a command (do this, return that), not as a
description (does this, returns that).
Hi
Thanks for replies. It would be good to have blocking implementation.
I have to check fcntl if it works in blocking mdoe on CentOS.
Meanwhile there is Posix Semaphore made for Python:
http://semanchuk.com/philip/posix_ipc/
will try it as well.
/Asaf
--
On Sun, Feb 9, 2014 at 5:52 PM, Roy Smith r...@panix.com wrote:
In article mailman.6584.1391950328.18130.python-l...@python.org,
bagrat lazaryan bagra...@live.com wrote:
pep 257 -- docstring conventions, as well as a myriad of books and other
resources, recommend documenting a function's or
On 02/09/2014 08:52 AM, Roy Smith wrote:
In article mailman.6584.1391950328.18130.python-l...@python.org,
bagrat lazaryan bagra...@live.com wrote:
pep 257 -- docstring conventions, as well as a myriad of books and other
resources, recommend documenting a function's or method's effect as a
On 2/9/2014 7:05 AM, bagrat lazaryan wrote:
pep 257 -- docstring conventions, as well as a myriad of books and other resources, recommend documenting a function's
or method's effect as a command (do this, return that), not as a description (does
this, returns that). what's the logic behind
Dear List,
What is the latest best-practice for deploying a python wsgi
application into production?
For development, I've been using CherryPyWSGIServer which has been
working very well (and the code is small enough to actually ship with
my application). But I would like some way of deploying a
I started Python programming in the last few years and so I started with
version 3 and 99% of my code is in version 3.
Much of Google API Python code seems to be Python 2. I can convert the
occasional file to version 3 with 2to3, but for an entire 3rd-party
library, could it be as simple as
On Sun, 09 Feb 2014 04:13:50 -0800, Wesley wrote:
Hi guys,
Here is one question related to algorithm.
Details here:
here is input sequence like a1,a2,...,an,b1,b2,...,bn ,the ax and bx
always exist in pair. So, now, how to change the sequence to
a1,b1,...,an,bn, with time complexity as
On Sunday, February 9, 2014 11:05:58 PM UTC+2, Nicholas wrote:
Dear List,
What is the latest best-practice for deploying a python wsgi
application into production?
For development, I've been using CherryPyWSGIServer which has been
working very well (and the code is small enough to
On Mon, Feb 10, 2014 at 2:40 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
Any opinion on Firebird? Just curiosity given how often the advice
seems to be start with SQLite, avoid MySQL, end with PostgreSQL
No, because I've never used it. Has anyone here? What are its
strengths and
On Mon, Feb 10, 2014 at 1:45 AM, Roy Smith r...@panix.com wrote:
In article mailman.6578.1391943647.18130.python-l...@python.org,
Skip Montanaro s...@pobox.com wrote:
As the author of lockfile, I can tell you it only implements advisory
locking. All programs needing to access the locked
On Mon, Feb 10, 2014 at 4:53 AM, Ethan Furman et...@stoneleaf.us wrote:
Shouldn't that be:
class Pig:
def fly(self):
Soar gracefully through the air if a hot place is very cold.
if hell is frozen:
self.sprout_wings()
self.altitude += 10
On Sunday, 9 February 2014, Asaf Las
roeg...@gmail.comjavascript:_e(%7B%7D,'cvml','roeg...@gmail.com');
wrote:
On Sunday, February 9, 2014 11:05:58 PM UTC+2, Nicholas wrote:
Dear List,
What is the latest best-practice for deploying a python wsgi
application into production?
For
On Sun, 09 Feb 2014 16:05:59 +0400, bagrat lazaryan wrote:
pep 257 -- docstring conventions, as well as a myriad of books and other
resources, recommend documenting a function's or method's effect as a
command (do this, return that), not as a description (does this,
returns that). what's the
On Sun, 09 Feb 2014 10:05:02 -0500, Roy Smith wrote:
Is this a homework problem?
and then (paraphrasing):
working code that solves the problem
/headdesk
--
Steven
--
https://mail.python.org/mailman/listinfo/python-list
I am fully ready to invest in the Google Cloud Platform, and bring with me my
very own idea: Glass Solver (Sometimes called GlaSolver). Long story short,
this application for Google Glass will connect to the Cloud to retrieve God's
Algorithm for the cube sitting in front of you by doing a
In article 52f80bca$0$29972$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Sun, 09 Feb 2014 10:05:02 -0500, Roy Smith wrote:
Is this a homework problem?
and then (paraphrasing):
working code that solves the problem
/headdesk
I
PyExt is a set of nifty(and sometimes either overly hackish, overly
dangerous, or overly both) extensions to Python. It has things like a
switch statement, runtime module creation, function overloading(does NOT
work with class methods...yet), and more!
Links:
PyPI:
在 2014年2月9日星期日UTC+8下午11时48分17秒,Oscar Benjamin写道:
Please don't top-post.
On Feb 9, 2014 2:40 PM, Ni Wesley nis...@gmail.com wrote:
Yes, with no new list, otherwise, space won't to be O(1)
Did you read the link I posted:
http://en.wikipedia.org/wiki/In-place_matrix_transposition
here is input sequence like a1,a2,...,an,b1,b2,...,bn ,the ax and bx always
exist in pair. So, now, how to change the sequence to a1,b1,...,an,bn, with
time complexity as O(n) and space as O(1).
The two halves of the list are already sorted, yes?
[Wesley] No, not sorted yet..
--
Also I should mention that I will credit whomever writes the scripts. I have
contacted Google on their Compute Engine which would execute these scripts. I
am await a reply!
--
https://mail.python.org/mailman/listinfo/python-list
[Wesley] This is not homework:-)
And actually I am new to algorithm, so you guys can feel free to say anything
you want
--
https://mail.python.org/mailman/listinfo/python-list
eliasbylar...@gmail.com Wrote in message:
Also I should mention that I will credit whomever writes the scripts. I have
contacted Google on their Compute Engine which would execute these scripts. I
am await a reply!
It might help if you mention that you're talking about the Rubic
cube,
Wesley nisp...@gmail.com Wrote in message:
here is input sequence like a1,a2,...,an,b1,b2,...,bn ï¼the ax and bx
always exist in pair. So, now, how to change the sequence to
a1,b1,...,an,bn, with time complexity as O(n) and space as O(1).
The two halves of the list are already
On Feb 8, 2014, at 11:30 PM, Chris Angelico ros...@gmail.com wrote:
I have one more question on this if you don’t mind. I’m a bit confused on how
it works this way without it being in seconds? I’ll answer below each step of
how it seems to work to me.
How to do it from the small end up:
On Feb 8, 2014, at 11:30 PM, Chris Angelico ros...@gmail.com wrote:
OH, I think I figured it out.
time = int(raw_input(Enter number of seconds: “))
100
seconds = time % 60
Remainder of 40 - for seconds.
time /= 60
Here you take 100/60 = 1 (which = time for the next line).
On Mon, Feb 10, 2014 at 3:17 PM, Scott W Dunning swdunn...@cox.net wrote:
How to do it from the small end up:
time = int(raw_input(Enter number of seconds: ))
seconds = time % 60
So here it takes say 100 and divides it by 60 to put in seconds and
spits out the remainder? 100 / 60
On Mon, Feb 10, 2014 at 3:31 PM, Scott W Dunning swdunn...@cox.net wrote:
I guess I answered my own question and it looks like it wouldn’t matter if
you did it opposite from weeks to seconds.
Yep, you've got it!
Remember, you can always try things out in the interactive interpreter
to see
Terry J. Reedy added the comment:
Some issues that I think of off the top of my head, without looking into the
details of the code.
0. I am not sure how I would use this. I am thus not sure why I might push
this, especially given that there are a hundred other Idle issues, many with
patches
Charles-François Natali added the comment:
Should be fixed now.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20065
Paul Moore added the comment:
I had not noticed that, but yes. It would be unreasonable on Windows to install
pip3 and pip3.4 but not plain pip. So +1 on this change.
(In fact, on Windows, omitting the versioned names would conform more closely
to how Python is installed, but it's not
Larry Hastings added the comment:
Here's a first cut at a patch. With this applied Python passes the whole test
suite.
I was surprised at how ticklish the OSError object was about adding a fifth
member, with this weird exception tuples can only have two members policy.
But test_exceptions
Larry Hastings added the comment:
Marking as closed and opening a new issue as per Serhiy's suggestion.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Larry Hastings:
The Windows buildbots are currently broken due to a codec issue. I populated
the nosy list based on the unicode experts from the Experts Index.
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/4040
test_streamreaderwriter
Larry Hastings added the comment:
Note that this appears to be in Windows-specific code (CP_UTF8), rather than
being cross-platform code which happens to only fail on Windows. So we need
someone who does both Windows and Unicode.
--
___
Python
Changes by Serhiy Storchaka storch...@gmail.com:
--
components: +Unicode, Windows
nosy: +doerwalter, lemburg, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20571
___
Larry Hastings added the comment:
Use #3.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20283
___
___
Python-bugs-list mailing list
Larry Hastings added the comment:
pattern should be keyword-only, and if used the function should generate a
DeprecationWarning.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20283
___
Dmitry Shachnev added the comment:
Thank you for committing this!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14983
___
___
Python-bugs-list
Larry Hastings added the comment:
Added a test checking that the error messages show up properly.
--
assignee: - larry
stage: needs patch - patch review
Added file: http://bugs.python.org/file34005/larry.oserror.add.filename2.2.diff
___
Python
Serhiy Storchaka added the comment:
Could you try test_ttk_guionly after test_all, test_builtins, test_tcl? If the
issue is not reproduced, try to use binary search: divide the tests before
test_ttk_guionly on to parts, and run tests with one half, then with other.
Repeat until found the
Serhiy Storchaka added the comment:
Unfortunately this patch doesn't fix issue19021. Popen.__del__ is called when
whiping the idlelib.rpc module which was collected in a weaklist. But the
builtins module also was collected in a weaklist and wiped before idlelib.rpc.
Here is revised patch
New submission from Giampaolo Rodola':
http://hg.python.org/cpython/file/29d9638bf449/Lib/subprocess.py#l1144
This was introduced in revision 6b627e121573 and is currently not documented.
I'm not sure whether this is a documentation issue or endtime should have
been _endtime instead.
STINNER Victor added the comment:
It looks to be related to changeset e988661e458c5402c0236cd1084a8671249a760d
Issue #20538: UTF-7 incremental decoder produced inconsistant string when
input was truncated in BASE64 section.
--
___
Python tracker
Giampaolo Rodola' added the comment:
Sorry: revision a161081e8f7c.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20572
___
___
Python-bugs-list
Larry Hastings added the comment:
Serhiy said on IRC that he doesn't have a Windows development environment, so
he didn't think he could help.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20571
Serhiy Storchaka added the comment:
UTF-7 decoder is not related to this test.
The test_readline test was broken from the born, and a part of this test was do
nothing. After fixing it in issue20520, new bugs were exposed: issue20538 and
this. This bug was hidden until fixing issue20538.
Note
Serhiy Storchaka added the comment:
Threading and subprocess tests also evoke a suspicion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20567
___
Ned Deily added the comment:
$ /usr/local/bin/python3.3 -m test -w -uall test_idle test_ttk_guionly
[1/2] test_idle
[2/2] test_ttk_guionly
can't invoke event command: application has been destroyed
while executing
event generate $w ThemeChanged
(procedure ttk::ThemeChanged line 6)
STINNER Victor added the comment:
The test tries to decode a partial UTF-8 bytes string. The problem is that
codecs.code_page_decode() doesn't implement fully partial decoders. The decoder
only supports partial decoding for a few code pages: 932, 936, 949, 950, and
1361. The partial decoding
Changes by Ned Deily n...@acm.org:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20567
___
___
Python-bugs-list mailing
New submission from Vladimir Rutsky:
http://docs.python.org/2/library/repr.html page contains several links on
built-in function `repr()` (search for built-in repr() on page), but links
goes to `Repr.repr()` functions of `Repr` module instead of
Changes by Ned Deily n...@acm.org:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20567
___
___
Python-bugs-list mailing
Ned Deily added the comment:
The combination of just test_idle followed by test_ttk_guionly also produces
the application has been destroyed messages on Debian Linux and when run from
a build directory (e.g. not installed) and with 2.7, 3.3, and default.
--
title: test_ttk_guionly
Changes by Ned Deily n...@acm.org:
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20573
___
Roundup Robot added the comment:
New changeset 6b10943a5916 by Serhiy Storchaka in branch '2.7':
Issue #20437: Fixed 43 potential bugs when deleting objects references.
http://hg.python.org/cpython/rev/6b10943a5916
New changeset 6adac0d9b933 by Serhiy Storchaka in branch '3.3':
Issue #20437:
Roundup Robot added the comment:
New changeset 4f6499fc2f09 by Victor Stinner in branch 'default':
Issue #20571: skip test_readline() of test_codecs for Windows code page 65001.
http://hg.python.org/cpython/rev/4f6499fc2f09
--
nosy: +python-dev
___
Serhiy Storchaka added the comment:
_send_bytes() now looks a little complicated.
There are no need in separate branches for n==0. header + buf where buf is b''
is fast (it is not slower than additional check n 0). So this
microoptimization is not needed.
The chunks list is not needed, we
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: rejected - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20540
___
___
Serhiy Storchaka added the comment:
Are *WithUnicodeFilenames() functions needed? Py_UNICODE API considered as
deprecated and there is no need to support compatibility with older versions.
--
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
There aren't any deprecation warnings in the code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20517
___
Serhiy Storchaka added the comment:
http://docs.python.org/3/c-api/unicode.html#deprecated-py-unicode-apis
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20517
___
Jeroen Ruigrok van der Werven added the comment:
Nick et al,
currently trying b3 and using the bundled pip (1.5.2) to update the bundled
setuptools from 2.1 to 2.2 on Windows 7 and I get the following. Any idea if
this is still an issue with the newer versions (and thus might be relevant to
1 - 100 of 153 matches
Mail list logo